Reproduce “GraphRAG-R1: Graph Retrieval-Augmented Generation with Process-Constrained Reinforcement Learning” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Chuanyue Yu, Kuo Zhao, Yuhan Li, Heng Chang, Mingjian Feng, Xiangzhe Jiang, Yufei Sun, Jia Li and 3 more

GraphRAG-R1, a framework developed by researchers from Nankai University, HKUST Guangzhou, Huawei Technologies Ltd, and Beihang University, integrates Large Language Models (LLMs) with process-constrained reinforcement learning to enhance multi-hop reasoning in Graph Retrieval-Augmented Generation. The system improves F1 scores by up to 83.81% on the 2Wiki dataset and 19.96% on the out-of-domain PopQA dataset, leveraging novel reward functions and a multi-stage training strategy to balance retrieval accuracy and computational cost.

Key insights

  • Process-constrained reward functions (PRA and CAF) are essential for guiding LLMs in GraphRAG, effectively mitigating both 'shallow retrieval' by encouraging necessary calls and 'over-thinking' by penalizing excessive ones.
  • A multi-stage training strategy is critical for stabilizing and optimizing RL-based GraphRAG models, preventing gradient conflicts and enabling the LLM to learn basic formatting before advanced reasoning and cost-aware retrieval policies.
  • Hybrid graph-textual retrieval, combining structured graph triplets with text snippets, offers a superior balance of token efficiency and comprehensive knowledge, outperforming purely text or graph-based approaches.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.