Evaluating Retrieval Quality in Retrieval-Augmented Generation (arXiv:2404.13781, April 2024)
Meta information
| Field | Content | |-------|---------| | Title | Evaluating Retrieval Quality in Retrieval-Augmented Generation | | Authors / Affiliations | Alireza Salemi, Hamed Zamani (University of Massachusetts Amherst) | | Published | April 2024 | | Source | https://arxiv.org/abs/2404.13781 | | Type | Academic paper | | Section | Evaluation of Search Engines |
One-line summary
The paper proposes eRAG, a method for evaluating retrieval models by their downstream impact on retrieval-augmented generation (RAG) quality, using LLM-generated relevance labels.
Background and motivation
In large-scale search, recommendation, and personalization systems, retrieval-augmented generation (RAG) has become the dominant pattern for grounding LLM outputs in external knowledge. However, traditional retrieval evaluation metrics do not necessarily reflect how well a retriever supports the downstream generation step. Conventional pipelines treat retrieval, ranking, and generation separately, which can misalign retriever selection with end-task performance in the LLM era of natural-language interaction, multi-hop reasoning, and real-time knowledge needs. This paper addresses that gap by proposing an evaluation methodology tied directly to RAG system performance.
Core contribution
- eRAG evaluation methodology: evaluates each retriever by the downstream performance of the RAG system it serves, instead of traditional set-based retrieval metrics.
- Per-document evaluation: each document in the corpus is provided individually to the LLM along with the query; the generated output is compared with ground truth to derive a relevance label for that document.
- Ranking metrics over relevance labels: the resulting labels are used to compute retrieval ranking accuracy measures such as nDCG.
- Empirical findings: experiments show that rankings of retrieval models produced by eRAG correlate better with downstream RAG system performance than rankings based on conventional retrieval evaluation methods.
- Released annotations: the paper provides a large set of LLM-based relevance judgments for retrieval evaluation, reducing dependence on costly human annotation.
- Evaluation of Retrieval-Augmented Generation: A Survey (arXiv:2405.07437)
- ARES: An Automated Evaluation Framework for RAG (arXiv:2311.09476)
- A Dataset of Information-Seeking Questions and Answers Anchored in Research Abstracts (arXiv:2105.03011)
- [AI Search Has A Citation Problem (CJR, March 2025)]
- AgentBoard: An Analytical Evaluation Board of Multi-turn LLM Agents (arXiv:2401.13178)
Method overview
The technical route follows a formalize → design → construct → infer pipeline:
1. Input and representation: a query is issued to the RAG system; candidate documents are encoded/retrieved as usual. 2. Core evaluation loop: rather than feeding all retrieved documents at once, each candidate document is presented to the LLM individually with the query. 3. Label generation: the LLM's output for the query (conditioned on that single document) is compared against ground-truth answers, producing a relevance label for the document. 4. Metric computation: labels across the corpus are aggregated into standard ranking metrics (e.g., nDCG), yielding a retriever ranking that reflects downstream generation quality.
Evaluation
The paper evaluates across multiple datasets and compares retriever rankings obtained via eRAG against those from traditional retrieval metrics. Reported correlations use downstream RAG task performance as the reference. Specific numerical results should be verified against the original PDF tables. Typical baselines in this space include BM25, dense retrievers, and cross-encoder rerankers; metrics include nDCG@10, MRR, Recall@k, and downstream task success.
Key insights
1. Architecture: cascaded retrieve → rerank → generate remains mainstream, but agentic paradigms are making the number and strategy of retrieval steps themselves learnable; 2. Data: high-quality instruction data and click/session logs matter as much as model architecture; synthetic data requires care against knowledge leakage and distribution shift; 3. Evaluation: the gap between offline metrics and online satisfaction is widening; LLM-as-judge signals should be cross-validated with human evaluation; 4. Product: latency, cost, explainability, and safety are hard constraints for industrial deployment—not just academic benchmark scores.
Limitations and future work
Potential limitations include experiment scale constrained by GPU budgets, benchmark mismatch with real user distributions, English-centric data with unknown cross-lingual generalization, and safety risks of agentic systems on the open web. Future directions include more efficient test-time compute allocation, deeper integration with knowledge graphs and structured databases, and causal/fairness constraints for recommendation settings.
Related entries
Glossary
| Term | Meaning | |------|---------| | IR | Information Retrieval | | RAG | Retrieval-Augmented Generation | | LTR | Learning to Rank | | nDCG | Normalized Discounted Cumulative Gain, a ranking quality metric | | Agentic Search | Modeling search as sequential decision-making and tool calling | | Gen-IR | Generative Information Retrieval |
Reader action items
1. Researchers: reproduce the core comparisons; check whether statistical significance and compute costs are reported; 2. Engineers: extract pluggable modules (encoders, rerankers, planners) and estimate integration cost with existing stacks; 3. Product managers: focus on user-perceivable gains (latency, answer trustworthiness, multi-turn consistency) rather than offline nDCG alone.