Introduction
Retrieval-Augmented Generation (RAG) has significantly enhanced the ability of Large Language Models (LLMs) to provide factually grounded answers. However, standard RAG systems often struggle with "multi-hop" questions—complex queries that require a chain of reasoning across multiple documents. For instance, answering "Who is the paternal grandfather of Charles Bretagne Marie De La Trémoille?" requires first identifying the father and then using that information to find the grandfather.
Current RAG implementations face two primary challenges in these scenarios:
- Inflexible Retrieval Schedules: Most systems retrieve information at fixed intervals, which can lead to redundant processing or missing critical "bridge" entities.
- Reasoning Amnesia: Models often fail to maintain a structured memory of previously retrieved facts, leading to logical inconsistencies or hallucinations.
To address these issues, we introduce the MIND (Memory-Informed and INteractive Dynamic RAG) framework.
The MIND Framework
MIND is designed to make retrieval more surgical and memory-persistent through a four-step iterative process.
1. Prompt-based Entity Extraction
The process begins by identifying candidate entities and potential relationships from the initial user query. This step sets the stage for targeted information seeking.
2. RIND: Retrieval-Integrated Neural Decision-making
Rather than relying on a static retrieval schedule, MIND employs RIND to decide when to search. It monitors two real-time signals during generation:
- Token-level Entropy: Measures the model's uncertainty about the next predicted word.
- Attention Influence: Evaluates how much a specific token impacts future reasoning steps.
When the combined uncertainty exceeds a dynamic threshold, the model pauses to retrieve external data.
3. Memory-Aware Filtering
Retrieved facts are not immediately added to the context. Instead, MIND uses a Memory Module to store high-confidence information. A hybrid filtering strategy is applied:
- Chain-of-Thought (CoT) Filter: Uses logical reasoning to ensure retrieved facts are consistent with the query.
- Confidence Filter: Ranks and prunes noise based on statistical confidence.
4. Iterative Sub-query Refinement
The model generates refined sub-queries based on its current progress (e.g., "Who is the father of Jean Bretagne Charles?") and repeats the cycle until sufficient information is gathered to produce a final answer.
Experimental Results
The MIND framework was evaluated using LLaMA 3.1-8B and DeepSeek-R1-Distill-LLaMA-8B across four challenging multi-hop benchmarks: HotpotQA, 2WikiMultihopQA, StrategyQA, and IIRC.
Performance Gains
MIND consistently outperformed existing dynamic retrieval baselines like DRAGIN and SEAKER. On the 2WikiMultihopQA dataset, MIND achieved a +3.0% improvement in Exact Match (EM) and a +3.5% increase in F1 score. Similar gains were observed on HotpotQA. As shown in the performance table, the CoT Filter and Conf + CoT hybrid approaches yield the highest accuracy, effectively pruning "spurious entities" that often lead standard RAG models astray.
Efficiency and Robustness
The dynamic thresholding mechanism in RIND reduced unnecessary retrieval calls by 10–15% compared to fixed-schedule methods. By only retrieving when the model is genuinely uncertain, MIND avoids being overwhelmed by irrelevant search results. Furthermore, the persistent Memory Module prevents "retrieval loops," ensuring the model doesn't repeatedly search for the same bridge entity across different reasoning hops.
Conclusion
The MIND framework represents a significant step forward in making RAG systems more efficient and logically sound for complex reasoning tasks. By integrating real-time uncertainty signals with a structured memory, MIND ensures that retrieval is both timely and relevant. Future work will focus on extending this framework to long-form conversational AI and cross-domain retrieval from heterogeneous data sources.
Summary updated