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.
Figures & tables
Figure 1: Query-dependent heterogeneity in GraphRAGs and generator LLMs.
Figure 2: Overview of the GraphRAG-Router framework. GraphRAG-Router utilizes a hierarchical routing strategy. Initialized with cold-start SFT, it adopts a two-stage RL training paradigm. Stage 1 helps the model learn effective routing behavior, while Stage 2 further optimizes the trade-off between performance and cost.
System
Methods
General QA
Multi-Hop QA
NQ †
PopQA ⋆
TriviaQA ⋆
HotpotQA †
2Wiki ⋆
Musique ⋆
Avg.
Basic LLM
Direct Infer ♠
0.107
0.117
0.308
0.269
0.295
0.118
0.202
CoT ♠
0.286
0.327
0.552
0.313
0.293
0.165
0.323
RAG-Based
Vanilla RAG
0.294
0.242
0.557
0.326
0.348
0.186
0.326
HippoRAG2
0.353
0.266
0.601
0.395
0.374
0.263
0.375
LinearRAG
0.302
0.269
0.608
0.385
0.435
0.238
0.373
Table 1: Overall Exact Match (EM) on six QA datasets. ♠ denotes the best result among different scale of LLMs. † denotes the in-domain dataset, and ⋆ denotes the cross-domain dataset. Bold and underline indicate the best and best baseline results, respectively.
Model
Dataset
NQ
HotpotQA
2Wiki
Router-R1
0.386
0.368
0.456
Router-R1 ∗
0.390
0.377
0.458
GraphRAG-Router
0.426
0.461
0.523
GraphRAG-Router ∗
0.439
0.458
0.550
Table 2: Results of the generalization capability of GraphRAG-Router.
Figure 3: Comparison of routing behavior and downstream performance.
Strategy
Dataset
NQ
HotpotQA
2Wiki
One-time
0.398
0.433
0.479
LLM-First
0.415
0.446
0.518
GraphRAG-First
0.426
0.461
0.523
Table 3: EM of different routing strategies.
Method
NQ
HotpotQA
Valid call
w/o SFT
0.185
0.207
0.35
w/ SFT
0.426
0.461
1.29
Table 4: Ablation study of SFT. Valid call indicates the average valid tool call for both datasets.
SFT
Stage1
Stage2
Dataset
NQ
HotpotQA
✓
✗
✗
0.237
0.245
✓
✓
✗
0.419
0.448
✓
✓
✓
0.426
0.461
Table 5: Ablation study on training strategies of GraphRAG-Router.
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
Dataset
Task
Knowledge Source
#Train
#Dev
#Test
NQ
General QA
Wiki
79,168
8,757
3,610
PopQA
General QA
Wiki
-
-
14,267
TriviaQA
General QA
Wiki & Web
78,785
8,837
11,313
HotpotQA
Multi-hop QA
Wiki
90,447
7,405
-
Musique
Multi-hop QA
Wiki
19,938
2,417
-
2WikiMultiHopQA
Multi-hop QA
Wiki
15,000
12,576
-
Appendix
Table 6: Dataset Statistics
Learning Rate
Batch Size
Epochs
Weight Decay
Optimizer
Lr Scheduler
BF16
2e-5
4
2
0.01
Adam
Cosine
True
Appendix
Table 7: Hyperparameter setting for SFT
Hyperparameter
Value
Hyperparameter
Value
Learning Rate
1e-6
Mini-batch Size
32
Train Batch Size
64
Micro-batch Size
8
Rollout Group size
5
Max Training Steps
80
KL coefficient
0.001
Warm Up Ratio
0
Max turns
4
Max Sequence Length
4096
Max Response Length
1024
Max Length for LLM Response
600
Appendix
Table 8: Hyperparameter settings for stage 1
Hyperparameter
Value
Hyperparameter
Value
Learning Rate
1e-6
Mini-batch Size
32
Train Batch Size
64
Micro-batch Size
8
Rollout Group size
5
Max Training Steps
40
KL coefficient
0.001
Warm Up Ratio
0
Max turns
4
Max Sequence Length
4096
Max Response Length
1024
Max Length for LLM Response
600
Appendix
Table 9: Hyperparameter settings for stage 2
System
Methods
General QA
Multi-Hop QA
NQ †
PopQA ⋆
TriviaQA ⋆
HotpotQA †
2Wiki ⋆
Musique ⋆
Avg.
Basic LLM
Direct Infer ♠
0.165
0.162
0.347
0.361
0.347
0.135
0.253
CoT ♠
0.399
0.316
0.618
0.436
0.344
0.243
0.393
RAG-Based
Vanilla RAG
0.401
0.275
0.623
0.445
0.376
0.257
0.396
HippoRAG2
0.465
0.329
0.668
0.501
0.428
0.416
0.468
LinearRAG
0.436
0.334
0.661
0.487
0.469
0.403
0.465
Appendix
Table 10: Overall F-1 on six QA datasets. ♠ denotes the best result among different scale of LLMs. † denotes the in-domain dataset, and ⋆ denotes the cross-domain dataset. Bold and underline indicate the best and best baseline results, respectively.
Figure 4: Reward curve
Method
NQ
HotpotQA
w/o curriculum
0.391
0.406
w/ curriculum
0.426
0.461
Appendix
Table 11: Ablation study of curriculum cost-aware reward.
Figure 5: Routing statistics of both reward formulation.
Method
NQ
HotpotQA
GraphRAG-only
0.393
0.408
RAPTOR-only
0.376
0.417
LinearRAG-only
0.398
0.433
HyperGraphRAG-only
0.368
0.401
HippoRAG2-only
0.401
0.442
ALL
0.426
0.461
Appendix
Table 12: Ablation study of GraphRAG routing pool.
Method
NQ
HotpotQA
Mix
0.405
0.413
Two-stage
0.426
0.461
Appendix
Table 13: Ablation study of different RL procedure.
Figure 6: Routing statistics of both RL procedure.
Graph-based retrieval can improve multi-hop question answering, but existing approaches often incur high query-time costs and produce diffuse, oversized contexts that reduce generation efficiency. We present LiteRAG, a graph-based retrieval method that replaces expensive retrieval-time LLM control with query-conditioned algorithmic exploration and reasoning-chain context construction. On DistComp, a benchmark for multi-hop retrieval over distributed-systems papers, LiteRAG attains the highest overall quality among the evaluated methods (0.798) while reducing per-query latency by over 100× and cost by over 99% relative to GraphRAG Global and DRIFT. On UltraDomain, it matches LinearRAG on overall quality while using about 14× fewer tokens. An ablation study indicates that LiteRAG's query-adaptive thresholding and community-aware hub penalization are the main drivers of its token-efficiency gains.
Daniel Alejandro Coll Tejeda, Pedro García López, Daniel Barcelona-Pons
Agentic GraphRAG trains language-model agents to iteratively retrieve and reason over graph-structured evidence, enabling more accurate and context-aware decision-making by efficiently navigating complex information networks. However, outcome-only reinforcement learning suffers from answer-path reward aliasing, where correct answers may come from shortcuts rather than useful evidence paths. It also exhibits search-update ambiguity, as scalar trajectory-level feedback does not indicate which retrieval actions to adjust. To mitigate these shortcomings, we present PathRouter, a path-aware training framework for agentic GraphRAG. PathRouter jointly evaluates each trajectory along answer correctness and evidence-path overlap, yielding four trajectory categories with differentiated GRPO advantage scaling that suppresses shortcut reinforcement while preserving evidence-seeking behavior. For evidence-poor trajectories, a frozen gold-evidence teacher provides token-level KL guidance on reasoning and search-query tokens, excluding answer tokens to avoid direct response imitation. Experiments on six QA benchmarks across three model sizes show that PathRouter consistently improves answer F1 and evidence-path overlap, achieving average F1 gains of 3.1 on 3B and 4.9 on 7B models compared to a strong baseline.
Bo Wang, Heyan Huang, Yaolin Li +6
Beijing Institute of Technology · Joy Future Academy
Graph-based Retrieval-Augmented Generation (RAG) systems leverage interconnected knowledge structures to capture complex relationships that flat retrieval struggles with, enabling multi-hop reasoning. Yet most existing graph-based methods suffer from (i) heuristic designs lacking theoretical guarantees for subgraph quality or relevance and/or (ii) the use of static exploration strategies that ignore the query's holistic meaning, retrieving neighborhoods or communities regardless of intent. We propose Query-Aware Flow Diffusion RAG (QAFD-RAG), a training-free framework that dynamically adapts graph traversal to each query's holistic semantics. The central innovation is query-aware traversal: during graph exploration, edges are dynamically weighted by how well their endpoints align with the query's embedding, guiding flow along semantically relevant paths while avoiding structurally connected but irrelevant regions. These query-specific reasoning subgraphs enable the first statistical guarantees for query-aware graph retrieval, showing that QAFD-RAG recovers relevant subgraphs with high probability under mild signal-to-noise conditions. The algorithm converges exponentially fast, with complexity scaling with the retrieved subgraph size rather than the full graph. Experiments on question answering and text-to-SQL tasks demonstrate consistent improvements over state-of-the-art graph-based RAG methods.