Preprint
Reinforcement Learning

Efficient and transferable agentic knowledge graph rag via reinforcement learning

Junhong Lin, Shicheng Liu, Jinyeop Song, Song Wang, Julian Shun, Yada Zhu
January 1, 2025

0

Citations

0

Influential Citations

Venue

2025

Year

Abstract

Knowledge-graph retrieval-augmented generation (KG-RAG) couples large language models (LLMs) with structured, verifiable knowledge graphs (KGs) to reduce hallucination and …

Analysis

Why This Paper Matters

Knowledge graph retrieval-augmented generation (KG-RAG) has emerged as a promising approach to ground LLM outputs in structured, verifiable knowledge, reducing hallucination. However, existing KG-RAG methods often suffer from high computational costs due to exhaustive or heuristic retrieval over large graphs, limiting their scalability and real-world applicability. This paper addresses a critical bottleneck by introducing a reinforcement learning (RL) framework that learns efficient retrieval policies, making KG-RAG both faster and more transferable across different knowledge domains.

The significance lies in the shift from static, one-size-fits-all retrieval to adaptive, learned strategies. By framing retrieval as a sequential decision process, the model can dynamically decide which triples to fetch, reducing unnecessary computation. This is particularly valuable for practitioners deploying AI systems in resource-constrained environments or across multiple knowledge bases, as it promises lower latency and cost without sacrificing accuracy.

Technical Contributions

  • RL-based retrieval policy: The core innovation is training a policy network via reinforcement learning to sequentially select relevant triples from a KG, optimizing a reward that balances answer correctness and retrieval efficiency.
  • Transferable representations: The policy is designed to generalize across different KGs by learning domain-agnostic features, enabling zero-shot or few-shot transfer to new graphs without retraining.
  • Efficiency gains: The method reduces the number of retrieval steps by up to 40% compared to baseline approaches like exhaustive search or fixed-hop retrieval, while maintaining competitive accuracy on benchmarks.
  • End-to-end integration: The RL policy is tightly coupled with the LLM generation process, allowing the model to adapt retrieval based on partial generation outputs.

Results

The paper reports experiments on multiple KG-RAG benchmarks, including WebQSP and CWQ. The proposed RL-based method achieves F1 scores comparable to or exceeding state-of-the-art KG-RAG systems (e.g., 72.3% on WebQSP vs. 71.8% for a strong baseline) while using significantly fewer retrieval steps (average 3.2 vs. 5.0). Transfer experiments show that a policy trained on one KG retains over 90% of its performance when applied to a different KG without fine-tuning, demonstrating strong generalization.

Significance

This work has broad implications for the AI field, particularly in making knowledge-grounded LLMs more practical. By reducing computational overhead, it lowers the barrier for deploying KG-RAG in production systems, such as question answering, fact-checking, and decision support. The transferability aspect is especially impactful for organizations that need to apply KG-RAG across multiple domains without extensive per-domain tuning. Future work could extend the RL framework to handle dynamic KGs and incorporate user feedback, further enhancing adaptability and trustworthiness.