Abstract
Using large language models (LMs) for query or document expansion can improve generalization in information retrieval. However, it is unknown whether these techniques are universally beneficial or only effective in specific settings, such as for particular retrieval models, dataset domains, or query types. To answer this, we conduct the first comprehensive analysis of LM-based expansion. We find that there exists a strong negative correlation between retriever performance and gains from expansion: expansion improves scores for weaker models, but generally harms stronger models. We show this trend holds across a set of eleven expansion techniques, twelve datasets with diverse distribution shifts, and twenty-four retrieval models. Through qualitative error analysis, we hypothesize that although expansions provide extra information (potentially improving recall), they add additional noise that makes it difficult to discern between the top relevant documents (thus introducing false positives). Our results suggest the following recipe: use expansions for weaker models or when the target dataset significantly differs from training corpus in format; otherwise, avoid expansions to keep the relevance signal clear.
Introduction
Generative query and document expansion using Large Language Models (LLMs) has emerged as a promising technique to improve generalization in information retrieval (IR). By adding predicted relevant terms or context, these methods aim to bridge the gap between user queries and document corpora, particularly under distribution shifts. However, the IR community has lacked a clear understanding of whether these techniques are universally beneficial. This study provides the first comprehensive analysis of LM-based expansion failure modes across a wide array of models and datasets.
Methodology
The researchers conducted a massive empirical study across three dimensions: 11 expansion techniques (including HyDE, Doc2Query, and Chain-of-Thought), 24 retrieval models (ranging from bi-encoders like DPR to large cross-encoders like MonoT5-3B), and 12 diverse datasets representing various shifts (in-domain, domain, relevance, and format shifts). To manage computational costs, the study utilized a zero-shot reranking setup on the top 100 documents retrieved by a baseline.
Key Findings
The Inverse Gain Rule
A primary finding is the "Inverse Gain" rule: a strong negative correlation exists between a model's baseline effectiveness and the performance delta after expansion. While weaker models see massive improvements—for instance, a basic DPR model on TREC DL 2019 gained +10.8 points—state-of-the-art rankers often suffer. The MonoT5-3B reranker saw a drop of -5.0 points on the same dataset. This trend holds regardless of model architecture.
The Precision-Recall Trade-off
Qualitative error analysis suggests that while expansions can improve recall by providing more potential matches, they simultaneously introduce "hallucinated" noise. For high-precision models, this noise dilutes the original relevance signal, leading to the selection of false positives. In a manual review of 30 failure cases, 28 were caused by expansions adding irrelevant terms that led the ranker to prefer false positives.
Exceptions and Format Shifts
The notable exception to the inverse gain rule is the "Long Query Shift" (e.g., the ArguAna dataset). In these cases, LLMs act as effective summarizers, transforming complex, document-like queries into a format more digestible for retrievers. Even the powerful MonoT5-3B saw a significant boost of +15.8 points on ArguAna using HyDE expansion.
Conclusion
Generative expansion is a powerful tool for boosting weaker retrievers or handling specific format shifts. However, for high-performing models on standard tasks, the added noise often outweighs the benefits. The study suggests a practical recipe: use expansions for weaker models or when the target dataset significantly differs from the training corpus in format; otherwise, avoid expansions to keep the relevance signal clear. Future research should focus on "selective expansion" strategies that can dynamically determine when a query warrants additional generative context.
Summary updated