Reinforcement learning (RL) improves large language model search agents by up to 32 exact-match (EM) points over their pre-RL initializations, yet overall accuracy gains do not identify which underlying functional capabilities improve or interact during training. We introduce CO-GRAFT, a reward-agnostic interventional attribution framework in which an RL-trained agent and its pre-RL initialization jointly generate a single trajectory under closed-loop execution with live retrieval. Each policy controls a mutually exclusive subset of four functional roles: intermediate reasoning, search-or-answer decision, search query generation, and final answer extraction. Evaluating all 2^4=16 role assignments without modifying weights or retraining defines a cooperative game whose Shapley values decompose the total RL gain across roles, while M"obius interaction terms distinguish standalone role improvements from multi-role coupling. Applying CO-GRAFT to Search-R1 agents across Qwen2.5 and Llama-3.2 models (spanning two sizes, base and instruction-tuned initializations, GRPO and PPO optimizers, and NQ and HotpotQA datasets), we show that query generation never exceeds 15% of the total gain; instead, gains are governed by pre-RL answer validity, search retention, model scale, and fixed task-level search budgets, shifting credit from reasoning toward answer extraction in larger or well-formatted answer response checkpoints while smaller base models rely on reasoning--decision coupling.
Figures & tables
Figure 1: Overview of the CO-GRAFT framework for attributing RL performance gains. (a) A search-agent trajectory partitioned into four roles: reasoning R , decision D , query Q , and answer A ; gray passages are returned by the environment. (b) A grafted trajectory for S={R,A} : the RL agent (filled) generates R and A , while its pre-RL model (outlined) generates D and Q during live retrieval. (c) The 4×4 grid of all 16 role combinations, indexed by the roles owned by the RL agent ( row∪column ) while the pre-RL model generates the remaining roles: columns add search roles ( D , Q ) and rows add reasoning and answer roles ( R , A ), progressing from ∅ (top left, pre-RL model alone) to {R,D,Q,A} (bottom right, RL agent alone). Each cell reports the mean EM (%) of the grafted policy on the same 1,000 evaluation questions (darker shading indicates higher EM), alongside each role’s Shapley percentage share of total gain v(N)−v(∅) for Qwen2.5-3B base (GRPO, NQ) and Qwen2.5-7B base (PPO, HotpotQA).
recipient
type
data
pre-RL
RL
Δ
srch
valid
R
D
Q
A
Qwen2.5-3B
base
NQ
15.8
45.2
+29.4
0.9 → 1.1
53 → 98
70
7
6
17
HotpotQA
9.2
38.9
+29.7
0.9 → 1.6
51 → 97
81
1
5
13
Qwen2.5-7B
base
NQ
25.5
48.2
+22.7
1.4 → 1.1
79 → 100
40
9
13
38
HotpotQA
18.3
44.1
+25.8
1.6 → 1.6
66 → 100
45
18
5
32
Qwen2.5-3B
instruct
NQ
21.8
41.3
+19.5
1.0 → 1.3
97 → 100
36
21
4
39
HotpotQA
22.0
34.9
+12.9
1.2 → 1.9
94 → 99
69
12
4
15
Table 1: Main results showing the RL gain attribution study using our proposed CO-GRAFT framework. pre-RL , RL , and Δ refer to EM (%) of the pre-RL agent, the RL agent, and their difference, where as srch and valid refer to searches per question and valid-answer rate (%) shown as pre-RL agent → RL agent. Shares (%) for roles (R: Reason, D: Decision, Q: Query, and A: Answer) are reported when the gain ( Δ ) exceeds 4 points.
Möbius terms
Shapley values
one role
two roles
three and four roles
agent
gain
R
D
Q
A
R × D
R × Q
R × A
D × Q
D × A
Q × A
RDQ
RDA
RQA
DQA
RDQA
R
D
Q
A
NQ
Qwen2.5-3B base
29.4
+18.8
+0.6
+2.5
+5.7
+2.0
− 1.1
− 2.2
− 1.7
− 2.9
− 1.4
+1.8
+5.2
+1.6
+2.1
− 1.6
+20.6
+1.9
+1.8
+5.0
Qwen2.5-3B instruct
19.5
+11.0
+6.2
+3.6
+13.8
− 2.5
− 4.4
− 8.9
− 1.7
− 7.3
− 4.1
+2.9
+7.7
+4.1
+3.2
− 4.1
+7.0
+4.0
+0.9
+7.6
Qwen2.5-7B base
22.7
+11.7
+4.7
+3.6
+8.6
− 4.6
− 0.6
+0.9
− 1.6
− 0.7
+0.1
+2.1
+0.4
− 1.1
+3.0
− 3.8
+9.1
+2.1
+2.9
+8.6
Table 2: Möbius terms and Shapley values (EM points) of four GRPO agents on NQ and HotpotQA. Roles R, D, Q, and A refer to the same in Table 1 . The 15 Möbius terms of a row sum to the gain. Cell shading highlights positive terms in blue and negative terms in red. Largest Shapley value is in bold.
model
data
opt.
Δ
srch
R
D
Q
A
Qwen2.5-3B
NQ
GRPO
+29.4
1.1
70
7
6
17
base
PPO
+27.7
2.1
83
-1
2
16
Hotpot
GRPO
+29.7
1.6
81
1
5
13
PPO
+26.8
2.2
67
7
8
18
Qwen2.5-3B
NQ
GRPO
+19.5
1.3
36
21
4
39
instruct
PPO
+12.8
1.9
31
17
6
46
Table 3: Role gain attribution between GRPO vs. PPO public checkpoints. Δ , srch , R, D, Q, and A refer to the same in Table 1 . Largest share among roles are in bold.
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
role
alone
21 pairs
31 triples
41 four
Shapley
Qwen2.5-3B base, NQ (gain 29.4)
R
+18.8
− 0.7
+2.9
− 0.4
+20.6
D
+0.6
− 1.3
+3.0
− 0.4
+1.9
Q
+2.5
− 2.1
+1.8
− 0.4
+1.8
A
+5.7
− 3.3
+3.0
− 0.4
+5.0
Llama-3.2-3B base, NQ (gain 31.6)
Appendix
Table 4: Shapley values rebuilt from the Möbius terms of Table 2 (EM points). alone : the single-role term; the next three columns: half of the sum of the two-role terms that contain the role, a third of the three-role terms and a quarter of the four-role term. The four parts add up to the Shapley value, up to rounding.
Figure 2: Interaction matrices for the four GRPO-trained agents in Table 2 on NQ (left) and HotpotQA (right), measured in EM points. Outlined diagonal entries denote standalone role gains when the RL agent controls a single role. Off-diagonal entries show pairwise Möbius terms (joint two-role gain minus the sum of standalone gains). Right-hand bars report each role’s Shapley value in EM points (and percentage share of total gain). H denotes the unweighted sum of all three- and four-role Möbius terms, whereas diagonal entries, upper-triangular pairs, and H sum to the total RL gain. Color shading is shown in the heatmap bar that saturates at ±9 points.
Search agents enable Large Language Models (LLMs) to iteratively retrieve and use information for complex multi-hop questions. Reinforcement Learning with Verifiable Rewards (RLVR) offers a promising approach for post-training such agents, but its reliance on sparse, outcome-based supervision can make credit assignment difficult and limit learning efficiency. In this paper, we systematically investigate how intermediate supervision can improve reinforcement learning for search agents. We study a range of reward-shaping and credit-assignment strategies that provide learning signals from intermediate retrieval steps. Building on these insights, we develop a training framework that combines intermediate signals with final outcome rewards to improve learning from multi-step search trajectories. Experiments across multiple benchmarks under matched training conditions demonstrate improvements in aggregate search-agent performance and show that both the choice of intermediate signal and where its credit is assigned affect training behaviour. These findings show that reward design and credit assignment are important design dimensions for training effective search agents.
Wenyu Huang, Xinyu Hou, Pavlos Vougiouklis +2
University of Edinburgh, UK · Huawei Technologies Research & Development (UK) Limited
Search-augmented language agents should retrieve external information only when necessary and ground their answers in retrieved evidence. Yet terminal correctness assigns equal credit to direct answers from parametric knowledge, evidence-grounded answers, and answers recalled after redundant search. Process supervision and LLM judges provide richer feedback but can require high-cost annotation or inference; low-cost, non-contrastive policy confidence signals do not directly identify whether retrieved evidence changes an answer. We propose Search-G1, a reward framework that couples retrieval necessity with evidence reliance through two intervention-calibrated hidden-state readouts for selective grounded search. A prompt readout predicts closed-book sufficiency, whose complement proxies policy-relative retrieval necessity; an answer-commit readout predicts evidence reliance as sensitivity to evidence deletion conditional on the realized reasoning prefix. A correctness-first reward gates evidence-reliance credit by retrieval necessity, rewards sufficient direct answers, and penalizes repeated search. After calibration, scoring needs neither process annotations nor LLM-judge inference. As policy-relative targets, trajectory distributions, and representations may drift, Search-G1 periodically regenerates targets and refits its readouts. Across four QA benchmarks and two scales, Search-G1 achieves competitive task accuracy, with stronger counterfactual evidence dependence and fewer searches in the main comparisons, complemented by independent human audits of answer support.
Ruoxi Cheng, Haoxuan Ma, Hongyi Zhang +7
Fudan University · Tencent · Nanjing University +2
Reinforcement learning has emerged as an effective paradigm for training large language models to perform search-augmented reasoning. However, existing approaches rely on trajectory-level rewards that cannot distinguish precise search queries from vague or redundant ones within a rollout group, and collapse to a near-zero gradient signal whenever every sampled trajectory fails. In this paper, we propose IG-Search, a reinforcement learning framework that introduces a step-level reward based on Information Gain (IG). For each search step, IG measures how much the retrieved documents improve the model's confidence in the gold answer relative to a counterfactual baseline of random documents, thereby reflecting the effectiveness of the underlying search query. This signal is fed back to the corresponding search-query tokens via per-token advantage modulation in GRPO, enabling fine-grained, step-level credit assignment within a rollout. Unlike prior step-level methods that require either externally annotated intermediate supervision or shared environment states across trajectories, IG-Search derives its signals from the policy's own generation probabilities, requiring no intermediate annotations beyond standard question-answer pairs. Experiments on seven single-hop and multi-hop QA benchmarks demonstrate that IG-Search achieves an average EM of 0.430 with Qwen2.5-3B, outperforming the strongest trajectory-level baseline (MR-Search) by 1.6 points and the step-level method GiGPO by 0.9 points on average across benchmarks, with particularly pronounced gains on multi-hop reasoning tasks. Despite introducing a dense step-level signal, IG-Search adds only ~6.4% to per-step training wall-clock time over the trajectory-level baseline and leaves inference latency unchanged, while still providing a meaningful gradient signal even when every sampled trajectory answers incorrectly.