arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.16401cs.IRcs.AI
收藏

GraphRAG-Router: 通过强化学习学习高效的图RAGs和LLM路由

GraphRAG-Router: Learning Cost-Efficient Routing over GraphRAGs and LLMs with Reinforcement Learning

Department of Computer Science, New York University (Shanghai)(纽约大学(上海)计算机科学系);Department of Computer Science, University of Liverpool(利物浦大学计算机科学系)

Dongzhe Fan, Chuanhao Ji, Zimu Wang, Tong Chen, Qiaoyu Tan

AI总结:

本文提出GraphRAG-Router,通过分层路由策略协调异构图RAGs和生成LLM,通过强化学习优化生成分配,降低大模型使用成本并提升泛化能力。

摘要:

基于图的检索增强生成(GraphRAG)最近 emerged 为知识密集型问答的强大范式,尤其适用于需要结构化证据组织和多跳推理的任务。然而,现有GraphRAG系统通常采用一刀切的设计,依赖固定的检索框架和单一、往往大而昂贵的生成LLM处理所有查询。这种静态设计限制了其适应不同问题复杂性的能力,并常导致不必要的计算成本。为此,我们提出GraphRAG-Router,一种成本高效的框架,采用分层路由策略协调异构GraphRAGs和生成LLM。具体而言,GraphRAG-Router首先通过监督微调预热,然后通过两阶段强化学习优化,其第二阶段引入课程成本感知奖励,以鼓励难度感知和经济的生成分配。在六个通用领域和多跳问答基准上的广泛实验表明,GraphRAG-Router在保持强大泛化能力的同时,将大LLM的过度使用减少了近30%。

英文摘要:

Graph-based retrieval-augmented generation (GraphRAG) has recently emerged as a powerful paradigm for knowledge-intensive question answering, especially for tasks that require structured evidence organization and multi-hop reasoning. However, existing GraphRAG systems are typically built in a one-size-fits-all manner, relying on a fixed retrieval framework and a single, often large and costly, generator LLM for all queries. This static design limits their ability to adapt to the complexity of varying questions and often incurs unnecessary computational cost. To fill in the gap, we propose GraphRAG-Router, a cost-efficient framework that adopts a hierarchical routing strategy to coordinate heterogeneous GraphRAGs and generator LLMs. Specifically, GraphRAG-Router is first warmed up through supervised fine-tuning and then optimized with a two-stage reinforcement learning procedure, whose second stage introduces a curriculum cost-aware reward to encourage difficulty-aware and economical generator allocation. Extensive experiments on six general-domain and multi-hop QA benchmarks show that GraphRAG-Router consistently outperforms state-of-the-art baselines, reducing the overuse of large LLMs by nearly 30% while maintaining strong generalization capability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑