New method · Information retrieval
CO-GRAFT maps which search-agent roles drive reinforcement-learning gains
Search agents can improve after reinforcement learning, but an accuracy score alone does not show what changed. CO-GRAFT gives each part of an answer-making process—reasoning, search decisions, queries, or final answers—to either the trained agent or its pre-training version, in every combination. On Natural Questions, the Llama-3.2-3B base agent gained +31.6 exact-match points over its pre-training version, whose exact-match score was 12.6%. The method helps attribute gains, not improve an agent by itself, and results come from limited test samples.
- Exact-match gain for Llama-3.2-3B base on Natural Questions+31.6 EM pointsagainst 12.6% exact match for its pre-RL agent
- Exact-match gain for Qwen2.5-3B base on HotpotQA+29.7 EM pointsagainst 9.2% exact match for its pre-RL agent
- Upper limit on query generation’s share of total RL gain15%
- Data and benchmarks
- NQ, HotpotQA
- Released by the authors
- None listed in the paper
CO-GRAFT’s main points on search-agent role attribution
- Roles can interact. The method tests every combination of the four roles, so it can distinguish a role’s solo contribution from gains that appear when roles work together.
- Reasoning leads here. For Qwen2.5-3B base on NQ, reasoning received 70% of the gain attribution; for Llama-3.2-3B base, reasoning and decision worked together, with a +8.8-point interaction on NQ.
- Some gains are small. Llama-3.2-3B instruct gained +3.2 points on NQ and +1.3 on HotpotQA; the paper did not report role shares for either result because the gains fell below its threshold.
- Search depth matters. For Qwen2.5-7B base with PPO on NQ, the agent averaged 4.0 searches per question, and the decision role received 77% of the attribution; its standalone reasoning share was -27%.
- A diagnostic, not a model. CO-GRAFT evaluates trained and pre-training policies together without changing their weights or retraining them; the paper reports no linked implementation resource.
Bottom line. The results support using CO-GRAFT to investigate which roles and role combinations account for accuracy gains in these search agents. They do not show that the attribution pattern will hold for larger models, other training recipes, or live web search, or that the method itself improves answers.
What CO-GRAFT asks about search-agent improvements
A search agent may reason about a question, decide whether to search, write a query, and produce an answer. If its score improves after reinforcement learning (training based on feedback), that score alone does not say which of those behaviors changed or whether some only help in combination.
Think of a team completing a task: to find out who contributed, you can try different combinations of team members. CO-GRAFT does something similar with an agent’s roles, assigning each role to either the trained model or its pre-training version and testing the resulting answers.
The paper tests the method on two question-answering datasets:
- Natural Questions (NQ), treated in this paper as a single-hop question set.
- HotpotQA, a set of natural questions that require combining information across steps; its project describes it as a multi-hop question-answering dataset.1
CO-GRAFT results on Natural Questions and HotpotQA
The main measure is exact match (EM): whether the final answer exactly matches the reference answer. For Llama-3.2-3B base on NQ, reinforcement learning improved EM by +31.6 points over the pre-training agent, which scored 12.6%; on HotpotQA the gain was +22.4 points over a pre-training score of 9.6%.
Other results show how the gains and their attributions vary by model and setting:
- Qwen2.5-3B base gained +29.4 EM points on NQ over its pre-training score of 15.8%, and +29.7 points on HotpotQA over 9.2%. Reasoning received 70% of the NQ gain attribution and 81% on HotpotQA.
- Query generation never received more than 15% of the reported total gain attribution across the evaluated settings.
- For Qwen2.5-7B base on NQ, answer extraction received 38% of the attribution, compared with 40% for reasoning. The paper links shifts toward answer extraction to models that already produce well-formed answers before training.
- For Llama-3.2-3B instruct, the gains were +3.2 points on NQ and +1.3 on HotpotQA. The authors marked both as no gain for attribution purposes and did not report role shares.
- When the authors froze retrieved passages in two Qwen2.5 PPO settings, query attribution fell by 60–100% (0.6–2.5 EM points). They report that giving the RL agent control of reasoning yielded 11–22 EM points under both live and frozen retrieval.
- In a fixed-budget test, the best fixed number of searches matched the full RL agent within one EM point. The authors interpret this as evidence for a task-level search budget rather than question-by-question stopping.
Of 16 head-to-head comparisons the paper prints, 14 favour its own contribution, 0 go against it and 2 are level.
| What was measured | Result | Compared with | Difference |
|---|---|---|---|
| RL-trained search agents | |||
| maximum EM improvement over pre-RL initialization, as stated in the abstract | 32 EM points | pre-RL initializations | |
| Qwen2.5-3B base on NQ | |||
| RL gain in EM over pre-RLbase; NQ | 29.4 EM points | pre-RL agent: 15.8 | +13.6 |
| Qwen2.5-3B base on HotpotQA | |||
| RL gain in EM over pre-RLbase; HotpotQA | 29.7 EM points | pre-RL agent: 9.2 | +20.5 |
| Qwen2.5-7B base on NQ | |||
| RL gain in EM over pre-RLbase; NQ | 22.7 EM points | pre-RL agent: 25.5 | -2.8 |
| Qwen2.5-7B base on HotpotQA | |||
| RL gain in EM over pre-RLbase; HotpotQA | 25.8 EM points | pre-RL agent: 18.3 | +7.5 |
| Qwen2.5-3B instruct on NQ | |||
| RL gain in EM over pre-RLinstruct; NQ | 19.5 EM points | pre-RL agent: 21.8 | -2.3 |
| Qwen2.5-3B instruct on HotpotQA | |||
| RL gain in EM over pre-RLinstruct; HotpotQA | 12.9 EM points | pre-RL agent: 22.0 | -9.1 |
| Qwen2.5-7B instruct on NQ | |||
| RL gain in EM over pre-RLinstruct; NQ | 11.0 EM points | pre-RL agent: 30.9 | -19.9 |
Show 32 more results
| What was measured | Result | Compared with | Difference |
|---|---|---|---|
| Qwen2.5-7B instruct on HotpotQA | |||
| RL gain in EM over pre-RLinstruct; HotpotQA | 8.3 EM points | pre-RL agent: 30.7 | -22.4 |
| CO-GRAFT | |||
| number of role assignments evaluatedfour functional roles | 16 role assignments | ||
| Query generation | |||
| maximum share of total RL gain across the reported studySearch-R1 agents evaluated on NQ and HotpotQA | 15 % | ||
| Reasoning role, Qwen2.5-3B base on NQ | |||
| role share of total RL gainbase; NQ; gain exceeds reporting threshold | 70 % | ||
| Decision role, Qwen2.5-3B base on NQ | |||
| role share of total RL gainbase; NQ; gain exceeds reporting threshold | 7 % | ||
| Query role, Qwen2.5-3B base on NQ | |||
| role share of total RL gainbase; NQ; gain exceeds reporting threshold | 6 % | ||
| Answer role, Qwen2.5-3B base on NQ | |||
| role share of total RL gainbase; NQ; gain exceeds reporting threshold | 17 % | ||
| Reasoning role, Qwen2.5-3B base on HotpotQA | |||
| role share of total RL gainbase; HotpotQA; gain exceeds reporting threshold | 81 % | ||
| Decision role, Qwen2.5-3B base on HotpotQA | |||
| role share of total RL gainbase; HotpotQA; gain exceeds reporting threshold | 1 % | ||
| Query role, Qwen2.5-3B base on HotpotQA | |||
| role share of total RL gainbase; HotpotQA; gain exceeds reporting threshold | 5 % | ||
| Answer role, Qwen2.5-3B base on HotpotQA | |||
| role share of total RL gainbase; HotpotQA; gain exceeds reporting threshold | 13 % | ||
| Reasoning role, Qwen2.5-7B base on NQ | |||
| role share of total RL gainbase; NQ; gain exceeds reporting threshold | 40 % | ||
| Decision role, Qwen2.5-7B base on NQ | |||
| role share of total RL gainbase; NQ; gain exceeds reporting threshold | 9 % | ||
| Query role, Qwen2.5-7B base on NQ | |||
| role share of total RL gainbase; NQ; gain exceeds reporting threshold | 13 % | ||
| Answer role, Qwen2.5-7B base on NQ | |||
| role share of total RL gainbase; NQ; gain exceeds reporting threshold | 38 % | ||
| Reasoning role, Qwen2.5-7B base on HotpotQA | |||
| role share of total RL gainbase; HotpotQA; gain exceeds reporting threshold | 45 % | ||
| Decision role, Qwen2.5-7B base on HotpotQA | |||
| role share of total RL gainbase; HotpotQA; gain exceeds reporting threshold | 18 % | ||
| Query role, Qwen2.5-7B base on HotpotQA | |||
| role share of total RL gainbase; HotpotQA; gain exceeds reporting threshold | 5 % | ||
| Answer role, Qwen2.5-7B base on HotpotQA | |||
| role share of total RL gainbase; HotpotQA; gain exceeds reporting threshold | 32 % | ||
| Reasoning role, Qwen2.5-3B instruct on NQ | |||
| role share of total RL gaininstruct; NQ; gain exceeds reporting threshold | 36 % | ||
| Decision role, Qwen2.5-3B instruct on NQ | |||
| role share of total RL gaininstruct; NQ; gain exceeds reporting threshold | 21 % | ||
| Query role, Qwen2.5-3B instruct on NQ | |||
| role share of total RL gaininstruct; NQ; gain exceeds reporting threshold | 4 % | ||
| Answer role, Qwen2.5-3B instruct on NQ | |||
| role share of total RL gaininstruct; NQ; gain exceeds reporting threshold | 39 % | ||
| Reasoning role, Qwen2.5-3B instruct on HotpotQA | |||
| role share of total RL gaininstruct; HotpotQA; gain exceeds reporting threshold | 69 % | ||
| Decision role, Qwen2.5-3B instruct on HotpotQA | |||
| role share of total RL gaininstruct; HotpotQA; gain exceeds reporting threshold | 12 % | ||
| Query role, Qwen2.5-3B instruct on HotpotQA | |||
| role share of total RL gaininstruct; HotpotQA; gain exceeds reporting threshold | 4 % | ||
| Answer role, Qwen2.5-3B instruct on HotpotQA | |||
| role share of total RL gaininstruct; HotpotQA; gain exceeds reporting threshold | 15 % | ||
| Reasoning role, Qwen2.5-7B instruct on NQ | |||
| role share of total RL gaininstruct; NQ; gain exceeds reporting threshold | 34 % | ||
| Decision role, Qwen2.5-7B instruct on NQ | |||
| role share of total RL gaininstruct; NQ; gain exceeds reporting threshold | 6 % | ||
| Query role, Qwen2.5-7B instruct on NQ | |||
| role share of total RL gaininstruct; NQ; gain exceeds reporting threshold | 14 % | ||
| Answer role, Qwen2.5-7B instruct on NQ | |||
| role share of total RL gaininstruct; NQ; gain exceeds reporting threshold | 46 % | ||
| Reasoning role, Qwen2.5-7B instruct on HotpotQA | |||
| role share of total RL gaininstruct; HotpotQA; gain exceeds reporting threshold | 35 % | ||
How CO-GRAFT assigns roles during live search
CO-GRAFT measures the contribution of each role by constructing and scoring grafted answers:
- Split the agent’s generated text into reasoning, search-or-answer decision, query, and final-answer roles. Retrieved passages are supplied by the search environment, not assigned to either model.
- For each role, choose whether the RL-trained agent or its pre-training version generates it. Each model sees the full preceding text and any passages returned by live retrieval.
- Run every one of the 16 possible role assignments on the same evaluation questions, without changing model weights or retraining.
- Use the exact-match scores to attribute gain to individual roles and to interactions between roles. Shapley values summarize each role’s attribution; Möbius interaction terms show when a combination contributes beyond its separate roles.
What CO-GRAFT’s search-agent results leave untested
These results are a diagnosis relative to each model’s chosen pre-training baseline, not a general ranking of search agents. The authors report about one EM point of serving variation, and the evaluation uses fixed random subsets rather than full test sets.
That evidence leaves several limits on how broadly to read the findings:
- The tested models are no larger than 7B parameters; the authors do not evaluate 14B or 32B model pairs.
- The fixed-search and frozen-passage checks cover only two Qwen2.5 PPO pairs. The best fixed budget is selected on the evaluation set, which the authors describe as an upper-bound estimate.
- Reasoning groups together planning, passage synthesis, and structural formatting, so the results cannot separate those behaviors.
- A negative or small role attribution is not the same as a negative or small overall accuracy gain; it describes the role’s contribution within the decomposition.
- The paper does not test longer training, query-level process rewards, or live web search, which could change the attribution pattern.
8 limits the authors state themselves
- CO-GRAFT attributes differences between a trained policy and its pre-RL initialization, rather than assessing a checkpoint independently.
- Attribution shares depend on the selected pre-RL baseline and average marginal contributions across role permutations; with substantial interactions, Shapley shares alone do not preserve joint dependencies.
- The role boundaries use structural action tags, so internal planning, passage synthesis, and structural formatting are grouped inside reasoning; finer-grained reasoning analysis is left for future work.
- The study omits 14B and 32B model pairs because of compute constraints.
- Batched greedy decoding introduces approximately one EM point of serving variance.
- The fixed-budget and retrieval-swap diagnostics are restricted to two Qwen2.5 PPO model pairs and the two evaluated datasets.
- The fixed-budget diagnostic selects its optimal budget on the evaluation set, so the reported result is an upper-bound estimate within the stated noise floor.
- Other reward recipes, longer training, and live web search may lead to different role attributions.
Who can use CO-GRAFT to diagnose search agents
Researchers or engineers studying search agents can use the framework to ask whether training gains are associated with reasoning, search decisions, queries, final answers, or combinations of roles. The paper suggests this could help target future reward design, including query formulation and decisions about when evidence is sufficient.
CO-GRAFT and search-agent terms in plain language
- CO-GRAFT (Co-Policy Grafting)
- The paper’s method for assigning parts of a search agent’s answer-making process to either its trained model or its pre-training version, then comparing the outcomes.
- Reinforcement learning (RL)
- A way to train a model using feedback about its outputs; here it is used to train search agents.
- Exact match (EM)
- A measure of whether the final answer exactly matches the reference answer.
- Grafted rollout
- One answer-making run in which the trained model and its pre-training version each generate selected roles.
- Shapley value
- A way to share the total gain among roles by averaging each role’s contribution across different combinations.
- Möbius interaction term
- A measure of the extra contribution associated with a group of roles beyond the contributions of its smaller subgroups.
- Valid-answer rate
- The fraction of questions for which the agent produces a well-formed answer block.
- NQ
- Natural Questions, one of the two question-answering datasets used in the paper.
- HotpotQA
- A question-answering dataset with questions that require reasoning across multiple steps.
- Reasoning (R)
- All reasoning tokens generated before the next action tag; it includes intermediate reasoning and, under the paper’s stated limitation, internal planning, passage synthesis, and structural formatting.
- Decision (D)
- The choice of whether to invoke search, terminate and answer, or terminate an incomplete turn.
- Query (Q)
- The search query text generated when the agent chooses to search.
- Answer (A)
- The final answer text produced after retrieval concludes.
- no gain
- A label used when overall RL gain is below four EM points, rather than reporting normalized role shares.
Questions about CO-GRAFT and search-agent gains
What does CO-GRAFT measure in an RL-trained search agent?
It attributes the change in exact-match accuracy between an RL-trained agent and its pre-training version to reasoning, search decisions, queries, final answers, and combinations of those roles.
How does CO-GRAFT test which search-agent roles contribute to accuracy?
It assigns each role to either the trained agent or its pre-training version, tests every role assignment with live retrieval, and analyzes the resulting exact-match scores.
How much do search queries contribute to the RL gains in this study?
The paper reports that query generation receives no more than 15% of total gain attribution across its evaluated NQ and HotpotQA settings.
Does CO-GRAFT show that search agents stop based on each question’s evidence?
Not in the tested fixed-budget diagnostic. The best fixed search budget matched the full RL agent within one EM point, which the authors interpret as a task-level search depth rather than adaptive stopping.
CO-GRAFT claims, method and evidence in detail
Everything below is recorded from the paper and matched against its text.
What the paper claims, in its own terms
- Proven
Shapley role attributions sum exactly to the total RL gain.
Holds when: The four role values are measured for the cooperative game.
- Shown
Query generation contributes no more than 15% of total RL gain across the reported NQ and HotpotQA evaluation.
Holds when: Evaluated Search-R1 agents and reported settings.
- Shown
Pre-RL answer validity, search retention, and model scale shape the allocation of gain between reasoning and answer extraction.
Holds when: Evaluated Qwen2.5 and Llama-3.2 agents.
- Shown
The decision-role gain is consistent with learning a fixed task-level search budget rather than question-specific adaptive stopping.
Holds when: Fixed-budget test across evaluated pairs; the optimal budget is chosen on the evaluation set.
- Shown
The query attribution reduction under frozen passages supports the interpretation that query gains come from retrieval rather than query-text conditioning.
Holds when: Qwen2.5-3B and Qwen2.5-7B PPO pairs.
- Shown
Larger or well-formatted checkpoints tend to shift attribution from reasoning toward answer extraction, while smaller base models can rely on reasoning–decision coupling.
Holds when: Patterns reported across the studied model families and settings.
- Shown
The starting model generally determines role attribution, with optimizer changes disrupting it when they drive search to the turn boundary.
Holds when: Comparison of GRPO and PPO public checkpoints for four focal models.
The method, step by step
- Partition every model-generated trajectory token into reasoning, decision, query, or answer; passages inserted by the retriever are not assigned to a role.
- For each role subset, have the RL donor generate its assigned roles and the pre-RL recipient generate the rest, conditioning on the full prefix and live retrieved passages.
- Enforce role hand-offs at whole-token boundaries, re-decode the decision tag after reasoning, and treat malformed or unclosed tags as invalid turns.
- Evaluate all 16 role combinations on a fixed evaluation subset and measure mean exact match for each combination.
- Compute Shapley role attributions and Möbius interaction terms from the 16 scores; report normalized shares only when the overall gain is at least four EM points.
New in this paper
- CO-GRAFT’s joint, live-retrieval role grafting between an RL policy and its exact pre-RL initialization.
- The use of all role assignments to obtain Shapley attribution and Möbius interaction terms without changing weights, accessing training rewards, or retraining.
Taken from earlier work
- The Search-R1 trajectory format and inference loop are followed from prior work.
- Shapley values and Möbius interaction terms use the established constructions attributed in the paper to Shapley (1953) and Harsanyi (1963).
- The authors adapt the Search-R1 GRPO training recipe.
Assumptions
- The four structural roles exhaustively and non-overlappingly assign every model-generated token.
- Retrieved information passages are external to the policies and do not belong to a player.
- The pre-RL initialization is the comparison baseline for the trained policy.
- The paper treats four EM points as the threshold for reporting normalized role shares, citing a single-point decoding noise floor.
Methods, datasets and ideas it names
- donorConcept · Used
The RL-trained agent that controls the roles assigned to the trained policy.
- recipientConcept · Used
The exact pre-RL initialization that controls roles not assigned to the donor.
- grafted rolloutMethod · Introduced here
A trajectory jointly generated by the RL agent and pre-RL model, each controlling a non-overlapping subset of roles.
- cooperative gameConcept · Used
The game defined by the mean exact-match score for each possible assignment of roles to the RL agent.
- Shapley valueMeasure · Used
An order-invariant attribution of the RL gain to a role, calculated from weighted marginal contributions across role assignments.
- Möbius interaction termMeasure · Used
A measure of residual gain associated with a role combination after accounting for its subsets.
- Exact Match (EM)Measure · Used
The primary metric, computed on the final answer block.
- valid-answer rateMeasure · Used
The fraction of questions with a well-formed answer block.
- NQDataset · Used
One of the two evaluation datasets used in the study.
- HotpotQADataset · Used
One of the two evaluation datasets used in the study.
- GRPOMethod · Used
The optimizer used for the Search-R1 recipe and for the authors’ additional training.
- PPOMethod · Compared against
An optimizer whose public checkpoints are compared with GRPO checkpoints.
How the evidence was gathered
- Samples or repeats
- 1,000 questions each from NQ and HotpotQA; 16 role assignments per question. Harness checks cover 32 comparisons (8 model pairs, two datasets, and two policy behaviors).
- Uncertainty reported
- For some results
- Significance tested
- No
- Notes
- The paper reports approximately one EM point of serving variance from batched greedy decoding and says the harness matched Search-R1 accuracy within single-point EM noise in 28 of 32 cases; the other four differed by at most 2.3 points. No significance tests are reported.
Questions the paper leaves open
- How would role attributions change with query-level process rewards, longer optimization schedules, or live web search?
- Would finer-grained subdivisions of the reasoning role reveal different sources of gain?
- How do attribution patterns extend to model pairs larger than 7B parameters?
Sources
- 1HotpotQA Homepagehotpotqa.github.io
Paper details
- Title
- CO-GRAFT: Attributing Reinforcement Learning Gains in Search Agents via Role-Level Policy Grafting
- Authors
- Ramraj Chandradevan, Sayontan Ghosh, Vinoth Selvendran
- Published
- 23 November 2026
- Version read
- v1
- Field
- Information retrieval
- arXiv
- 2611.31185
This explanation was written for this site from the paper's own source. 125 passages and figures recorded from the paper were matched against its own text; 8 that could not be matched were left off this page. It does not judge whether the paper is right, and most papers on arXiv have not been peer reviewed. Read the paper before relying on a result.