Manuscript Offprint
arXiv:2610.35013Multiscale Policy Optimization for Long-Horizon LLM Agents
Tao Ren, Hui Yang, Jia Deng, Tingyang Chen, Qiyao Wang, Shuo Tang, Ziyang Zeng, Yuhua Jiang, Guanghao Li, Huatong Song, Yining Li, Yifan Luo, Kunbao Ding, Feng Chang, Chuan Hao, Ran Tao, Bryan Dai, Jiafeng Liang, Jinyang Jiang
Peking University IQuest Research Tsinghua University
Renmin University of China The University of Hong Kong Independent Researcher
Equal contribution. Corresponding authors.
Contact: rtkenny@stu.pku.edu.cn
Abstract
Long-horizon LLM agents interact with their environments through complete assistant turns while generating each action token by token. We observe that critic values vary primarily across turns, motivating optimization anchored at turns with finer credit allocation among tokens. We propose Multiscale Policy Optimization (MPO), combining Multiscale Advantage Estimation (MAE) and turn-level importance sampling to align credit assignment and policy updates at the turn scale. Extensive experiments across search, tool-use, and automation tasks with 4B and 30B-A3B models demonstrate consistent gains over strong RL baselines.

Figure 1. Overview of Multiscale Policy Optimization (MPO). Agents interact through complete assistant turns while generating actions token by token. MAE refines shared turn advantages into token-level credit while preserving each turn’s mean. The policy update combines a shared complete-turn importance ratio with token-specific gradients. Top right: validation pass@1 during 4B training.

Figure 2. Critic values exhibit structure at the turn scale. A failed trajectory (a) and a successful trajectory (b) both exhibit relatively stable values within turns and pronounced changes across turn boundaries.
1. Introduction
An LLM agent interacts with its environment through complete assistant turns, such as search queries, tool calls, and final responses, while its policy generates each turn token by token. Learning from a terminal task reward therefore involves two scale choices. Credit must connect the final outcome to interactions across the trajectory and distinguish the tokens within each interaction. Policy updates must also account for changes in complete-output probabilities while retaining those local distinctions. These choices motivate a policy-optimization method that uses both the interaction and generation scales.
Two common families of RL methods leave a gap between these scales. Critic-free, group-relative methods, including GRPO, DAPO, and GSPO [30, 44, 50], derive one shared advantage per generated sequence from group-relative outcome rewards. Despite differences in their update objectives, this shared credit signal does not distinguish the contributions of individual turns or tokens within a rollout. Critic-based, token-level methods, including PPO, VC-PPO, VAPO, and SAO [9, 29, 45, 46], use a learned value function to estimate advantages along the token sequence. Their common formulation treats each generated token as an action, providing finer credit without explicitly separating within-turn generation from turn-level environment interaction. Agentic RL therefore calls for credit assignment that captures both the contribution of each complete interaction and the relative contributions of tokens within it.
Observing credit structure across turns. Figure 2 illustrates learned values that vary within turns and exhibit larger changes across some environment interactions. Across 2,048 trajectories and 16,323 turns from eight checkpoint batches of one search-agent run, differences between turn means account for a median of 89.5% of the critic's token-weighted within-trajectory value variance. Between-turn variance exceeds within-turn variance in 93.8% of trajectories. This structure motivates propagating long-range credit across turns while retaining local token information. Appendix C provides additional statistics and detailed analyses of critic behavior in multi-turn agent interactions.
Multiscale Policy Optimization. Treating complete assistant turns as macro actions, we establish a turn-level improvement bound and show that token surrogates incur an additional within-turn distribution-shift penalty for exact advantages under the same KL constraints. Guided by this analysis and the observed critic structure, we develop Multiscale Policy Optimization (MPO), combining multiscale credit assignment with turn-level importance weighting. Multiscale Advantage Estimation (MAE) uses turn-level GAE to propagate credit across interactions, then refines token credit through a centered local correction that preserves the turn mean. We derive this allocation as a constrained projection using a single critic. Turn-level importance weighting applies the complete-turn probability ratio while retaining each token's MAE advantage in its policy gradient through a stop-gradient construction.
Our contributions are threefold:
• We analyze policy improvement for LLM agents at turn and token scales, deriving a turn-level improvement bound and identifying the additional discrepancy that token-level surrogates introduce through within-turn distribution shift.
• We propose MPO, which combines multiscale advantage estimation (MAE) with turn-level importance sampling to align credit assignment and policy updates with complete turns while preserving token-specific credit.
• We demonstrate consistent performance gains over strong RL baselines across search, tool-use, and automation tasks with both 4B and 30B-A3B models.
2.1. Tool use and multi-turn agent learning
Early work connected language-model reasoning with actions and external tools [26, 31, 42]. Reflection, memory, planning, reusable skills, and multi-agent collaboration supported adaptation from experience and sustained interaction [8, 20, 33, 36, 39], establishing core interaction patterns for agents operating over multiple turns.
Modern coding agents and execution harnesses integrate repository editing, code execution, testing, and browsing to resolve software issues and complete practical web and research tasks [1, 34, 37, 41, 49]. Coding agents also support algorithm discovery [19]. Agents also use execution feedback and accumulated experience to refine their tools, workflows, and memory [11, 24, 25, 40, 47]. These systems motivate optimizing agents across complete interaction turns and the tokens generated within each turn.
2.2. RL in LLM Posttraining
Classical policy-gradient methods optimize expected return through reward- or advantage-weighted updates [35, 38]. Advantage estimation and conservative, trust-region, or proximal updates provide foundations for stable policy optimization [14, 27–29].
Building on GRPO [30], DeepSeek-R1 [7] demonstrated the potential of large-scale RL for reasoning. Subsequent methods improve importance weighting and trust-region control
[5, 21, 44, 50], as well as critic learning and long-response optimization [3, 6, 45, 46]. Risk-based objectives further address exploration and solution diversity [12, 23]. Policy optimization also targets visually grounded causal reasoning [16].
RL also supports multi-turn agents that learn through tool use and environment feedback [13, 18, 51]. Long horizons and sparse task rewards make credit assignment across decisions especially important [2, 4, 48, 52]. Recent work further develops stable policy updates for asynchronous agent training [9, 10]. MPO aligns advantage estimation and importance correction with complete turns, while retaining centered token-level credit within each turn.
3. Agentic RL Across Turns and Tokens
3.1. Agentic RL with Terminal Reward
An LLM agent solves a task by alternating between assistant outputs and environment observations. Its interaction trajectory is
Here is the task prompt, is an assistant output such as a tool call or final response, and is the environment feedback following a nonterminal output. The trajectory ends after . Each observation and assistant output is a token sequence:
Here and are the respective sequence lengths, and indexes assistant turns. Let denote the history at the start of turn , with . The history before generating token is
The assistant policy factorizes autoregressively as . Environment observations follow and become part of the next assistant turn's context. The task distribution and environment dynamics are independent of ; together with the policy, they induce the trajectory distribution .
The agent receives a single reward when the interaction terminates, with no intermediate rewards. Its objective is . Only the final assistant token of the entire trajectory receives this reward; every earlier token has zero reward:
3.2. Turns as Macro Decisions
The environment receives complete assistant outputs as actions, while the policy generates each output autoregressively. We treat as the macro action and retain as its state: the history includes the time index and any remaining interaction or token budget. The turn-ending decision is included in . A fixed maximum token length and any forced termination rule are shared by both policies. There is no environment interaction between tokens inside one assistant output. The macro transition is therefore , with the same environment law defined above.
We use the original policy notation at both scales:
The complete-turn probability on the left is induced by the token probabilities on the right, using the same model parameters. This factorization lets us evaluate changes in either a complete output or an individual token distribution while retaining one policy. The objective remains
When discussing two fixed policies, we also write and for this same objective.
Lemma 1 (Objective consistency). Under a lossless token refinement, identical reward and stopping rules, and , the macro and token descriptions have the same task return. Moreover,
The proof is given in Appendix A.1.
Both descriptions assign the same probability and return to each complete interaction. Their common task objective allows us to compare surrogates built at different scales. The choice of advantage weights and the choice of importance ratios are separate parts of this construction; the following analysis makes the surrogate difference explicit. The theoretical analysis assumes a fixed turn horizon of .
4. Policy Improvement Across Turns and Tokens
We analyze how turn-level and token-level surrogates relate to the same task-return objective. Following the surrogate-and-distribution-shift analysis of TRPO [27], we first establish a finite-horizon turn-level improvement bound, then identify the additional discrepancy introduced by token surrogates. These results motivate combining multiscale credit assignment with turn-level importance weighting in MPO. Full proofs and the extension to estimated turn advantages are provided in Appendix A.
4.1. Turn-Level Policy Improvement
Fix an old policy and a candidate on the same turn process, with horizon , , and identical initial-history and environment distributions. Define the time-indexed occupancy measure at turn as for , where the probability is taken over the initial task, assistant outputs sampled from , and environment responses. Thus is the distribution of histories at the start of turn . At each active history, define the exact old-policy values by
(8)
These expectations mean continuing from the supplied history; the values must also be defined at histories reached by . Set and all post-termination values to zero. Assume all expectations below are finite; bounded task rewards suffice. Common policy support is assumed for importance ratios, but is not needed for the performance-difference or TV inequalities themselves. The Bellman identity gives .
Lemma 2 (Macro performance difference and importance ratios). In the finite-horizon setting above, the performance difference satisfies
Define the surrogate under the old-policy occupancy measure by . If is absolutely continuous with respect to at old-policy histories, then , where is the complete-turn importance ratio.
is an improvement, so ; the corresponding absolute surrogate is . The proof is given in Appendix A.1.
Theorem 1 (Monotonic improvement at the turn scale). In the finite-horizon setting above, suppose at all admissible turn-start histories and complete outputs. Set
where . Here the supremum ranges over turn-start histories, and the distributions are over complete outputs . Then
Thus a nonnegative right-hand side certifies nondecrease of the task return; a positive right-hand side certifies strict improvement.
Appendices A.1–A.2 provide the full performance-difference derivation and proof of Theorem 1.
The bound certifies improvement when the exact surrogate gain covers the distribution-shift penalty. Its surrogate combines a turn-level advantage with a complete-output importance ratio, connecting credit at interaction boundaries to changes in the probability of each turn.
4.2. Additional Cost of Token Surrogates
The autoregressive parameterization supports the macro surrogate through , where . The product ratio corrects the entire turn distribution. A separate token ratio corrects only the next-token distribution at an old-policy prefix, so replacing the turn surrogate with token terms changes the prefix distributions used to evaluate credit.
Theorem 2 (The additional cost of token surrogates). Let be the exact token advantage, and let be a uniform bound on its absolute value over all admissible token prefixes and next tokens, so that . Set , where ranges over token prefixes and the distributions are over next tokens. Define
For ,
Consequently,
(12)
At a fixed macro state, the exact macro advantage telescopes into exact token advantages. The macro surrogate averages them over new-policy prefixes, whereas uses old-policy prefixes. This within-turn distribution shift produces the additional term; Appendix A.3 gives the proof.
The policy-change budgets must also be compared at the same scale. By the KL chain rule, a uniform token KL cap , including the stopping decision, implies
For , setting certifies a macro KL budget ; the token bound then carries an additional penalty .
Takeaway. Under the same KL constraints, the token-surrogate improvement bound incurs an additional within-turn distribution-shift penalty relative to the turn-surrogate bound.
5. Multiscale Policy Optimization
As illustrated in Figure 1, MPO combines two components motivated by the analysis above. Its advantage estimator, MAE, propagates credit across turns and allocates it among tokens within each turn (Sections 5.1–5.2). Its policy update uses complete-turn importance weights while preserving each token's advantage in the gradient (Section 5.3).
The two MAE stages reuse the critic , whose old-policy rollout predictions remain fixed during advantage estimation. Environment tokens enter the history but are not policy actions. At turn boundaries, set
with zero values after true termination. Under the terminal reward placement in Eq. (4) and , define
5.1. Turn-Level Credit Propagation
Summing TD residuals within a turn cancels all internal value predictions:
Applying GAE [28] on this macro time axis gives
(17) where and . This shared credit decays once per interaction rather than once per token. For fixed rewards and boundary values, it is independent of turn lengths and internal critic predictions. Appendix A.5 characterizes the corresponding estimation error using only boundary critic errors; the token-GAE comparison is in Appendix A.6.
5.2. Within-Turn Credit Allocation
To refine the relative token weights, form a local trace restricted to the current turn:
Only the advantage trace is cut at the boundary: the final TD residual still bootstraps from , and equals at trajectory termination.
We combine the turn and local signals according to two design requirements. First, the turn estimate should determine the mean token credit. It propagates task-level credit across interactions using boundary values, so we use it as the shared credit for the complete output. Broadcasting this estimate gives the turn-level score contribution by Eq. (7); local refinement then adjusts individual token weights around that common level. Directly adding the local trace would also shift the mean by , where . Fixing the mean to keeps the local branch from changing this shared credit.
Second, the allocation should retain the relative differences in the local estimates, which provide information for distinguishing tokens within a turn. Broadcasting alone assigns identical weights to all tokens. We therefore seek weights that satisfy the prescribed turn mean while remaining as close as possible to the scaled local signals. Writing for their vector, we express these requirements as a least-squares projection. The squared distance treats all token positions equally and penalizes changes to the local weights:
where scales the local refinement. Solving this strictly convex problem yields the unique allocation
Before batch normalization, it satisfies
Centering fixes the average credit to the turn estimate while preserving pairwise differences in the scaled local signals. Setting recovers turn broadcasting.
5.3. Turn-Level Importance Correction
Having assigned token credit, we combine it with importance correction at the turn scale. We normalize once over valid assistant tokens in the rollout batch and hold the resulting weights fixed during the update. Write for the candidate policy and for the fixed rollout policy. The token and complete-turn ratios are
Multiplying all MAE advantages by the same differentiable would cancel the centered local correction in the unclipped sum. To retain token-specific credit under complete-turn importance weighting, we stop the gradient through the other token ratios:
where sg preserves its argument in the forward pass and has zero gradient. Thus every token has the complete-turn weight in the forward pass, while
This construction weights each token’s score gradient by the complete turn ratio and its own MAE advantage. The MPO update is defined by the clipped surrogate
(25)
where is the empirical mean over all valid assistant tokens in the rollout batch and is the clipping threshold. Gradient ascent uses the stop-gradient rule in Eq. (23); the full turn ratio therefore controls the forward weighting and clipping, while each token's MAE advantage controls its own score gradient.
Following VAPO's decoupled GAE [46], we set , so the critic directly regresses the terminal return .
Takeaway. MPO propagates credit across turns and refines it within each turn while preserving the turn mean. Turn-level importance weighting then retains token-specific credit in the policy gradient.
6. Experiments
6.1. Experimental Settings
We evaluate Qwen3-4B-Thinking and Qwen3-30B-A3B-Instruct [22] in three agentic settings: Search, Claw-Eval, and Automation Bench. The main comparisons use separate training in each setting, with 300 steps for Search, 300 for Claw-Eval, and 200 for Automation Bench. We compare MPO with the initial checkpoint (Base), GRPO [30], GSPO [50], PPO [29], VAPO [46], and SAO [9]. To examine the update objective, MPO w/ token IS retains MAE but replaces complete-turn importance ratios with token-level ratios.
Table 1. Main evaluation on search and agent tasks. Search benchmarks report pass@1 and pass@3; Claw-Eval reports pass@3 and pass. Automation Bench reports pass@1. Search and Claw-Eval scores are percentages; higher is better for all metrics. Base denotes the initial checkpoint before task-specific RL. Trained-model Search pass@1 and pass@3 are estimated using 32 rollouts per task.
| Method | BrowseComp-Plus | GAIA | HLE | Claw-Eval | Automation Bench | ||||
|---|---|---|---|---|---|---|---|---|---|
| pass@1 | pass@3 | pass@1 | pass@3 | pass@1 | pass@3 | pass@3 | pass | pass@1 | |
| Qwen3-4B-Thinking | |||||||||
| Base | 8.84 | 18.07 | 24.92 | 33.98 | 5.53 | 9.60 | 25.22 | 8.09 | 0.00 |
| GRPO | 39.34 | 52.12 | 33.92 | 44.63 | 8.51 | 14.43 | 64.45 | 48.79 | 4.33 |
| GSPO | 38.56 | 52.11 | 34.34 | 45.26 | 9.26 | 13.71 | 63.83 | 49.35 | 5.22 |
| PPO | 40.85 | 54.30 | 31.71 | 45.03 | 7.22 | 12.82 | 63.25 | 50.78 | 11.67 |
| VAPO | 43.23 | 57.33 | 33.91 | 46.15 | 7.54 | 13.27 | 64.35 | 49.22 | 11.50 |
| SAO | 43.75 | 56.88 | 35.62 | 47.56 | 8.19 | 14.23 | 64.52 | 49.11 | 12.06 |
| MPO w/ token IS | 45.72 | 57.47 | 36.35 | 50.27 | 8.89 | 15.17 | 65.13 | 50.22 | 12.45 |
| MPO (Ours) | 48.08 | 61.83 | 39.47 | 52.67 | 9.92 | 16.78 | 66.91 | 51.73 | 13.33 |
| Qwen3-30B-A3B-Instruct | |||||||||
| Base | 21.69 | 27.71 | 25.24 | 37.86 | 7.47 | 12.60 | 32.19 | 12.64 | 0.17 |
| GRPO | 41.83 | 48.18 | 31.03 | 40.51 | 8.33 | 12.68 | 68.23 | 52.55 | 5.00 |
| GSPO | 40.22 | 47.31 | 35.25 | 46.25 | 8.61 | 13.34 | 68.62 | 51.34 | 6.23 |
| PPO | 45.20 | 51.63 | 35.70 | 45.28 | 8.31 | 13.33 | 70.14 | 55.33 | 14.17 |
| VAPO | 46.73 | 57.33 | 38.33 | 49.22 | 9.25 | 14.64 | 71.31 | 56.72 | 13.77 |
| SAO | 45.36 | 57.88 | 39.62 | 50.34 | 9.91 | 14.37 | 72.72 | 57.23 | 14.20 |
| MPO w/ token IS | 48.27 | 58.12 | 41.23 | 52.12 | 9.45 | 14.67 | 72.19 | 57.61 | 13.17 |
| MPO (Ours) | 50.32 | 59.33 | 43.42 | 56.24 | 10.03 | 15.16 | 73.22 | 58.35 | 15.00 |
Evaluation protocol. For the trained-model results in all tables, we select the best-performing checkpoint from each training run. We evaluate the selected checkpoint offline five times and report the mean of the five evaluation scores. The benchmark-specific rollout budgets and metrics described below apply to each evaluation repetition. For BrowseComp-Plus, we follow the held-out evaluation setup of Lu et al. [17]. For GAIA and HLE, we use WebThinker's text-only evaluation subsets, drawn from their validation and test sets, respectively [15]. Base results use three rollouts per task. For trained Search models, pass@1 and pass@3 are estimated from a pool of 32 independent rollouts per task, using the same samples across evaluation budgets. We follow the original evaluation protocols for Claw-Eval [43] and Automation Bench [32]. Claw-Eval uses three independent trials, reporting pass@3 for success in at least one trial and pass for success in all three. Automation Bench reports pass@1 using its end-state assertion checks. All score differences below are percentage points.
6.2. Main Results
Performance across tasks and model scales. Table 1 shows that MPO achieves the highest reported score on all nine metrics at both model sizes. Relative to the strongest non-MPO baseline in each column, MPO improves BrowseComp-Plus, GAIA, and HLE pass@1 by 4.33, 3.85, and 0.66 points on 4B, and by 3.59, 3.80, and 0.12 points on 30A3B. The gains extend to pass@3, including improvements of 5.11 and 5.90 points on GAIA at the two scales. MPO also improves both Claw-Eval metrics and Automation Bench performance. For example, Claw-Eval pass increases by 0.95 and 1.12 points, showing that the improvements extend to success across

Figure 4. Training dynamics of GRPO, PPO, and MPO on 4B through step 600, showing entropy, reward, validation pass@1, response length, explained variance, and number of turns.
repeated attempts.
Aligning advantage estimation and importance correction. Replacing turn-level ratios with token-level ratios reduces every reported score. The Search pass@1 drops on BrowseComp-Plus, GAIA, and HLE are 2.36, 3.12, and 1.03 points for 4B, and 2.05, 2.19, and 0.58 points for 30A3B. With token IS, MAE still outperforms PPO on all six Search metrics at both scales, indicating that multiscale credit assignment contributes useful gains on its own. Complete-turn importance correction provides a further improvement. Together, these comparisons support aligning shared credit and probability correction with the turn-level interaction objective, while retaining local token distinctions in the policy gradient. Figure 3 provides a visualization of validation performance and training reward through step 300.


Figure 3. 4B validation pass@1 (left) and training reward (right) through step 300.
6.3. Training Dynamics
Figures 4 and 5 compare GRPO, PPO, and the full MPO method, combining MAE with turn-level importance correction. MPO is shown in red in these figures and Figure 6. We track entropy, reward, validation pass@1, response length, critic explained variance, and interaction turns through step 600 for 4B and step 300 for 30A3B. Each method has one run per model size.
Critic fit under the same regression target. PPO and MPO both train the critic against terminal returns with , yet MPO exhibits higher explained variance on average during late training at both model scales. A plausible explanation is that turn-aligned policy updates change the visited histories and subsequent outcomes, making their return structure easier for the critic to capture. Better value estimates may in turn improve the actor's credit signal. This interpretation concerns the interaction between policy learning and critic fitting: explained variance is measured on each policy's own rollouts and also depends on return variance, so it does not isolate a causal improvement in critic accuracy.
6.4. Test-Time Scaling
Figure 6 compares GRPO, PPO, and MPO on BrowseComp-Plus, GAIA, and HLE at both 4B and 30A3B scales. We report pass@k for using 32 independent rollouts per task, reusing the same pool for every k. All MPO curves use the full method with turn-level importance correction. Each method uses a fixed checkpoint across sampling budgets. Decoding settings, available tools, and per-rollout budgets are matched across methods.
Benefits beyond a single attempt. The gains from MPO extend to larger sampling budgets. On 4B, MPO leads GRPO and PPO at every evaluated k on all three benchmarks. Its pass@32 reaches 75.90 on BrowseComp-Plus, 69.90 on GAIA, and 34.00 on HLE, exceeding the stronger of GRPO and PPO by 3.61, 5.82, and 5.80 points, respectively. Thus the advantage persists as additional samples expand task coverage. The 30A3B runs also benefit from additional attempts, although the relative gains depend on the benchmark and sampling budget.
These results also put the entropy curves in context. PPO’s entropy drops sharply during 30A3B training while its validation performance continues to improve. Likewise, the lower entropy of 4B MPO coexists with strong performance across sampling budgets. Token entropy alone therefore does not establish a collapse in useful exploration: pass@k directly tests whether additional sampled trajectories solve tasks that a single attempt misses.

Training step
Figure 5. Training dynamics of GRPO, PPO, and MPO on 30A3B through step 300, using the same metrics as Figure 4.

Figure 6. Test-time scaling of GRPO, PPO, and MPO on BrowseComp-Plus, GAIA, and HLE for 4B and 30A3B, showing pass@k as the number of attempts increases.
Table 2. Search ablation over turn-scale propagation and within-turn trace. Scores are percentages. The bold setting reproduces 4B MPO from Table 1. We vary with fixed.
| Setting(λ, λintra) | BrowseComp-Plus | GAIA | HLE | |||
|---|---|---|---|---|---|---|
| pass@1 | pass@3 | pass@1 | pass@3 | pass@1 | pass@3 | |
| (0.80, 0.95) | 48.08 | 61.83 | 39.47 | 52.67 | 9.92 | 16.78 |
| (0.60, 0.95) | 47.51 | 59.22 | 38.92 | 50.79 | 9.11 | 15.17 |
| (0.85, 0.95) | 46.36 | 58.91 | 37.26 | 51.04 | 8.87 | 14.89 |
| (0.80, 0.90) | 46.25 | 57.81 | 37.92 | 50.35 | 8.15 | 15.22 |
| (0.80, 1.00) | 47.67 | 59.18 | 38.23 | 50.95 | 8.43 | 16.16 |
Table 3. Search ablation over local refinement strength. Scores are percentages. The bold setting reproduces 4B MPO from Table 1. We vary with and fixed.
| Setting | BrowseComp-Plus | GAIA | HLE | |||
|---|---|---|---|---|---|---|
| pass@1 | pass@3 | pass@1 | pass@3 | pass@1 | pass@3 | |
| 0.0 | 41.80 | 56.77 | 34.20 | 48.90 | 7.88 | 12.96 |
| 0.5 | 44.13 | 58.10 | 37.24 | 51.85 | 8.26 | 13.22 |
| 1.0 | 48.08 | 61.83 | 39.47 | 52.67 | 9.92 | 16.78 |
| 1.5 | 46.23 | 60.35 | 38.26 | 51.26 | 8.93 | 16.23 |
| 2.0 | 45.14 | 59.75 | 37.05 | 50.01 | 8.11 | 15.43 |
6.5. Ablation Studies
We ablate cross-turn propagation, within-turn trace length, and local refinement strength on 4B Search by varying , , and one at a time. The critic target, initialization, and remaining training setup are held fixed. Tables 2 and 3 report pass@1 and pass@3 on all three Search benchmarks. The reference setting is and reproduces MPO's 4B results in Table 1. Each setting has one run. Validation learning curves for these settings appear in Appendix D.
Turn-scale propagation, . The intermediate setting performs best among the tested values. Increasing it to 0.85 reduces BrowseComp-Plus, GAIA, and HLE pass@1 by 1.72, 2.21, and 1.05 points, respectively, and also reduces all three pass@3 scores. Moving closer to one thus hurts performance over this part of the tested range, consistent with a longer trace carrying more variability from distant interactions. Reducing to 0.60 also lowers performance, suggesting that shortening the trace too much discards useful cross-turn credit. The results favor balancing these effects rather than maximizing the propagation range.
Within-turn trace, . Reducing from 0.95 to 0.90 lowers pass@1 by 1.83, 1.55, and 1.77 points on BrowseComp-Plus, GAIA, and HLE, and lowers pass@3 on every benchmark. This shorter trace limits how far local TD information reaches within a generated turn. Setting also reduces all six scores relative to 0.95, including a 0.41-point drop in BrowseComp-Plus pass@1. Thus, 0.95 performs best on all six metrics in this sweep.
Different decay rates for different time scales. The two coefficients count different events: decays once per interaction, whereas decays once per generated token. A trajectory contains far fewer interactions than tokens, and each interaction itself requires many generated tokens. Using the same coefficient would therefore impose very different credit ranges. For example, the nominal geometric trace length is five turns at , while gives twenty tokens; reducing the latter to 0.90 halves that local range. A smaller turn coefficient can therefore retain credit across several interactions, while a larger local coefficient avoids restricting allocation to only a few tokens. This difference motivates tuning the two scales separately and explains our choice of : multiscale policy optimization uses distinct propagation ranges for environment interaction and autoregressive generation.
Local refinement strength, . Setting removes within-turn credit allocation from MAE, leaving only turn-level GAE: every token in a turn receives the same turn advantage. Even without within-turn allocation, this turn-level variant outperforms the standard PPO baseline with token-level GAE in Table 1 on all six Search metrics. Its pass@1 gains over PPO are 0.95, 2.49, and 0.66 percentage points on BrowseComp-Plus, GAIA, and HLE, respectively. However, removing local allocation still substantially reduces performance relative to full MPO (Table 3). Compared with , pass@1 drops by 6.28, 5.27, and 2.04 percentage points on BrowseComp-Plus, GAIA, and HLE, respectively, and pass@3 also decreases on all three benchmarks. These results show that allocating credit within a turn provides benefits beyond propagating credit across turns alone. Introducing local refinement with partially recovers the loss, while performs best on all six metrics. Increasing further to 1.50 and then 2.00 progressively reduces both pass@1 and pass@3 across all three benchmarks. Since the local correction is centered, these changes preserve the turn's mean advantage while amplifying differences among its tokens. The results therefore support within-turn credit allocation with a moderate refinement strength; removing it or giving it excessive weight both hurt performance.
7. Conclusion
We introduced MPO to organize LLM-agent policy optimization across turns and tokens. Its MAE component combines cross-turn credit propagation with mean-preserving local allocation, and its update aligns complete-turn importance correction with token-specific gradients. Our analysis motivates these scale choices, while experiments show gains across Search and agent tasks and continued benefits from increased sampling. The ablations support treating interaction and generation as distinct credit horizons. Together, these findings motivate using both scales when optimizing long-horizon LLM agents.
References
1 Antonis Antoniades, Albert Örwall, Kexun Zhang, Yuxi Xie, Anirudh Goyal, and William Wang. SWE-Search: Enhancing software agents with monte carlo tree search and iterative refinement. In International Conference on Learning Representations, volume 2025, pages 64485–64515, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/a1e6783e4d739196cad3336f12d402bf-Abstract-Conference.html.
2 Guanting Dong, Hangyu Mao, Kai Ma, Licheng Bao, Yifei Chen, Zhongyuan Wang, Zhongxia Chen, Jiazhen Du, Huiyang Wang, Fuzheng Zhang, Guorui Zhou, Yutao Zhu, Ji-Rong Wen, and Zhicheng Dou. Agentic reinforced policy optimization. In International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=TX4k7BF6a0.
3 Tiantian Fan, Lingjun Liu, Yu Yue, Jiaze Chen, Chengyi Wang, Qiying Yu, Chi Zhang, Zhiqi Lin, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Bole Ma, Mofan Zhang, Gaohong Liu, Ru Zhang, Haotian Zhou, Cong Xie, Ruidong Zhu, Zhi Zhang, Xin Liu, Mingxuan Wang, Lin Yan, and Yonghui Wu. Truncated proximal policy optimization. arXiv preprint arXiv:2506.15050, 2025. URL https://arxiv.org/abs/2506.15050.
4 Lang Feng, Zhenghai Xue, Tingcong Liu, and Bo An. Group-in-group policy optimization for LLM agent training. In Advances in Neural Information Processing Systems, volume 38, pages 46375–46408, 2025. doi: 10.52202/085713-1544. URL https://proceedings.neurips.cc/paper_files/paper/2025/hash/420c9f777c0b4f78d515e53cf74d58b2-Abstract-Conference.html.
5 Chang Gao, Chujie Zheng, Xiong-Hui Chen, Kai Dang, Shixuan Liu, Bowen Yu, An Yang, Shuai Bai, Jingren Zhou, and Junyang Lin. Soft adaptive policy optimization. arXiv preprint arXiv:2511.20347, 2025. URL https://arxiv.org/abs/2511.20347.
6 Xue Gong, Qi Yi, Ziyuan Nan, Guanhua Huang, Kejiao Li, Yuhao Jiang, Ruibin Xiong, Zenan Xu, Jiaming Guo, Shaohui Peng, and Bo Zhou. Segmental advantage estimation: Enhancing PPO for long-context LLM training. arXiv preprint arXiv:2601.07320, 2026. URL https://arxiv.org/abs/2601.07320.
7 Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, et al. DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645:633–638, 2025. doi: 10.1038/s41586-025-09422-z. URL https://www.nature.com/articles/s41586-025-09422-z.
8 Sirui Hong, Mingchen Zhuge, Jonathan Chen, Xiawu Zheng, Yuheng Cheng, Jinlin Wang, Ceyao Zhang, Zili Wang, Steven Yau, Zijuan Lin, Liyang Zhou, Chenyu Ran, Lingfeng Xiao, Chenglin Wu, and Jürgen Schmidhuber. MetaGPT: Meta programming for a multi-agent collaborative framework. In International Conference on Learning Representations, volume 2024, pages 23247–23275, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/hash/6507b115562bb0a305f1958ccc87355a-Abstract-Conference.html.
9 Zhenyu Hou, Yujiang Li, Jie Tang, and Yuxiao Dong. Single-rollout asynchronous optimization for agentic reinforcement learning. arXiv preprint arXiv:2607.07508, 2026. URL https://arxiv.org/abs/2607.07508.
10 Jian Hu, Yifan Zhang, Hao Zhang, Binfeng Xu, Shaokun Zhang, Hongqing Peng, Zhiding Yu, Pavlo Molchanov, Jan Kautz, and Yi Dong. FlashREINFORCE: Critic-free single-rollout asynchronous RL for agentic language models. Technical report, September 2026. URL https://yifanzhang-pro.github.io/FlashREINFORCE/FlashREINFORCE.pdf.
11 Shengran Hu, Cong Lu, and Jeff Clune. Automated design of agentic systems. In International Conference on Learning Representations, volume 2025, pages 21344–21377, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/36b7acf6f6010652b3f2a433774a66fe-Abstract-Conference.html.
12 Yuhua Jiang, Jiawei Huang, Yufeng Yuan, Xin Mao, Yu Yue, Qianchuan Zhao, and Lin Yan. Risk-sensitive reinforcement learning for alleviating exploration dilemmas in large language models. In International Conference on Learning Representations, volume 2026, pages 47117–47141, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/4e6d14709eae0cbc49a1d19d87fb8b21-Abstract-Conference.html.
13 Bowen Jin, Hansi Zeng, Zhenrui Yue, Jinsung Yoon, Sercan Ö. Arik, Dong Wang, Hamed Zamani, and Jiawei Han. Search-R1: Training LLMs to reason and leverage search engines with reinforcement learning. In Conference on Language Modeling, 2025. URL https://openreview.net/forum?id=Rwhi91ideu.
14 Sham Kakade and John Langford. Approximately optimal approximate reinforcement learning. In Proceedings of the Nineteenth International Conference on Machine Learning, 2002. URL https://www.hunch.net/~jl/projects/RL/aoarl/Final.pdf.
15 Xiaoxi Li, Jiajie Jin, Guanting Dong, Hongjin Qian, Yongkang Wu, Ji-Rong Wen, Yutao Zhu, and Zhicheng Dou. WebThinker: Empowering large reasoning models with deep research capability. In Advances in Neural Information Processing Systems, volume 38, pages 120091–120131, 2025. doi: 10.52202/085713-4011. URL https://proceedings.neurips.cc/paper_files/paper/2025/hash/ae03bdef276132fae089692445725635-Abstract-Conference.html.
16 Jiafeng Liang, Zhihao Zhu, Zihan Zhang, Baoqi Ren, Shixin Jiang, Runxuan Liu, Tao Ren, Ming Liu, See-Kiong Ng, and Bing Qin. Perception without engagement: Dissecting the causal discovery deficit in LMMs. arXiv preprint arXiv:2605.09422, 2026. URL https://arxiv.org/abs/2605.09422.
17 Miao Lu, Weiwei Sun, Weihua Du, Zhan Ling, Xuesong Yao, Kang Liu, and Jiecao Chen. Scaling LLM multi-turn RL with end-to-end summarization-based context management. arXiv preprint arXiv:2510.06727, 2025. URL https://arxiv.org/abs/2510.06727.
18 Xufang Luo, Yuge Zhang, Zhiyuan He, Zilong Wang, Siyun Zhao, Dongsheng Li, Luna K. Qiu, and Yuqing Yang. Agent Lightning: Train ANY AI agents with reinforcement learning. arXiv preprint arXiv:2508.03680, 2025. URL https://arxiv.org/abs/2508.03680.
19 Alexander Novikov, Ngân Vũ, Marvin Eisenberger, Emilien Dupont, Po-Sen Huang, Adam Zsolt Wagner, Sergey Shirobokov, Borislav Kozlovskii, Francisco J. R. Ruiz, Abbas Mehrabian, M. Pawan Kumar, Abigail See, Swarat Chaudhuri, George Holland, Alex Davies, Sebastian Nowozin, Pushmeet Kohli, and Matej Balog. AlphaEvolve: A coding agent for scientific and algorithmic discovery. arXiv preprint arXiv:2506.13131, 2025. URL https://arxiv.org/abs/2506.13131.
20 Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, and Michael S. Bernstein. Generative agents: Interactive simulacra of human behavior. In Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology.
Association for Computing Machinery, 2023. doi: 10.1145/3586183.3606763. URL https://doi.org/10.1145/3586183.3606763.
21 Penghui Qi, Xiangxin Zhou, Zichen Liu, Tianyu Pang, Chao Du, Min Lin, and Wee Sun Lee. Rethinking the trust region in LLM reinforcement learning. arXiv preprint arXiv:2602.04879, 2026. URL https://arxiv.org/abs/2602.04879.
22 Qwen Team. Qwen3 technical report, 2025. URL https://arxiv.org/abs/2505.09388.
23 Tao Ren, Jinyang Jiang, Hui Yang, Wan Tian, Minhao Zou, Guanghao Li, Zishi Zhang, Qinghao Wang, Shentao Qin, Yanjun Zhao, Rui Tao, Hui Shao, and Yijie Peng. RiskPO: Risk-based policy optimization with verifiable reward for LLM post-training. In International Conference on Learning Representations, volume 2026, pages 5262–5281, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/096b1019463f34eb241e87cfce8dfe16-Abstract-Conference.html.
24 Tao Ren, Weiyao Luo, Hui Yang, Rongzhi Zhu, Xiang Huang, Yuchuan Wu, Bingxue Chou, Jieping Ye, Jiafeng Liang, Yongbin Li, and Yijie Peng. Scaling self-evolving agents via parametric memory. arXiv preprint arXiv:2606.04536, 2026. doi: 10.48550/arXiv.2606.04536. URL https://arxiv.org/abs/2606.04536.
25 Maxime Robeyns, Martin Szummer, and Laurence Aitchison. A self-improving coding agent. arXiv preprint arXiv:2504.15228, 2025. URL https://arxiv.org/abs/2504.15228.
26 Timo Schick, Jane Dwivedi-Yu, Roberto Dessi, Roberta Raileanu, Maria Lomeli, Eric Hambro, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. Toolformer: Language models can teach themselves to use tools. In Advances in Neural Information Processing Systems, volume 36, 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/d842425e4bf79ba039352da0f658a906-Abstract-Conference.html.
27 John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 1889–1897, 2015. URL https://proceedings.mlr.press/v37/schulman15.html.
28 John Schulman, Philipp Moritz, Sergey Levine, Michael I. Jordan, and Pieter Abbeel. High-dimensional continuous control using generalized advantage estimation. In International Conference on Learning Representations, 2016. URL https://arxiv.org/abs/1506.02438.
29 John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. doi: 10.48550/arXiv.1707.06347. URL https://arxiv.org/abs/1707.06347.
30 Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024. URL https://arxiv.org/abs/2402.03300.
31 Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang. HuggingGPT: Solving AI tasks with ChatGPT and its friends in Hugging Face. In Advances in Neural Information Processing Systems, volume 36, pages 38154–38180, 2023. doi: 10.52202/075280-1657. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/77c33e6a367922d003ff102ffb92b658-Abstract-Conference.html.
32 Daniel Shepard and Robin Salimans. AutomationBench. arXiv preprint arXiv:2604.18934, 2026. URL https://arxiv.org/abs/2604.18934.
33 Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems, volume 36, 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/1b44b878bb782e6954cd888628510e90-Abstract-Conference.html.
34 Aditya Bharat Soni, Boxuan Li, Xingyao Wang, Valerie Chen, and Graham Neubig. Coding agents with multimodal browsing are generalist problem solvers. In Findings of the Association for Computational Linguistics: EACL 2026, pages 6052–6069. Association for Computational Linguistics, 2026. doi: 10.18653/v1/2026.findings-eacl.318. URL https://aclanthology.org/2026.findings-eacl.318/.
35 Richard S. Sutton, David A. McAllester, Satinder P. Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. In Advances in Neural Information Processing Systems, volume 12, 1999. URL https://proceedings.neurips.cc/paper_files/paper/1999/hash/464d828b85b0bed98e80ade0a5c43b0f-Abstract.html.
36 Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291, 2023. URL https://arxiv.org/abs/2305.16291.
37 Xingyao Wang, Simon Rosenberg, Juan Michelini, Calvin Smith, Hoang H. Tran, Engel Nyst, Rohit Malhotra, Xuhui Zhou, Valerie Chen, Robert Brennan, and Graham Neubig. The OpenHands software agent SDK: A composable and extensible foundation for production agents. In Proceedings of Machine Learning and Systems, volume 8, pages 1843–1855, 2026. URL https://proceedings.mlsys.org/paper_files/paper/2026/hash/8ae9cf363ea625161f885b798c1f1f78-Abstract-Conference.html.
38 Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8:229–256, 1992. doi: 10.1007/BF00992696. URL https://link.springer.com/article/10.1007/BF00992696.
39 Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, Ahmed Hassan Awadallah, Ryen W. White, Doug Burger, and Chi Wang. AutoGen: Enabling next-gen LLM applications via multi-agent conversation framework. In Conference on Language Modeling, 2024. URL https://www.microsoft.com/en-us/research/wp-content/uploads/2023/08/LLM_agent.pdf.
40 Chunqiu Steven Xia, Zhe Wang, Yan Yang, Yuxiang Wei, and Lingming Zhang. Live-SWE-agent: Can software engineering agents self-evolve on the fly? arXiv preprint arXiv:2511.13646, 2025. URL https://arxiv.org/abs/2511.13646.
41 John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. SWE-agent: Agent-computer interfaces enable automated software engineering. In Advances in Neural Information Processing Systems, volume 37, pages 50528–50652, 2024. doi: 10.52202/079017-1601. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/5a7c947568c1b1328ccc5230172e1e7c-Abstract-Conference.html.
42 Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations, 2023. URL https://arxiv.org/abs/2210.03629.
43 Bowen Ye, Rang Li, Qibin Yang, Yuanxin Liu, Linli Yao, Hanglong Lv, Zhihui Xie, Chenxin An, Lei Li, Lingpeng Kong, Qi Liu, Zhifang Sui, and Tong Yang. Claw-Eval: Towards trustworthy evaluation of autonomous agents. arXiv preprint arXiv:2604.06132, 2026. URL https://arxiv.org/abs/2604.06132.
44 Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, Xin Liu, Haibin Lin, Zhiqi Lin, Bole Ma, Guangming Sheng, Yuxuan Tong, Chi Zhang, Mofan Zhang, Wang Zhang, Hang Zhu, Jinhua Zhu, Jiaze Chen, Jiangjie Chen, Chengyi Wang, Hongli Yu, Yuxuan Song, Xiangpeng Wei, Hao Zhou, Jingjing Liu, Wei-Ying Ma, Ya-Qin Zhang, Lin Yan, Mu Qiao, Yonghui Wu, and Mingxuan Wang. DAPO: An open-source LLM reinforcement learning system at scale. arXiv preprint arXiv:2503.14476, 2025. URL https://arxiv.org/abs/2503.14476.
45 Yufeng Yuan, Yu Yue, Ruofei Zhu, Tiantian Fan, and Lin Yan. What's behind PPO's collapse in long-CoT? value optimization holds the secret. arXiv preprint arXiv:2503.01491, 2025. URL https://arxiv.org/abs/2503.01491.
46 Yu Yue, Yufeng Yuan, Qiying Yu, Xiaochen Zuo, Ruofei Zhu, Wenyuan Xu, Jiaze Chen, Chengyi Wang, TianTian Fan, Zhengyin Du, Xiangpeng Wei, Xiangyu Yu, Gaohong Liu, Juncai Liu, Lingjun Liu, Haibin Lin, Zhiqi Lin, Bole Ma, Chi Zhang, Mofan Zhang, Wang Zhang, Hang Zhu, Ru Zhang, Xin Liu, Mingxuan Wang, Yonghui Wu, and Lin Yan. VAPO: Efficient and reliable reinforcement learning for advanced reasoning tasks. arXiv preprint arXiv:2504.05118, 2025. URL https://arxiv.org/abs/2504.05118.
47 Jenny Zhang, Shengran Hu, Cong Lu, Robert Tjarko Lange, and Jeff Clune. Darwin Gödel Machine: Open-ended evolution of self-improving agents. In International Conference on Learning Representations, 2026. URL https://arxiv.org/abs/2505.22954.
48 Wenxuan Zhang, Yuhui Wang, Donggang Jia, Xiaoqian Shen, Jian Ding, Ivan Viola, Jürgen Schmidhuber, and Mohamed Elhoseiny. Hybrid advantage estimation with unified critic for VLM agentic reinforcement learning. In European Conference on Computer Vision, 2026. URL https://arxiv.org/abs/2607.23605.
49 Yuntong Zhang, Haifeng Ruan, Zhiyu Fan, and Abhik Roychoudhury. AutoCodeRover: Autonomous program improvement. In Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, pages 1592–1604. Association for Computing Machinery, 2024. doi: 10.1145/3650212.3680384. URL https://doi.org/10.1145/3650212.3680384.
50 Chujie Zheng, Shixuan Liu, Mingze Li, Xiong-Hui Chen, Bowen Yu, Chang Gao, Kai Dang, Yuqiong Liu, Rui Men, An Yang, Jingren Zhou, and Junyang Lin. Group sequence policy optimization. arXiv preprint arXiv:2507.18071, 2025. URL https://arxiv.org/abs/2507.18071.
51 Yifei Zhou, Andrea Zanette, Jiayi Pan, Sergey Levine, and Aviral Kumar. ArCHer: Training language model agents via hierarchical multi-turn RL. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 62178–62209. PMLR, 2024. URL https://proceedings.mlr.press/v235/zhou24t.html.
52 Rongzhi Zhu, Xiang Huang, Yuchuan Wu, Rui Wang, Zequn Sun, Tao Ren, Weiyao Luo, Bingxue Qiu, Jieping Ye, Yongbin Li, and Wei Hu. EIBench: A simulator-based benchmark and turn-credit RL for emotion management. arXiv preprint arXiv:2606.15532, 2026. URL https://arxiv.org/abs/2606.15532.
A. Proofs of the Policy-Improvement Guarantees
A.1. Objective Consistency and the Macro PDL
Proof of Lemma 1. Fix a complete interaction . Its probability is the initial-task probability, multiplied by the probabilities of the generated assistant tokens and the intervening environment responses. Grouping the assistant factors within each turn gives
Thus the token and macro descriptions induce the same trajectory law. They also assign the same return to each trajectory: , the reward is unchanged, and the same stopping rule determines termination. Their expected task returns are consequently equal.
For a fixed complete output of positive probability, the finite-product factorization gives
Differentiating this finite sum proves Eq. (7), wherever the token probabilities are differentiable. For variable-length outputs, the stopping decision is one of these factors; when differentiating a fixed output its length is fixed. Deterministic forced stopping contributes a factor of one and a zero score.
Proof of Lemma 2. For each supplied history, the values in Eq. (8) use the old policy for all subsequent decisions. They are defined throughout the histories relevant to either policy, not merely at the histories observed in a sampled batch. At termination let be an absorbing history with value zero. The reward law and the law of given are common to both policies. Consequently the exact values satisfy
Here is zero except at the actual terminal turn, where it equals ; no intermediate reward is introduced. All expectations are assumed finite, as they are for bounded rewards.
We next relate these conditional identities to the full return. Define the one-turn temporal difference
Although actions are sampled under , conditioning on the current history and complete output fixes the environment's next-step law. Equation (26) therefore gives
For each realized trajectory the value terms telescope, since :
Under a trajectory sampled from , the marginal law of is . Thus the conditional identity in Eq. (28) gives the following chain:
The second equality is the tower property; the third exchanges a finite sum and expectation; the fourth uses the pathwise telescoping identity.
Both policies start from the same initial-history distribution, so . By the definition of the exact old-policy value, . Hence
Only the initial-history distributions are identified here; the full trajectory laws under and are not interchanged. Substituting this equality into the preceding chain yields
This proves the PDL in Eq. (9); it does not replace any new-policy state distribution by an old-policy one.
It remains to establish the importance-ratio representation. Replacing only by in the PDL defines ; the resulting approximation error is retained below. For its ratio representation, common support gives, at a fixed ,
Average over and sum over to obtain the importance-ratio representation in Lemma 2. Absolute continuity of the new action law with respect to the old one suffices for this step; the preceding PDL and the TV argument below do not require it.
☐
A.2. Turn-Level Policy Improvement
Proof of Theorem 1. Sums below are over complete outputs and token-sequence histories; the same argument uses integrals for general observation spaces.
We first bound the difference between the turn-start occupancy measures. Given a history and a complete output , the next observation is sampled from the same environment distribution under both policies. The next history is obtained by appending and to . Thus the joint probabilities of are and , respectively. Summing these probabilities over triples that produce the same next history and applying the triangle inequality gives, for ,
(29)
The first equality uses . The second inequality adds and subtracts inside the absolute value. The resulting terms separate the change in the action distribution from the existing difference in occupancy measures. Since , induction yields
In particular, the first turn contributes no occupancy-measure error.
Next, the exact old-policy advantage has zero mean under . Using Eq. (27), for every history h,
(31)
Finally, subtracting the surrogate from the performance-difference identity in Lemma 2 gives the exact relation
Taking absolute values and applying Eqs. (31) and (30), in that order, gives
(32)
The equality uses , and the last step uses . Taking the lower side of this absolute-error bound gives Theorem 1.
For , the initial occupancy measures coincide and the remainder is zero. For , both the surrogate gain and the remainder are zero. The condition in the theorem is sufficient for improvement; it is not necessary.
A.3. Within-Turn Surrogate Shift and KL Conversion
Proof of Theorem 2. Fix a turn , its starting history , and a complete output . At an active token prefix , write for the expected return from continuing . Thus . The exact token advantage is the expected return after fixing the next token, minus this value. For , appending deterministically gives , with no reward or environment interaction. Hence
At the last token, the complete macro action has been specified, so
The conditional expectation averages over the environment response, and the second equality is Eq. (26). Summing over the tokens cancels each internal value:
(33)
This identity holds for every complete output.
We next bound the difference between the within-turn occupancy measures. Pad a stopped output to positions with deterministic zero-advantage actions. Extend the occupancy notation by writing for the distribution of the token prefix when the turn starts at and its tokens are sampled under ; define in the same way. These are conditional occupancy measures within a fixed turn: both start from the same , regardless of how that history was reached. In the sums below, denotes a token prefix and a single token.
Each next prefix is obtained by sampling one token and appending it. As in Eq. (29), adding and subtracting gives
The equality uses and the definition of total variation. At , both occupancy measures concentrate on , so their difference is zero. Iterating the bound times gives
Padded positions have identical deterministic transitions and also satisfy the one-step bound.
We next bound the mean old-policy token advantage under . At each prefix , the exact advantage satisfies ; this also holds at padded positions, where the advantage is zero. Consequently,
(35)
The first equality subtracts the zero mean under . The first inequality is the triangle inequality, and the second uses the uniform bound . The next equality is the definition of total variation; the final inequality uses as its supremum over all token prefixes.
Finally, express both surrogates using these conditional occupancy measures. By the definition of and Eq. (33),
The last equality conditions each summand on its prefix: under , the prefix has occupancy measure and the next token has distribution . For , prefixes are sampled under . At a fixed prefix, the importance ratio changes only the distribution of the next token:
The ratio is well defined by the support assumption, and the last equality uses the zero old-policy mean. Conditioning on the turn-start history and then on the token prefix gives
Both expressions average turn-start histories under ; only the conditional within-turn occupancy measures differ. Subtracting gives
Taking absolute values, applying Eq. (35), and then using Eq. (34) yields
The first equality uses ; the last uses . This proves Eq. (11). Applying Theorem 1 and then this bound gives
which is Eq. (12).
26
□
Proof of the KL conversion in Eq. (13). Fix and include the stopping decision in the complete output. Since , the log ratio is a bounded-length sum over generated tokens. Conditioning each term on its prefix gives
(36)
Here logarithms are natural and the assumed finite token KL cap makes the required absolute continuity explicit. Taking the supremum over and applying Pinsker's inequality gives ; at token prefixes it likewise gives .
When , all exact remaining-return values lie in , so is valid. Writing and substituting the two TV bounds into the macro and token bounds gives
For , the last penalty is , as claimed in the main text.
A.4. Arbitrary Estimators and Action-Independent Baselines
Let be any integrable scalar macro estimate computed on old-policy rollouts, with its construction fixed during the update. Assume all displayed importance-weighted expectations are finite. Define its conditional mean error and population estimated improvement by
The expectation includes future rollout randomness. The hat denotes an estimated advantage, not an empirical average.
Theorem 3 (Estimator-robust policy improvement). Under Theorem 1, suppose state-only functions satisfy uniformly. Then
(41)
In particular, a common bound gives an estimation penalty .
Proof of Theorem 3. The estimator is computed under the old-policy rollout law, and is a function of . Conditioning on that pair gives
The integrability assumptions justify these conditional expectations. For each fixed h, the state-only part cancels because
Subtracting this zero term before taking absolute values yields
Therefore . Substitution into Eq. (10) proves the theorem. If all , summing terms gives the stated uniform-error penalty.
A.5. Boundary Critic Error and the Turn-Credit Guarantee
For the turn GAE in Eq. (17), write for the boundary critic error.
Corollary 1 (Policy improvement with turn-level GAE). Under the assumptions of Theorem 3, suppose rollouts reach true termination, , , and . Then one may take
Thus, with formed from ,
(43)
Proof of Corollary 1. Use the exact-critic residual defined in the proof of Lemma 2. First fix and continue with . Equation (28) gives . For every , the full history contains , and
The tower property consequently gives for . It follows that the entire exact-critic trace has conditional mean
Replacing exact boundary values by critic predictions changes the residual at turn s by . Suppress only the history arguments in the following pathwise sum:
True termination makes the last term zero. Taking the conditional expectation and subtracting the exact advantage therefore gives
Choose the state-only baseline . For ,
For , the finite sum in Eq. (44) is multiplied by zero, so the same bound holds with value zero. Empty sums vanish and , including when ; thus the bound also covers and .
Theorem 3 now gives an estimation penalty . Since , this is at most , proving Eqs. (42) and (43).
The cancellation of uses true termination. At a nonterminal truncation, that term must be retained unless its bootstrap error is separately controlled.
A.6. Token GAE and Internal Critic Error
For comparison, standard token GAE applies trace decay at every generated assistant token:
The trace continues across turns using , with at termination. Ordering assistant actions by gives action positions. In this flattened notation,
Environment tokens introduce neither TD residuals nor decay steps, but credit across a turn still decays at each assistant token. At , the value differences telescope to
To compare trace lengths, specialize to exactly turns of tokens each, with . At flattened position , let be the critic prediction minus the exact old-policy token value at history , and set . All critic predictions are frozen during the policy update. Inside expectations, errors are evaluated at the corresponding random histories.
Proposition 1 (Token GAE error and policy improvement). Under the assumptions of Theorem 2, suppose rollouts reach true termination, , and . The conditional bias of token GAE relative to the exact token advantage is
With and finite displayed expectations,
(49)
Proof of Proposition 1. Write for the token TD residual formed with exact values. The token Bellman equation gives . At each later position , the token action is sampled under , so its exact advantage has conditional mean zero given its prefix. That prefix contains the fixed earlier history and action. The tower property therefore gives . Consequently the conditional mean of is the exact advantage at position .
The difference between the estimated and exact residuals is . Collecting its coefficients in the finite trace gives
Taking conditional expectations proves Eq. (48). The geometric sum bounds the remaining action-dependent part by
For this follows directly from the zero factor ; for the sum is empty. We use also at .
Condition on each old-policy token history in the difference of surrogates. The importance ratio changes only the next-token distribution. Moreover, . Thus
where denotes the old-policy history law at flattened position . Substituting the resulting lower bound on into Eq. (12) proves the claim.
The conditioning in Eq. (48) fixes one token, not a complete turn. This bias therefore cannot be used as the scalar macro bias in Theorem 3. The bound above includes both the within-turn distribution shift and errors at internal prefixes.
A.7. Matched-Budget Comparison and an Internal-Error Example
Corollary 2 (Comparison under a common token KL budget). Assume the hypotheses of Corollary 1 and Proposition 1. As in Appendix A.6, consider turns of L tokens each, with . For , a uniform token KL cap gives the bounds and , with the penalty envelopes
If a common critic-error cap is available, , , and , the token-to-macro ratio of the estimation terms is
This also exceeds for when matching boundary decay , since . At both estimation terms vanish; their ratio is undefined.
Proof of Corollary 2. Because , exact values and action values are in , so both macro and token advantages have magnitude at most one. Pinsker's inequality and Eq. (13) give and . All penalty coefficients in the two improvement bounds are nonnegative. Replacing the advantage bounds by one, by , and by therefore gives valid upper bounds on those penalties. In particular the two distribution-shift terms become
The estimation terms undergo the same substitution, yielding Eqs. (50)–(51).
Under the common positive error cap, , , and , the macro estimation term is positive. Dividing gives
Since and , the numerator in the final fraction is at least its denominator. This proves Eq. (52). If instead , the exponent becomes , strictly greater than for . Thus , proving the strict comparison. For , each estimation term is zero directly from its formula.
The common error cap is an explicit comparison assumption; it does not follow merely from using one critic. These compare certified worst-case penalties, not actual biases or achieved improvements. In particular, the two surrogates on the right-hand sides need not be equal.
Proposition 2 (Internal critic error can reverse the update direction). Consider one turn of tokens. Its first token chooses a fair sign under the old policy; the remaining tokens are deterministic. The terminal reward is , with . Use exact boundary values , , but internal predictions for . Each internal value error has magnitude . The two estimates relevant to the only nonzero policy score are
When , increasing the token surrogate favors the lower-reward action, whereas the macro surrogate favors the higher-reward action. This holds for arbitrarily small policy updates and with both critics' predictions in , for example , , , . The objective and boundary predictions are identical; the difference comes from bootstrapping at internal prefixes.
Proof of Proposition 2. Only the first and last TD residuals are nonzero: and . Their GAE sum is . The macro residual is exactly . If the new probability of is , then
Choosing makes the second quantity positive and the first negative under the stated condition. For the numerical values in the text and , the surrogate increases by 0.00952 and the return decreases by 0.01. The nonbaseline bias radius at the first token is , and the other tokens have no policy change. Its exact surrogate-error bound is , which accounts for this reversal. Letting approach zero also satisfies arbitrarily small positive KL budgets: the only changing conditional action law has as . For the specified example the internal predictions are 0.35 and 0.65, and , verifying the reward-range and sign conditions explicitly.
A.8. Macro and Token Ratio Objectives
Broadcasting a fixed scalar turn estimate gives the token objective
Proposition 3 (Local agreement of broadcast ratio objectives). In general, and differ at finite updates. Their gradients agree at the old policy when both use the same frozen estimates and summation weights, token probabilities are differentiable with common support, and differentiation may be interchanged with the rollout expectation.
Proof of Proposition 3. Let parameterize the old policy, and let be the token ratios on a fixed old-policy rollout. The macro ratio is , and every token ratio is one at . The finite-product rule gives
Multiplying by the frozen , summing over turns, and taking the fixed old-policy expectation proves gradient equality under the stated interchange assumption (for example, integrably dominated gradients suffice).
For finite updates the omitted product terms need not cancel even in expectation. Consider one turn with two independent fair signs under , a frozen estimate , and new probabilities , , where . Then and . Independence and zero means give
These differ whenever , as claimed.

PPO clipping further changes the objective and does not impose a hard macro trust region [29]. The proposition concerns the unclipped objectives and does not assert finite-update equivalence.
B. Implementation and Ablation Settings
Training data. For BCP, we follow the training-data setup of SUPO [17]. The training data for Claw and Automation are proprietary internal company datasets; their specific details cannot be disclosed.
Table 4. RL training hyperparameters for BCP, Claw, and Automation. The BCP settings are shared by the 4B and 30B-A3B runs. Length limits are measured in tokens. The max_turn row corresponds to max_assistant_turns for BCP, max_turns for Claw, and max_steps for Automation.
| Hyperparameter | BCP | Claw | Automation |
|---|---|---|---|
| max_prompt_length | 4096 | 8000 | 8000 |
| max_response_length | 32768 | 64000 | 64000 |
| train_batch_size | 32 | 64 | 64 |
| Actor optim.lr | |||
| Critic optim.lr | |||
| rollout.n | 8 | 8 | 8 |
| max_turn | 20 | 20 | 50 |
Computing the two traces. The turn anchor can be computed by broadcasting within each turn and running a token GAE scan with decay 1 internally and at the final token. Internal TD errors then vanish, and the turn-end residual equals Eq. (16). The local branch uses the original token values and the backward recursion
The within-turn mean used for centering is
Critic target. We train the critic by directly regressing the final Monte Carlo return: at every valid assistant token. The target is detached, and each prediction is conditioned on the corresponding token prefix.
Algorithm 1 Multiscale Advantage Estimation
Require: Trajectory , values , terminal reward ; , ,
1: Set and .
2: Read ; assign using Eq. (4).
3: Compute token TD errors using Eqs. (14) and (15).
4: for do
5: Compute and using Eqs. (16)–(17).
6: Compute for using Eq. (54).
7: Center and combine using Eqs. (55) and (20).
8: end for
9: Set at every valid assistant token.
10: Normalize over valid batch tokens.
11: return normalized advantages and critic targets .
Configuration. Our reference configuration uses , , , and . We use , an explicit assistant action mask, and the terminal reward placement in Eq. (4); dense token-level KL rewards are excluded. All traces and turn reductions take linear time in the stored trajectory length. Algorithm 1 summarizes the estimator.
Advantage normalization. The implementation subtracts the batch mean and divides by the square root of the sample variance plus . Masked positions are zeroed; batches with at most one valid action receive zero policy advantages.
Parameter ablations. The 4B Search ablations in Tables 2 and 3 vary one parameter at a time around , with and fixed. The evaluated settings are , , and . Each configuration uses one training run. We select its best-performing checkpoint and report the mean of five repeated offline evaluations, following the protocol in Section 6.1. At , only turn-level GAE remains and has no effect on the actor credit.
C. Critic Values Across Turns
Figure 7 summarizes the original assistant-token critic predictions for all 2,048 trajectories and 16,323 turns from eight checkpoints of one MPO 4B search run.
Value differences are primarily between turns. Panel (a) compares variation around each turn's mean with variation of turn means around the trajectory mean. Most points lie above the equality line: between-turn variation exceeds within-turn variation in 93.8% of trajectories. Panel (b) shows that this pattern persists across checkpoints. The median share of variance explained by between-turn differences is 89.5% when weighting by token count and 90.2% when weighting turns equally, indicating that the pattern is not driven solely by differences in turn length.
Local token variation remains relevant. Panel (c) compares jumps from the last token value of one turn to the first of the next with the within-turn P95–P05 value span. The mean boundary jump exceeds the mean within-turn span in only 22.4% of trajectories. Panel (d) further shows that boundaries account for 9.2% of pooled squared adjacent value changes; small within-turn fluctuations accumulate over many more tokens. Thus, differences in turn-level value do not imply that most local value movement occurs at boundaries. Together, these observations motivate organizing long-range credit at the turn scale while retaining token-level refinement within each turn.

(a)
(b)
(c)
(d)
Figure 7. Critic-value structure across turns. (a) Within-turn (horizontal) versus between-turn (vertical) RMS deviations, weighted by token count. Each point is a trajectory; the dashed line marks equality. (b) Median between-turn variance share versus training step, with token weighting (blue) and equal turn weighting (green). Error bars are 95% prompt-cluster bootstrap intervals within each checkpoint. (c) Cumulative distributions of per-trajectory mean absolute boundary jumps (orange) and mean within-turn P95–P05 spans (green). (d) Shares of pooled squared adjacent value changes at turn boundaries (orange) and within turns (pale green), by training step.
C.1. More Examples
Figure 8 shows six additional trajectories with pronounced critic-value changes at multiple turn boundaries, complementing the examples in Figure 2.


(c) Sameera Saneesh Step 200, index 51
(d) Tobias Smollet Step 300, index 236


(e) Sergio Reggiani Step 300, index 233
(f) Brownseya serpentina Step 700, index 164


Assistant turn (equal width)
Figure 8. More examples of critic-value structure across turns. Blue curves show raw token values, dashed lines show turn means, and orange segments mark changes between successive turns. As in Figure 2, turns have equal display width and curves are unsmoothed; only assistant-action positions are included, with no appended terminal zero.
D. Validation Curves for Parameter Ablations
Figures 9–11 compare 4B BrowseComp-Plus validation pass@1 through training step 300. Red curves show the MPO reference with ; blue curves show one-parameter ablations. All panels use the same axis ranges and display unsmoothed validation measurements.


Figure 9. Local refinement strength : 0.0 (left) and 2.0 (right), compared with the MPO reference.


Figure 10. Cross-turn propagation : 0.60 (left) and 0.85 (right), compared with the MPO reference.


Figure 11. Within-turn trace : 0.90 (left) and 1.00 (right), compared with the MPO reference.