Zero-RAG: towards retrieval-augmented generation with zero redundant knowledge

Qi Luo, Xiaonan Li, Junqi Dai, Shuang Chen, Yining Zheng, Xipeng Qiu

TL;DR

Zero-RAG is a framework designed to eliminate "knowledge redundancy" in Retrieval-Augmented Generation (RAG) systems. By pruning external corpora of information the LLM already internally "masters," the authors reduce retrieval latency by over 20% and decrease corpus size by 30% without compromising—and often improving—model accuracy.

What Problem Does This Paper Address?

Retrieval-Augmented Generation (RAG) has become the standard for reducing hallucinations in Large Language Models (LLMs) by providing them with relevant external context. However, as LLMs grow more powerful, their internal knowledge base expands, leading to a massive overlap with external corpora like Wikipedia.

The authors identify two major issues with this redundancy:

  1. Efficiency: Indexing and searching massive corpora is computationally expensive. If an LLM already knows a fact, retrieving it is a waste of resources.
  2. Performance Degradation: Surprisingly, the authors found that providing "redundant" context can actually hurt performance. Their exploratory analysis showed that adding a passage the LLM already "mastered" could drop accuracy by nearly 20 points due to the model being distracted by unnecessary or noisy context.

Methods

The Zero-RAG framework introduces three core components to streamline the RAG pipeline:

  • Mastery-Score & Corpus Pruner: To identify what a model "knows," the authors propose the Mastery-Score. They generate question-answer pairs from a sentence and test if the LLM can answer them correctly without external help. Because calculating this for every sentence in a corpus is too expensive, they train a smaller "Corpus Pruner" (a 7B regression model) to predict these scores and prune the database.
  • Query Router: At inference time, this module acts as a gatekeeper. It determines if a specific user query can be answered by the LLM’s internal knowledge alone. If so, it bypasses the retrieval step entirely, saving time and avoiding potential noise.
  • Noise-Tolerant Tuning: To make the system more robust, the authors fine-tune the LLM to better handle "noisy" or irrelevant documents. This ensures that even if the retriever pulls in a sub-optimal document, the model can still rely on its internal knowledge to produce a correct answer.

Datasets

The authors used Wikipedia (segmented into ~138 million sentences) as the primary external corpus. For evaluation, they tested the framework across four diverse, fact-intensive QA benchmarks:

  • EntityQuestions: Simple entity-based queries.
  • TriviaQA: Large-scale evidence-based QA.
  • PopQA: Entity pairs with varying levels of popularity.
  • HotpotQA: Multi-hop reasoning requiring cross-document analysis.

The primary models evaluated were Llama3-70B, Llama3.3-70B, and Qwen-2-72B.

Key Insights and Ideas

  • Redundancy is a Distraction: The most counter-intuitive finding is that more information isn't always better. Redundant knowledge acts as "noise" that can confuse the model, leading it to ignore its own correct internal knowledge in favor of distracting retrieved text.
  • Pruning is "Free" Efficiency: You can remove 30% of a massive corpus like Wikipedia with almost zero impact on RAG performance. In the case of TriviaQA, removing 70% of the corpus only resulted in a 0.62-point drop in accuracy.
  • Mastery vs. Memorization: The authors argue that "mastery" (the ability to flexibly use knowledge after fine-tuning) is a more useful metric for RAG than simple "memorization" (the ability to recite a string of text).

Key Results

  • Massive Speedups: On the TriviaQA dataset, the total processing time dropped from approximately 1,600 seconds to 400 seconds—a 4x improvement in efficiency.
  • Corpus Reduction: Zero-RAG successfully pruned the Wikipedia corpus by 30%, which directly translated to a 22% acceleration in the retrieval stage.
  • Maintained Accuracy: Despite the significant pruning and skipped retrievals, Zero-RAG maintained or even slightly exceeded the performance of standard RAG systems by reducing the "distraction" effect of redundant documents.
  • Model Agnostic: The benefits were consistent across different model families (Llama and Qwen) and sizes (8B to 70B).

Limitations and Future Work

  • Domain Specificity: The study focused exclusively on Wikipedia-based databases. The authors acknowledge that the effectiveness of Zero-RAG on highly specialized (e.g., medical or legal) or multimodal datasets remains to be seen.
  • Data Quality Dependency: The Corpus Pruner's accuracy depends on the quality of the initial QA pairs generated during the Mastery-Score calculation. If the initial "test" questions are poor, the pruner might inadvertently discard valuable information.
  • Dynamic Knowledge: LLMs and external databases are not static. Future work could explore how to update the pruned corpus as the LLM undergoes further training or as the external world changes.

Summary updated

BibTeX
@article{luo2026zero,
  author = {Qi Luo and Xiaonan Li and Junqi Dai and Shuang Chen and Yining Zheng and Xipeng Qiu},
  title = {{Zero-RAG: towards retrieval-augmented generation with zero redundant knowledge}},
  journal = {Frontiers of Computer Science},
  year = {2026},
  doi = {10.1007/s11704-026-50986-4},
}
Figure