Introduction
Retrieval-Augmented Generation (RAG) has become the standard paradigm for grounding Large Language Models (LLMs) in factual, up-to-date information. By retrieving relevant documents from external corpora, RAG mitigates hallucinations and allows models to access information beyond their pre-training data. However, a significant bottleneck remains: knowledge inconsistency.
Retrievers often return lengthy documents containing substantial "noise"—information that is irrelevant to the query or redundant given the LLM’s internal knowledge. This discrepancy between what a retriever considers "relevant" and what a generator actually needs leads to the "lost in the middle" phenomenon, where LLMs struggle to extract pertinent facts from a cluttered context, increasing inference costs and the risk of error.
The BIDER Framework
To address these challenges, we introduce BIDER (BrIDging knowledge inconsistency for Efficient Retrieval-augmented LLMs). BIDER is designed to refine raw retrieved documents into concise Key Supporting Evidence (KSE), aligning the external information with the specific needs of the downstream generator.
The BIDER pipeline consists of three distinct stages:
- Knowledge Synthesis (Oracle Construction): To create a training signal, BIDER first identifies a "minimal sufficient set" of sentences from retrieved documents. This involves Nugget Extraction (semantic similarity), Nugget Refinement (using Natural Language Inference to ensure factual support), and Nugget Cleaning (filtering based on the LLM’s log-probabilities to avoid redundant information).
- Supervised Fine-Tuning (SFT): A refiner model (e.g., BART-Large) is trained to map raw documents to the "Oracle KSE" synthesized in the first stage. This teaches the model to summarize and extract vital information effectively.
- Preference Alignment: The refiner is further optimized using Reinforcement Learning (PPO). The reward function is tied directly to the generator's performance (e.g., F1 score), ensuring the refined output is formatted in a way that the LLM "prefers."
Experimental Evaluation
BIDER was evaluated across five diverse knowledge-intensive datasets: NaturalQuestions (NQ), TriviaQA (TQA), HotpotQA, Wizard of Wikipedia (WoW), and FEVER. These tasks span open-domain QA, multi-hop reasoning, dialogue, and fact-checking.
Performance and Efficiency
As shown in the results table below, BIDER consistently outperforms state-of-the-art extractive and abstractive refinement methods.
Key findings include:
- Significant Compression: BIDER reduces input content length by an average of 80%, significantly lowering the computational overhead for the generator.
- Improved Accuracy: Despite the drastic reduction in text, answer quality improved by approximately 7% on average. The most dramatic gain was seen in the WoW dialogue dataset, where performance increased by nearly 40%.
- Reduced Latency: The end-to-end system latency decreased by 10%. The time saved during the generation phase (due to shorter contexts) more than compensated for the additional overhead of the refiner model.
Key Insights
A critical observation from the preference alignment stage is that BIDER learns to prioritize information placement. LLMs are highly sensitive to the position of evidence; through reinforcement learning, BIDER learns to move the most critical supporting facts to the beginning of the prompt. Furthermore, by operating at the sentence level rather than the token level, BIDER preserves the semantic integrity of entities, avoiding the "broken entity" problem common in token-pruning methods.
Conclusion and Future Work
BIDER effectively bridges the gap between retrieval and generation by distilling raw documents into high-quality Key Supporting Evidence. While highly effective for single-hop and dialogue tasks, BIDER showed lower efficacy on complex multi-hop reasoning tasks like HotpotQA, suggesting that future iterations may need to better capture logical dependencies across multiple documents. Additionally, making the refiner more "plug-and-play" across different LLM architectures remains a promising direction for future research.
Summary updated