ReMindRAG: Low-Cost LLM-Guided Knowledge Graph Traversal for Efficient RAG
Yikuan Hu, Jifeng Zhu, Lanrui Tang, Chen Huang
TL;DR
ReMindRAG presents a train-free memory replay mechanism integrated with LLM-guided KG traversal to balance retrieval effectiveness and cost in KG-RAG. By memorizing traversal experience within KG edge embeddings and combining node exploration with exploitation, it reduces LLM calls while preserving accuracy, and provides theoretical guarantees on memory capacity under semantic similarity. Experimental results across long-dependency and multi-hop QA tasks show consistent accuracy improvements (roughly 5–12 points) with substantial token-cost reductions (around 50%), plus robust self-correction and memory stability under various query conditions. The work highlights practical implications for scalable, memory-augmented RAG systems and points to future directions such as preloaded domain FAQs to accelerate initialization.
Abstract
Knowledge graphs (KGs), with their structured representation capabilities, offer promising avenue for enhancing Retrieval Augmented Generation (RAG) systems, leading to the development of KG-RAG systems. Nevertheless, existing methods often struggle to achieve effective synergy between system effectiveness and cost efficiency, leading to neither unsatisfying performance nor excessive LLM prompt tokens and inference time. To this end, this paper proposes REMINDRAG, which employs an LLM-guided graph traversal featuring node exploration, node exploitation, and, most notably, memory replay, to improve both system effectiveness and cost efficiency. Specifically, REMINDRAG memorizes traversal experience within KG edge embeddings, mirroring the way LLMs "memorize" world knowledge within their parameters, but in a train-free manner. We theoretically and experimentally confirm the effectiveness of REMINDRAG, demonstrating its superiority over existing baselines across various benchmark datasets and LLM backbones. Our code is available at https://github.com/kilgrims/ReMindRAG.
