Hybrid Retrieval (2024) › The Problem
History of Language AIAll chapters Hybrid Retrieval (2024) › The ProblemOne section · Sections in this chapter2 / 7 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
The information retrieval field had reached a point where both sparse and dense retrieval methods had demonstrated their value, but each faced fundamental limitations that made them inadequate as complete solutions. Sparse retrieval methods like BM25 operated on exact term matching and inverse document frequency statistics, enabling fast retrieval with interpretable scoring that could be understood and debugged by practitioners. These systems excelled at scenarios requiring precise keyword matching, rare term retrieval, and tasks where specific entities or technical terms needed to appear in retrieved documents. However, sparse methods struggled fundamentally with semantic variation and synonymy, especially when a query required meaning rather than exact word matching. A query about "automobile accidents" might not match documents discussing "car crashes" unless both terms appeared explicitly, creating gaps in retrieval coverage that limited system effectiveness.
Dense neural retrieval methods addressed these semantic limitations by learning vector representations that captured meaning relationships between queries and documents. Systems like Dense Passage Retrieval could match queries to documents based on semantic similarity, enabling retrieval of relevant content even when different terminology was used. This semantic understanding proved particularly valuable for question answering, where queries might use different words than the documents containing answers. However, dense methods faced practical challenges that limited their adoption as standalone solutions. The computational requirements for encoding queries and documents with neural networks were significantly higher than sparse retrieval, creating latency and cost concerns for real-time applications. Dense methods also struggled with exact matching scenarios where sparse methods excelled, such as retrieving documents containing specific entity names, technical terms, or phrases that needed to match precisely.
Sparse methods excel at exact keyword matching and fast candidate generation, while dense methods excel at semantic understanding and meaning-based retrieval. Their complementary capabilities made them natural partners in hybrid systems.
The computational cost of dense retrieval created significant barriers for production deployment, particularly for systems that needed to process millions of queries per day or maintain strict latency requirements. Encoding each query required a forward pass through a neural network, and encoding large document collections required substantial computational resources during indexing and updates. The memory requirements for storing dense embeddings were also higher than sparse representations, particularly for large document collections. These costs made dense retrieval impractical for many applications that needed to balance retrieval quality with efficiency and cost considerations.
Beyond computational concerns, dense retrieval methods faced challenges with interpretability and explainability that limited their adoption in domains requiring transparency. The dense vector representations used by neural retrieval systems were high-dimensional embeddings that captured complex semantic relationships, but these relationships were difficult to explain or interpret. When a dense retrieval system ranked a document highly, it was challenging to understand why that ranking occurred or which aspects of the query and document led to the similarity score. This lack of interpretability created problems for applications requiring transparency, such as search results that needed to be explained to users or ranked for regulatory compliance.
The latency requirements of real-time retrieval applications created another fundamental challenge for dense methods. Sparse retrieval systems could process queries in milliseconds using fast inverted index lookups, while dense retrieval required neural network inference that took significantly longer. For applications with strict latency requirements, such as web search or real-time question answering, the additional latency from dense retrieval could be prohibitive, even if it improved retrieval quality. This latency concern made dense methods difficult to deploy as the sole retrieval mechanism in production systems that needed to respond quickly to user queries.
There was also a deeper problem with how retrieval systems handled diverse query types and user intents. Some queries required exact keyword matching, such as queries for specific product names, technical terms, or entities that needed precise matches. Other queries required semantic understanding, such as queries asking conceptual questions or seeking information about topics that might be expressed using different terminology. A single retrieval approach that optimized for one type of query might underperform on the other, creating a fundamental tradeoff that limited system effectiveness. The field needed retrieval systems that could handle both exact matching and semantic similarity, adapting to different query types and user needs effectively.
The limitations of both sparse and dense methods created a situation where practitioners faced difficult choices. Using sparse retrieval alone provided fast, interpretable results but missed semantically relevant content. Using dense retrieval alone provided semantic understanding but at higher computational cost and latency. Neither approach could adequately address all the requirements of modern retrieval applications, which needed to balance multiple objectives including quality, efficiency, latency, and interpretability. The field needed retrieval systems that combined the strengths of both approaches while mitigating their weaknesses, creating solutions that were more effective than either approach alone.