Revisiting Feedback Models for HyDE

Nour Jedidi, Jimmy LinarXiv 2025 · DOI

Abstract

While the popular HyDE (Hypothetical Document Embeddings) method typically relies on simple string concatenation to expand search queries, this research demonstrates that "old-school" relevance feedback models like Rocchio and RM3 are significantly more effective. By systematically filtering and weighting LLM-generated terms, these traditional algorithms boost retrieval accuracy by up to 6% on low-resource datasets. This paper revisits classic Information Retrieval (IR) principles to optimize modern LLM-driven search pipelines.

Introduction: The Vocabulary Gap

In Information Retrieval (IR), the "vocabulary gap" remains a fundamental challenge: a user might search for "cardiovascular health" while a highly relevant document uses the term "heart disease." Historically, Pseudo-Relevance Feedback (PRF) addressed this by using top-ranked documents from an initial search to expand the original query.

HyDE (Hypothetical Document Embeddings) revolutionized this approach by using a Large Language Model (LLM) to generate a hypothetical answer to the query, which is then used for expansion. However, most HyDE implementations simply concatenate the query and the LLM's output. This study argues that such an approach is suboptimal and explores whether the rigorous term-weighting math developed in the 1970s and 2000s can improve HyDE's performance.

Methodology

The researchers compared the standard "concatenate everything" approach against three classic IR feedback models applied to HyDE-generated content:

  1. Average Vector: A baseline treating the query and LLM expansions as equal parts of a single bag-of-words vector.
  2. Rocchio Algorithm: A classic (1971) method using parameters ($\alpha$ and $\beta$) to balance the original query and feedback terms, allowing the system to prioritize the user's original intent over the LLM's expansion.
  3. RM3: A probabilistic relevance model that calculates the likelihood of a term appearing in a relevant document and interpolates it with the query.

A critical component of this pipeline is Term Selection. Instead of using the entire LLM output, the authors filter out common corpus terms (appearing in >10% of documents) and retain only the top 128 most informative terms.

Experimental Setup

The approach was evaluated across 14 diverse retrieval datasets:

  • MS MARCO (v1 & v2): Large-scale web search datasets from TREC Deep Learning tracks (2019–2023).
  • BEIR Benchmark: A collection of 9 specialized datasets covering domains such as COVID-19 research, financial QA (FiQA), and legal/argument retrieval (ArguAna).

Key Results and Insights

Table 1: Comparison of retrieval performance across MS MARCO and BEIR datasets using different feedback models for HyDE.

The Superiority of Rocchio

Across all tested LLMs (Qwen and GPT-based), HyDE with Rocchio consistently outperformed other methods. As shown in the performance table, Rocchio improved HyDE's effectiveness by an average of 1.4 points (4.2%) over the best-performing concatenation baseline. In low-resource BEIR datasets, the improvement was even more significant, reaching 2.2 points (6%).

Noise Reduction and Query Primacy

  • Noise is the Enemy: LLMs are often verbose. Adding a term selection phase to filter noisy or overly common words resulted in a substantial performance jump (2.3 to 3.1 points) compared to naive concatenation.
  • The "Query is King" Principle: The Rocchio model's success stems from its ability to weight the original query more heavily, preventing search "drift" caused by potential LLM hallucinations.
  • Robustness in the Long Tail: While simple concatenation is adequate for massive datasets like MS MARCO, traditional feedback models prove much more robust in specialized or data-scarce domains.

Conclusion and Future Work

This study confirms that using an LLM to generate feedback terms is consistently more effective than traditional PRF methods. Furthermore, applying classic IR weighting schemes like Rocchio provides a significant, low-overhead performance boost.

Future research may explore adaptive weighting, where feedback weights are dynamically adjusted based on the quality or length of the LLM expansion, and deeper hyperparameter tuning specifically for LLM-generated text.

Summary updated

Abstract

Recent approaches that leverage large language models (LLMs) for pseudo-relevance feedback (PRF) have generally not utilized well-established feedback models like Rocchio and RM3 when expanding queries for sparse retrievers like BM25. Instead, they often opt for a simple string concatenation of the query and LLM-generated expansion content. But is this optimal? To answer this question, we revisit and systematically evaluate traditional feedback models in the context of HyDE, a popular method that enriches query representations with LLM-generated hypothetical answer documents. Our experiments show that HyDE's effectiveness can be substantially improved when leveraging feedback algorithms such as Rocchio to extract and weight expansion terms, providing a simple way to further enhance the accuracy of LLM-based PRF methods.
BibTeX
@misc{jedidi2025revisiting,
  author = {Nour Jedidi and Jimmy Lin},
  title = {{Revisiting Feedback Models for HyDE}},
  year = {2025},
  eprint = {2511.19349},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.19349},
}
Figure