TL;DR
Standard Retrieval-Augmented Generation (RAG) systems often fail on complex, multi-hop questions because standard retrieval methods select highly relevant but redundant information. To fix this, the authors introduce DF-RAG (Diversity-Focused RAG), a training-free framework that dynamically tunes retrieval diversity for each individual query at test time. This simple adjustment yields a 4–10% improvement in $F_1$ score over vanilla RAG, capturing up to 91.3% of the performance gap to an optimal oracle.
What Problem Does This Paper Address?
Traditional RAG systems rely heavily on cosine similarity to fetch document chunks. While this works well for simple factoid questions, it falls short on complex, reasoning-intensive tasks like multi-hop question answering.
Cosine similarity tends to over-select semantically redundant content. If a system needs three distinct pieces of scattered evidence to answer a question, standard retrieval might fill the context window with three slightly different versions of the first piece of evidence, completely missing the complementary facts needed to bridge the reasoning gap.
Methods
The authors propose DF-RAG, which builds on the Maximal Marginal Relevance (MMR) framework to balance query relevance with chunk diversity.
- Geometric MMR (gMMR): Instead of standard MMR, they use Euclidean distance between normalized embeddings to calculate the spatial distance between a candidate chunk and the centroid of already selected chunks.
- The DF-RAG Pipeline:
- Planner: An LLM decomposes the input query into a sequence of sub-questions (a plan).
- Diversity-focused Retrieval: The system generates multiple candidate chunk sets using gMMR across a sweep of diversity parameters ($\lambda \in [0.1, 1.0]$).
- Evaluator: An LLM scores each candidate chunk set based on how well it explicitly answers the sub-questions in the plan.
- Tie-Breaking Gate: If multiple $\lambda$ values perform equally well, it selects the median value.
- Generator: The final LLM synthesizes the answer using the optimal chunk set.
This entire process requires zero fine-tuning and acts as a plug-and-play layer.
Datasets
The framework was evaluated on several reasoning-intensive benchmarks:
- LongBench: HotpotQA, MuSiQue, and 2WikiMultihopQA (for multi-hop reasoning), alongside MultifieldQA (English version, for long-context non-multi-hop evaluation).
- $\infty$Bench: En.QA, a challenging ultra-long context dataset containing narratives, meetings, and research papers.
Key Insights and Ideas
- One Size Does Not Fit All: The optimal balance of diversity and relevance ($\lambda$) varies significantly from query to query, not just dataset to dataset.
- The Oracle Ceiling: By designing an "Oracle" that uses ground truth to pick the perfect $\lambda$ for each query, the authors showed that query-aware diversity can boost absolute $F_1$ scores by up to 18% over vanilla RAG.
- Plan-Based Evaluation Works: Decomposing a query into a plan and using an LLM to evaluate chunk coverage against that plan serves as an excellent, unsupervised proxy for identifying the optimal level of retrieval diversity at test time.
Key Results
- DF-RAG consistently outperformed vanilla RAG across all context lengths, showing absolute $F_1$ gains of up to 9.5% on multi-hop tasks.
- It successfully closed up to 91.3% of the performance gap between vanilla RAG and the theoretical Oracle ceiling (specifically on 2WikiMQA using Qwen 2.5 72B).
- DF-RAG outperformed strong, context-length-independent baselines like RAPTOR, LongRAG, and HippoRAG on most multi-hop benchmarks.
- Because it processes a constant number of tokens regardless of the total context length, it remains computationally efficient and scalable for ultra-long context datasets like En.QA, where graph-based or recursive summarization baselines often hit memory or time limits.
Limitations and Future Work
- Model Scope: The experiments were limited to two open-source LLM families (Qwen 2.5 72B and Llama 3.3 70B).
- LLM Dependency: The Planner and Evaluator steps rely entirely on LLM prompting, making the system sensitive to prompt engineering and the underlying model's zero/few-shot capabilities.
- Future Directions: The authors suggest exploring training-dependent methods (such as fine-tuning a dedicated diversity ranker) and implementing more advanced test-time compute strategies to further close the gap to the Oracle.
Summary updated