TL;DR
EvoRAG introduces a feedback-driven backpropagation mechanism for Knowledge Graph-based Retrieval-Augmented Generation (KG-RAG). By mapping high-level response feedback down to individual graph triplets, it allows knowledge graphs to automatically self-evolve—pruning low-utility facts and fusing high-utility paths—to significantly boost LLM reasoning accuracy while slashing token costs.
What Problem Does This Paper Address?
Knowledge Graph-based Retrieval-Augmented Generation (KG-RAG) helps Large Language Models (LLMs) answer complex questions by retrieving structured, multi-hop reasoning paths from an external knowledge graph (KG). However, traditional KG-RAG frameworks suffer from a major flaw: the KGs are constructed offline and remain static.
As a result, they are query-agnostic and often fail in real-world deployments due to three primary issues:
- Irrelevant Facts: Retrieving semantically related but useless noise.
- Long Reasoning Paths: Failing to connect distant pieces of information needed for complex multi-hop queries.
- Outdated Information: Relying on stale or incorrect data.
While user or LLM feedback on the final response could theoretically fix these issues, there is a granularity mismatch. Feedback happens at the response level ("this answer is wrong"), but the fix needs to happen at the triplet level ("this specific edge in the graph is wrong"). EvoRAG bridges this gap by creating a closed-loop system where response-level feedback directly optimizes the underlying graph structure.
Methods
EvoRAG introduces a two-stage Feedback-driven Backpropagation mechanism alongside a Feedback-guided KG Management system:
- Feedback-based Path Evaluation: When an LLM generates a response, an evaluator (e.g., an LLM judge or ground-truth comparison) provides a score. EvoRAG breaks this down into path-level utility by measuring three dimensions: Supportiveness (does the path help or hurt the correct answer?), Fidelity (does it contribute to the response?), and Conflict (does it contradict the response?).
- Gradient Backpropagation: To distribute this path utility to individual triplets, EvoRAG models path selection probabilities using a smooth, differentiable softmax function based on learnable "triplet contribution scores." This allows the system to compute gradients and run gradient descent directly on the discrete graph components.
- Relation-centric KG Evolution: Based on accumulated contribution scores, EvoRAG dynamically alters the graph structure via two main operations:
- Relation Fusion: It abstracts frequently co-occurring, high-utility multi-hop paths into single "shortcut" edges, reducing reasoning depth.
- Relation Suppression: It softly deprioritizes and downweights low-utility or noisy triplets during future retrievals.
Datasets
The authors evaluated EvoRAG on three widely used RAG benchmarks:
- RGB: A dataset built from news articles to evaluate single-hop reasoning capabilities.
- MultiHop (MTH): A dataset focused on multi-hop queries requiring information integration across multiple news documents.
- HotpotQA (HPQ): A Wikipedia-derived multi-hop question-answering dataset demanding cross-paragraph reasoning.
Key Insights and Ideas
- Paths as the Intermediate Bridge: Instead of trying to attribute feedback directly to isolated triplets, EvoRAG uses multi-hop reasoning paths as an intermediate abstraction layer. This is crucial because a triplet's utility is inherently context-dependent; a fact might be highly useful in one reasoning chain but completely misleading in another.
- Differentiable Graph Optimization: By formulating discrete graph retrieval priorities as continuous softmax probabilities, the authors successfully applied standard backpropagation principles to non-differentiable graph structures.
- "Less is More" for Prompts: Cleaning up the graph doesn't just prevent hallucinations; it drastically reduces the amount of junk data fed into the LLM prompt. This results in a massive efficiency gain without sacrificing context.
Key Results
- Accuracy Boost: EvoRAG achieved an average improvement of 7.34% in accuracy (ACC) and 9.84% in Exact Match (EM) over state-of-the-art static baselines like Microsoft GraphRAG and LightRAG.
- Slashing Token Costs: By filtering out noisy and irrelevant triplets, EvoRAG reduced prompt token lengths by an average of 4.6×, leading to significantly lower inference latency and lower Time-to-First-Token (TTFT).
- High Noise Tolerance: In robustness tests where up to 20% of the feedback was intentionally inverted (noisy/erroneous feedback), EvoRAG's accuracy dropped by less than 2.5%, proving that its cumulative score aggregation effectively smooths out occasional mistakes over time.
Limitations and Future Work
The current iteration of EvoRAG focuses exclusively on relation-centric updates (modifying, adding, or suppressing edges). It does not handle entity-level updates (such as correcting factual errors within an entity node or adding entirely new entities), which requires external factual verification. The authors note that integrating entity-level updates for joint factual and behavioral adaptation is a promising direction for future research.
Summary updated