Abstract
Neural information retrieval (IR) models have significantly advanced the state-of-the-art by capturing semantic nuances. However, their performance often degrades in zero-shot, out-of-domain scenarios. This study investigates the "lexical gap"—the failure of neural models to match exact, highly discriminative query terms. By introducing a diagnostic framework based on the Robertson-Sparck Jones (RSJ) weight, we quantify how neural retrievers systematically underestimate the importance of rare or unseen terms compared to traditional lexical models like BM25. Our findings reveal a clear hierarchy: dense retrievers exhibit the most significant lexical matching deficiencies, while sparse and interaction-based models offer partial improvements but still struggle with domain-specific terminology.
Introduction
The transition from lexical models (e.g., BM25) to neural retrievers (e.g., BERT-based models) has redefined search. While neural models excel at in-domain tasks where they can leverage learned semantic patterns, they frequently falter when applied to specialized domains like medicine or finance. This paper addresses whether this failure stems from a fundamental inability to perform basic lexical matching—identifying and prioritizing the most important words in a query.
Methodology: Measuring the Lexical Gap
To diagnose this behavior, the researchers utilized the Robertson-Sparck Jones (RSJ) weight, a classic metric representing a term's ability to distinguish relevant from non-relevant documents. Two variants were compared:
- User RSJ ($RSJ_{U}$): The "ground truth" importance of a word, calculated using known relevant documents.
- System RSJ ($RSJ_{S}$): The importance the model assigns to a word, inferred from its top-retrieved results.
The difference, $\Delta RSJ = RSJ_{S} - RSJ_{U}$, serves as a metric for lexical alignment. A negative $\Delta RSJ$ indicates that the model underestimates a term's importance, effectively "ignoring" words that a human user would consider crucial.
The Underestimation Trend
Analysis across various models—including dense retrievers (Bi-encoders, TAS-B), interaction models (ColBERT), and sparse models (SPLADE)—reveals a consistent trend: neural models systematically underestimate high-impact query terms.
As shown in Figure 1, while BM25 tends to slightly overestimate term importance (positive $\Delta RSJ$), neural models exhibit increasingly negative $\Delta RSJ$ as the true importance ($RSJ_U$) of a term grows. This effect is most pronounced in dense retrievers and becomes significantly worse in out-of-domain (OOT) settings.
Out-of-Domain Performance and the "Unseen" Penalty
The lexical matching deficit is particularly acute for terms that were rare or absent during the model's training (e.g., on MS MARCO). In specialized datasets like TREC-COVID and FiQA-2018, neural models fail to recognize that rare technical terms are often the most discriminative.
Figure 2 illustrates that for high-importance, high-frequency (IDF+) terms in out-of-domain datasets, neural models show a substantial negative $\Delta RSJ$. This suggests that these models learn a "vocabulary of importance" tied to their training data rather than a generalizable strategy for lexical matching. Consequently, when a model encounters a term like "legionella" for the first time, it lacks the mechanism to prioritize it over more common, less relevant context words.
Conclusion
This research highlights a critical bottleneck in neural IR: the systematic underestimation of lexical importance. While sparse and interaction models like SPLADE and ColBERT mitigate some of these issues by incorporating term-level signals, they still lag behind BM25 in zero-shot lexical matching. Future work must focus on bridging this gap, developing architectures that can balance deep semantic understanding with the robust, exact-matching capabilities of traditional IR systems.
Summary updated