The Insanity of Relying on Vector Embeddings: Why RAG Fails
Wrong Tool for the Job
RAG fails in production because vector embeddings are the wrong choice for determining percentage of sameness. This is easily demonstrated. Consider the following three words:
King
Queen
Ruler
King and ruler can refer to the same person (and are thus considered synonyms). But king and queen are distinctly different people. From the perspective of percentage of sameness, king/ruler should have a high score and king/queen should be literally zero.
In other words, if the query is asking something about a “king” then chunks discussing a “queen” would be irrelevant; but chunks discussing a “ruler” might be relevant. Yet, vector embeddings consider “queen” to be more relevant to a search on “king” than “ruler.” Here are the vector similarity scores for queen and ruler when compared to king using OpenAI’s ADA-002 embeddings:
King
Queen: 92%
Ruler: 83%
Reranking
Reranking is perhaps the most recommended Advanced RAG strategy. However, as the RankRAG study shows, even using a fine-tuned model for reranking only results in a 54.2 score on EN.QA. Using general reranking models had an even worse score.
GraphRAG and Knowledge Graphs
A recent study on KG-RAG (RAG enhanced with Knowledge Graphs) showed an F1 score of 25% and an accuracy of 32% for CWQ dataset. Interestingly, Knowledge Graph RAG had a lower accuracy than regular embedding RAG (which had a 46% accuracy).
Real-World vs Hype
There simply is no study showing that vector embeddings, combined with dozens of Advanced RAG techniques, results in a reliable chatbot in production environments containing numerous documents. Moreover, the added latency of many Advanced RAG techniques makes them impractical for real-world chatbots—irrespective of the accuracy issue.
But even if larger models could overcome the problem, they would be slower and more expensive. In other words, they’d be too slow and too expensive for any practical purpose. Would companies pay more for a chatbot than for a person, when the chatbot would require up to a minute for each unreliable answer?
That’s the actual state of RAG. That’s the actual outcome of relying on vector embeddings.
Lines of inquiry this paper opens 24
Research framings built by reading the notes related to this paper — the questions it feeds into.
What structural factors drive popularity bias in recommendation systems? Why do semantic similarity and task relevance diverge in vector embeddings?- What makes dot product efficient for real-time retrieval over millions of items?
- Why does visual similarity retrieval fail for embodied agents?
- Can contrastive learning fix the semantic association problem in embeddings?
- What mathematical limits constrain embedding-based retrieval systems?
- Why do pretrained LLM representations fail at task-specific relevance ranking?
- How does embedding dimension affect which documents can rank together?
- Can embedding-based retrieval alone solve the causal relevance problem?
- Why do embeddings measure semantic association instead of task relevance?
- What makes vector embeddings fail on single-hop semantic relevance queries?
- When is vector embedding retrieval actually faster and cheaper than graph databases?
- When should relational graph traversal replace vector embedding retrieval?
- Why do dual-encoder embeddings fail to capture task-relevant recommendations despite semantic similarity?
- Why do vector embeddings fail for sequential procedural retrieval tasks?
- Why do semantic similarity and task relevance diverge in vector search results?
- Can task-aware ranking replace similarity scoring in other RAG systems?
- How do pseudo-relevance labels enable training without ground truth relevance judgments?
- Can temporal ranking improve retrieval without modifying the underlying video model?
- How does structure-aware retrieval routing differ from existing graph-versus-vector RAG tradeoffs?
- How should enterprises choose between graph and vector approaches for RAG?
- Can explicit linkers replace vector similarity for multi-step question answering?
- When should you use knowledge graphs instead of semantic vector retrieval systems?