Introduction
Retrieval-Augmented Generation (RAG) has become a cornerstone for grounding Large Language Models (LLMs) in external knowledge. However, the traditional "retrieve-then-read" paradigm often struggles with complex, multi-hop queries where information is fragmented across multiple sources. Current systems face three primary challenges: information fragmentation, a lack of strategic control over the search process, and the "noise problem," where irrelevant content in retrieved documents leads to model hallucinations.
The Amber Framework
To address these limitations, we introduce Amber (Adaptive memory-based optimization for enhanced RAG). Amber shifts the RAG process from a linear sequence to an iterative, collaborative refinement loop.
The framework consists of three core modules:
- Multi-granular Content Filter (MCF): This module employs a two-stage filtering process. First, a fine-tuned LLM filters at the chunk level to discard irrelevant documents. Second, it performs sentence-level extraction to isolate high-signal information, significantly reducing noise before it reaches the reasoning stage.
- Agent-based Memory Updater (AMU): Instead of simple concatenation, Amber utilizes a triadic multi-agent system to synthesize information into a coherent "memory note." A Reviewer evaluates correctness, a Challenger identifies potential contradictions or flaws, and a Refiner synthesizes this feedback into a clean update.
- Adaptive Information Collector (AIC): Acting as the system's controller, the AIC determines if the current memory is sufficient to answer the query. If insufficient, it generates a new, targeted search query to bridge the knowledge gap, initiating the next iteration.
Evaluation and Results
Amber was evaluated across a spectrum of benchmarks, including single-hop (SQuAD, NQ, TriviaQA), multi-hop (2WikiMQA, HotpotQA), and long-form (ASQA) question-answering tasks.
The results demonstrate Amber's significant superiority over existing methods. On the complex 2WikiMQA dataset, Amber achieved an accuracy of 56.0%, a substantial improvement over vanilla RAG (35.4%) and previous state-of-the-art adaptive methods like Self-RAG (46.4%). Furthermore, Amber showed consistent performance gains across various base models, including Qwen2-7b and Llama3-8b.
Key Insights
- Refined Memory vs. Raw Context: Synthesizing information into a distilled "memory note" helps LLMs avoid the "lost in the middle" phenomenon common with long, noisy contexts.
- Adversarial Refinement: The inclusion of a "Challenger" agent is crucial for preventing echo chambers and reducing the likelihood of accepting hallucinated information.
- Hierarchical Filtering: Multi-granular filtering (chunk and sentence level) is essential for maintaining high signal-to-noise ratios in the retrieved data.
Conclusion and Future Work
While Amber offers a powerful solution for complex RAG tasks, it introduces higher computational latency due to its iterative nature and multi-agent interactions. Future research will focus on optimizing these interactions for efficiency and exploring more generalizable fine-tuning strategies for the content filtering modules.
Summary updated