Abstract
Large Language Models (LLMs) have shown remarkable capabilities across diverse tasks, yet they face inherent limitations such as constrained parametric knowledge and high retraining costs. Retrieval-Augmented Generation (RAG) augments the generation process by retrieving externally stored knowledge absent from the models internal parameters. However, RAG methods face challenges such as information loss and redundant retrievals during multi-round queries, accompanying the difficulties in precisely characterizing knowledge gaps for complex tasks. To address these problems, we propose Retrieval Feedback and Memory Retrieval Augmented Generation (RFM-RAG), which transforms the stateless retrieval of previous methods into stateful continuous knowledge management by constructing a dynamic evidence pool. Specifically, our method generates refined queries describing the models knowledge gaps using relational triples from questions and evidence from the dynamic evidence pool; retrieves critical external knowledge to iteratively update this evidence pool; and employs a R-Feedback Model to evaluate evidence completeness until convergence. Compared to traditional RAG methods, our approach enables persistent storage of retrieved passages and effectively distills key information from passages to construct clearly new queries. Experiments on three public QA benchmarks demonstrate that RFM-RAG outperforms previous methods and improves overall system accuracy.
Introduction
Large Language Models (LLMs) are powerful but suffer from "static brains"—their knowledge is frozen at the moment training ends. Retrieval-Augmented Generation (RAG) was designed to mitigate this by providing models with external knowledge. However, standard RAG implementations are often "stateless" and "blind": they retrieve information in a single pass or follow rigid iterative loops without verifying if the necessary information has actually been found.
Traditional RAG methods face a "Goldilocks" problem: retrieving too little leads to hallucinations, while retrieving too much clutters the prompt with noise. Most iterative systems lack memory of previous rounds, leading to redundant queries and an inability to precisely articulate specific knowledge gaps.
The RFM-RAG Framework
To address these limitations, the researchers introduce RFM-RAG, a framework that transforms RAG from a simple search tool into a stateful system managing a dynamic "evidence pool."
The framework relies on three core pillars:
- Dynamic Evidence Pool: Instead of appending raw text, RFM-RAG uses an LLM to distill and organize information. This involves deduplicating facts and filtering noise using Chain-of-Thought (CoT) prompting.
- Targeted Query Generation: The system extracts entities and relational triples (e.g.,
(Director, directed, <X>)) from the question. By calculating an "entity coverage" score, it identifies missing information and generates precise queries to fill specific placeholders. - The R-Feedback Model: A dedicated, lightweight neural network evaluates evidence completeness based on syntactic coverage (entity presence) and semantic relevance (via a cross-encoder). It acts as a judge to terminate the retrieval loop once the evidence is sufficient.
Experimental Evaluation
The authors evaluated RFM-RAG across three diverse open-domain QA benchmarks: 2WikiMultihopQA (multi-hop reasoning), NaturalQA (real-world search queries), and StrategyQA (implicit reasoning).
Key results include:
- Accuracy Gains: RFM-RAG consistently outperformed baselines across different model sizes (Gemma-2b, Mistral-7b, and Gemma3-4b). On NaturalQA with Mistral-7b, RFM-RAG achieved an Exact Match (EM) score of 33.4, more than doubling the performance of the base model (13.2).
- Efficiency: The R-Feedback model enabled early termination, reducing latency by 12% to 35% compared to fixed-iteration methods. This also improved accuracy by avoiding "knowledge saturation" noise.
- Robustness: Significant gains were observed even on advanced models like Gemma3-4b, suggesting that retrieval strategy is often a greater bottleneck than the underlying LLM's capacity.
Conclusion
RFM-RAG demonstrates that statefulness is key to effective retrieval. By treating retrieval as continuous memory management rather than isolated searches, the model avoids the "forgetting" problem common in other iterative RAG frameworks. While the system currently depends on the accuracy of initial entity extraction, its ability to "know when to quit" and use surgical search queries represents a significant step forward in making RAG systems more intelligent and efficient.
Summary updated