MetaRAG: Belief-Action Aligned Policy Optimization for Agentic RAG
Organizations: Zhejiang University · Ant Group · City University of Hong Kong
Abstract
Agentic retrieval-augmented generation (RAG) requires language models to decide when to continue searching and when to answer. Existing RL-based methods rely on external supervision and overlook the agent's internal belief about whether the current evidence is sufficient. To address this problem, we reformulate the search decision quality as belief-action alignment and propose MetaRAG, a belief-action aligned policy optimization framework for agentic RAG. MetaRAG uses Verify-first Action Generation to elicit an explicit verification process before each actual action, and Internal Belief Probing to estimate the policy model's own answerability belief from the same question-history context. Based on these, MetaRAG derives a consistency reward that is further gated by answer correctness, avoiding reinforcement of internally consistent but incorrect trajectories. The belief probe is used only during training and introduces no inference-time overhead. Experiments on seven public QA benchmarks show that MetaRAG consistently improves the accuracy-efficiency trade-off over strong RL-based agentic RAG baselines, with gains that transfer to deep research settings, different optimizers, and multiple model backbones.
Figures & tables
| Method | Single-Hop QA | Multi-Hop QA | Avg. | |||||||||||||
| NQ † | TriviaQA ⋆ | PopQA ⋆ | HotpotQA † | 2Wiki ⋆ | MuSiQue ⋆ | Bamboogle ⋆ | ||||||||||
| Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | |
| Qwen2.5-3B-Instruct | ||||||||||||||||
| Search-R1 | 39.7 | 1.55 | 56.5 | 1.53 | 39.1 | 1.75 | 33.1 | 2.78 | 31.0 | 3.38 | 12.4 | 3.39 | 23.2 | 2.79 | 33.6 | 2.45 |
| HiPRAG | 43.0 | 1.01 | 59.8 | 1.01 | 42.0 | 1.02 | 36.0 | 2.14 | 40.5 | 2.48 | 10.8 | 2.55 | 24.0 | 2.02 | 36.6 | 1.75 |
| GiGPO ‡ | 45.1 | 1.00 | 60.9 | 0.99 | 44.9 | 1.17 | 38.0 | 1.24 | 37.1 | 1.55 | 14.5 | 1.81 | 37.9 | 1.49 | 39.8 | 1.32 |
| Variant | Acc. | Searches |
|---|---|---|
| Core Components | ||
| w/o Consistency Reward | 41.9 | 2.14 |
| w/o Verify-before-Action | 40.4 | 1.38 |
| Diagnostic Signal | ||
| Over-Search Only | 41.3 | 1.33 |
| Under-Search Only | 42.4 | 2.56 |
| Method | Acc. (%) | Rec. (%) | Searches |
|---|---|---|---|
| Qwen3-32B | |||
| Base | 3.61 | 3.12 | 0.92 |
| Qwen2.5-7B-Instruct | |||
| Search-R1 | 1.45 | 2.78 | 2.38 |
| HiPRAG | 1.69 | 2.71 | 2.62 |
| GiGPO | 2.65 | 3.10 | 2.32 |
| Setting | Method | Acc. | Searches |
|---|---|---|---|
| RL Optimizer on Qwen2.5-3B-Instruct | |||
| GRPO | GiGPO | 39.8 | 1.32 |
| GRPO | MetaRAG | 41.7 | 1.60 |
| DAPO | GiGPO | 44.8 | 2.31 |
| DAPO | MetaRAG | 45.7 | 2.51 |
| PPO | MetaRAG | 41.1 | 1.45 |
| Belief Probe | Single-Hop QA | Multi-Hop QA | Avg. | |||||||||||||
| NQ † | TriviaQA ⋆ | PopQA ⋆ | HotpotQA † | 2Wiki ⋆ | MuSiQue ⋆ | Bamboogle ⋆ | ||||||||||
| Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | |
| Qwen2.5-3B-Instruct | ||||||||||||||||
| 45.6 | 1.17 | 62.8 | 1.19 | 48.0 | 1.27 | 41.3 | 1.58 | 39.1 | 1.87 | 15.9 | 2.24 | 39.5 | 1.90 | 41.7 | 1.60 | |
| Internal Confidence | 48.0 | 1.47 | 62.5 | 1.54 | 48.7 | 1.58 | 42.3 | 1.79 | 41.2 | 1.83 | 16.6 | 2.26 | 37.9 | 1.94 | 42.5 | 1.77 |
| Method | Single-Hop QA | Multi-Hop QA | Avg. | |||||||||||||
| NQ † | TriviaQA ⋆ | PopQA ⋆ | HotpotQA † | 2Wiki ⋆ | MuSiQue ⋆ | Bamboogle ⋆ | ||||||||||
| Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | |
| Qwen2.5-3B-Instruct | ||||||||||||||||
| -GRPO | 39.3 | 1.28 | 59.3 | 0.90 | 35.7 | 1.50 | 31.6 | 2.45 | 39.1 | 2.85 | 10.7 | 2.50 | 34.4 | 2.15 | 35.7 | 2.15 |
| MetaRAG | 45.6 | 1.17 | 62.8 | 1.19 | 48.0 | 1.27 | 41.3 | 1.58 | 39.1 | 1.87 | 15.9 | 2.24 | 39.5 | 1.90 | 41.7 | 1.60 |
| Method | Single-Hop QA | Multi-Hop QA | Avg. | |||||||||||||
| NQ † | TriviaQA ⋆ | PopQA ⋆ | HotpotQA † | 2Wiki ⋆ | MuSiQue ⋆ | Bamboogle ⋆ | ||||||||||
| Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | |
| Qwen2.5-3B-Instruct | ||||||||||||||||
| GiGPO | 45.1 | 1.00 | 60.9 | 0.99 | 44.9 | 1.17 | 38.0 | 1.24 | 37.1 | 1.55 | 14.5 | 1.81 | 37.9 | 1.49 | 39.8 | 1.32 |
| MetaRAG (GRPO) | 45.6 | 1.17 | 62.8 | 1.19 | 48.0 | 1.27 | 41.3 | 1.58 | 39.1 | 1.87 | 15.9 | 2.24 | 39.5 | 1.90 | 41.7 | 1.60 |
| MetaRAG (GiGPO) | 47.3 | 1.30 | 63.0 | 1.31 | 48.8 | 1.40 | 43.2 | 1.73 | 42.9 | 2.08 | 16.4 | 2.10 | 40.1 | 1.74 | 43.1 | 1.67 |
| Method | External Under-Search Rate (%) |
|---|---|
| Qwen2.5-3B-Instruct | |
| GiGPO | 35.6 |
| MetaRAG | 30.1 |
| Variant | Single-Hop QA | Multi-Hop QA | Avg. | |||||||||||||
| NQ † | TriviaQA ⋆ | PopQA ⋆ | HotpotQA † | 2Wiki ⋆ | MuSiQue ⋆ | Bamboogle ⋆ | ||||||||||
| Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | |
| Core Components | ||||||||||||||||
| w/o Consistency Reward | 46.5 | 2.03 | 62.4 | 2.04 | 48.1 | 2.08 | 41.7 | 2.12 | 41.0 | 2.20 | 16.0 | 2.34 | 37.9 | 2.14 | 41.9 | 2.14 |
| w/o Verify-before-Action | 45.6 | 1.09 | 60.4 | 1.12 | 45.0 | 1.21 | 40.1 | 1.38 | 39.0 | 1.60 | 15.4 | 1.70 | 37.5 | 1.57 | 40.4 | 1.38 |
| Diagnostic Signal | ||||||||||||||||
| Method | Single-Hop QA | Multi-Hop QA | Avg. | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NQ † | TriviaQA ⋆ | PopQA ⋆ | HotpotQA † | 2Wiki ⋆ | MuSiQue ⋆ | Bamboogle ⋆ | ||||||||||
| Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | |
| Qwen2.5-3B-Instruct | ||||||||||||||||
| GiGPO | 45.1 | 1.00 | 60.9 | 0.99 | 44.9 | 1.17 | 38.0 | 1.24 | 37.1 | 1.55 | 14.5 | 1.81 | 37.9 | 1.49 | 39.8 | 1.32 |
| GiGPO w/ VF-Inf | 44.7 | 1.04 | 60.8 | 1.03 | 44.4 | 1.17 | 38.4 | 1.28 | 36.6 | 1.63 | 13.3 | 1.85 | 37.2 | 1.52 | 39.3 | 1.36 |
| MetaRAG | 45.6 | 1.17 | 62.8 | 1.19 | 48.0 | 1.27 | 41.3 | 1.58 | 39.1 | 1.87 | 15.9 | 2.24 | 39.5 | 1.90 | 41.7 | 1.60 |
| Setting | Single-Hop QA | Multi-Hop QA | Avg. | |||||||||||||
| NQ † | TriviaQA ⋆ | PopQA ⋆ | HotpotQA † | 2Wiki ⋆ | MuSiQue ⋆ | Bamboogle ⋆ | ||||||||||
| Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | |
| Consistency Reward Weight | ||||||||||||||||
| 46.5 | 2.03 | 62.4 | 2.04 | 48.1 | 2.08 | 41.7 | 2.12 | 41.0 | 2.20 | 16.0 | 2.34 | 37.9 | 2.14 | 41.9 | 2.14 | |
| (default) | 45.6 | 1.17 | 62.8 | 1.19 | 48.0 | 1.27 | 41.3 | 1.58 | 39.1 | 1.87 | 15.9 | 2.24 | 39.5 | 1.90 | 41.7 | 1.60 |
| 44.5 | 1.22 | 61.9 | 1.20 | 45.3 | 1.38 | 40.4 | 1.60 | 38.9 | 2.08 | 15.7 | 2.15 | 40.3 | 1.80 | 41.0 | 1.63 | |
| Method | GSM8K | SciQ | TriviaQA | Avg. | ||||
|---|---|---|---|---|---|---|---|---|
| AUROC | PRR | AUROC | PRR | AUROC | PRR | AUROC | PRR | |
| Perplexity | ||||||||
| Base | 56.0 | 16.1 | 60.1 | 22.7 | 62.5 | 22.6 | 59.5 | 20.5 |
| Search-R1 | 54.4 | 10.1 | 59.8 | 22.3 | 61.4 | 21.2 | 58.5 | 17.9 |
| HiPRAG | 52.2 | 2.7 | 57.9 | 18.9 | 62.4 | 24.4 | 57.5 | 15.3 |
| GiGPO | 56.2 | 13.8 | 56.8 | 14.6 | 63.7 | 26.7 | 58.9 | 18.4 |
| Setting | Method | Single-Hop QA | Multi-Hop QA | Avg. | |||||||||||||
| NQ † | TriviaQA ⋆ | PopQA ⋆ | HotpotQA † | 2Wiki ⋆ | MuSiQue ⋆ | Bamboogle ⋆ | |||||||||||
| Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | Acc. | Searches | ||
| RL Optimizer on Qwen2.5-3B-Instruct | |||||||||||||||||
| GRPO | GiGPO | 45.1 | 1.00 | 60.9 | 0.99 | 44.9 | 1.17 | 38.0 | 1.24 | 37.1 | 1.55 | 14.4 | 1.81 | 37.9 | 1.49 | 39.8 | 1.32 |
| GRPO | MetaRAG | 45.6 | 1.17 | 62.8 | 1.19 | 48.0 | 1.27 | 41.3 | 1.58 | 39.1 | 1.87 | 15.9 | 2.24 | 39.5 | 1.90 | 41.7 | 1.60 |
| DAPO | GiGPO | 47.3 | 2.01 | 63.6 | 1.91 | 48.3 | 2.13 | 46.2 | 2.30 | 46.6 | 2.56 | 19.8 | 2.78 | 42.0 | 2.46 | 44.8 | 2.31 |
| Method | Train / Step | Resp. Len. | Infer. / Query |
|---|---|---|---|
| Qwen2.5-7B-Instruct | |||
| HiPRAG | 525s | 151.4 | 0.1899s |
| GiGPO | 249s | 104.6 | 0.1179s |
| MetaRAG | 281s | 119.7 | 0.1453s |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.