Introduction
Retrieval-Augmented Generation (RAG) has significantly enhanced the capabilities of Large Language Models (LLMs) in knowledge-intensive tasks. However, standard RAG systems often struggle with complex, "multi-hop" queries that lack specific keywords or require multi-step reasoning. Furthermore, retrievers frequently introduce "noise"—irrelevant documents that can mislead the LLM during answer generation. Existing noise-reduction methods often rely on expensive external classifiers or unreliable confidence scores.
To address these challenges, we present BlendFilter, a framework that improves RAG by blending queries from internal and external sources and utilizing the LLM as a high-precision filter to prune irrelevant information.
Methods
The BlendFilter framework operates through three distinct phases:
- Query Generation Blending: Instead of a single query, BlendFilter generates a composite set including the original user query, an external knowledge-augmented query (using preliminary retrieval and reasoning), and an internal knowledge-augmented query (generated from the LLM's own memory).
- Knowledge Filtering: The system retrieves documents for all query types and takes their union. It then uses the LLM to identify truly relevant documents, leveraging the model's innate contextual judgment without needing specialized classifiers.
- Answer Generation: The LLM generates the final answer using Chain-of-Thought (CoT) reasoning based only on the filtered, high-quality knowledge set.
Experimental Setup
The framework was evaluated on three open-domain question-answering benchmarks: HotPotQA (multi-hop reasoning), 2WikiMultiHopQA (structured metadata), and StrategyQA (implicit reasoning). The study utilized ColBERT v2 as the primary dense retriever and BM25 as a sparse retriever baseline. Experiments were conducted across various LLM backbones, including GPT-3.5-turbo-Instruct, Vicuna-13b, and Qwen-7b.
Key Insights
- Synergy of Internal and External Knowledge: Internal LLM memory and external databases are complementary. Internal knowledge can fill retrieval gaps, while external documents can correct internal hallucinations.
- LLM as a Self-Editor: LLMs are highly effective at filtering retrieval noise. Asking the model to verify relevance before answering significantly reduces the impact of "distractor" documents.
- Model Agnosticism: BlendFilter demonstrated consistent performance gains across both proprietary and open-source models, indicating its broad applicability.
Key Results
BlendFilter consistently outperformed state-of-the-art baselines such as ITER-RETGEN, SelfAsk, and ReAct.
- Performance Gains: Average improvements reached 9.7% for GPT-3.5, 7.4% for Vicuna, and 14.2% for Qwen-7b.
- Retrieval Quality: The filtering module notably increased "S-Precision" (the proportion of questions where retrieved documents precisely match the ground truth), confirming the effectiveness of the LLM-based filter.
- Ablation Success: Removing any component of the blending strategy resulted in performance drops, validating the necessity of the multi-source approach.
Limitations and Future Work
While effective, BlendFilter increases computational overhead and latency due to multiple LLM calls. Future research could focus on optimizing the filtering step, perhaps by employing smaller, specialized models to maintain performance while reducing costs. Additionally, while the system is robust, the number of retrieved documents ($K$) remains a hyperparameter that may require domain-specific tuning.
Summary updated