Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Efficient and Transferable Agentic Knowledge Graph RAG via Reinforcement Learning

About

Knowledge-graph retrieval-augmented generation (KG-RAG) couples large language models (LLMs) with structured, verifiable knowledge graphs (KGs) to reduce hallucination and provide reasoning traces. However, current KG-RAG systems often rely on fixed pipelines of multiple LLM modules (e.g., planning, reasoning, and responding), which inflate inference costs and tie performance to specific graph schemas. To address this, we introduce KG-R1, an agentic framework that optimizes KG-RAG through reinforcement learning (RL). Unlike modular workflows, KG-R1 uses a single agent that interacts with KGs as its environment, learning to retrieve information at each step and incorporating it into its reasoning and generation in a unified process. Across Knowledge-Graph Question Answering (KGQA) benchmarks, KG-R1 demonstrates both efficiency and transferability-using Qwen 2.5-3B, KG-R1 improves answer accuracy with fewer generation tokens than prior multi-module workflow methods that use much larger foundation or fine-tuned models. Furthermore, KG-R1 exhibits strong plug-and-play capability: after training, maintaining accuracy on unseen KGs without retraining. These properties make KG-R1 a promising KG-RAG framework for real-world deployment. Our code is publicly available at github.com/junhongmit/KG-R1/.

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

Related benchmarks

TaskDatasetResultRank
Knowledge Graph Question AnsweringCWQ
Hit@173.8
212
Knowledge Graph Question AnsweringWebQSP--
174
Knowledge Base Question AnsweringGrailQA Freebase (test)
Hits@168.55
48
Knowledge Base Question AnsweringT-REx Wikidata (test)
Hits@183.38
37
Knowledge Graph Question AnsweringSimpleQA Freebase-based (test)
Hits@169.18
31
Knowledge Graph Question AnsweringQALD-10en Wikidata-based (test)
Hits@141.96
31
Knowledge Graph Question AnsweringWebQSP
Hits@1 Accuracy82.75
22
Showing 7 of 7 rows

Other info

Follow for update