Multiscale Policy Optimization for Long-Horizon LLM Agents
Summary (Overview)
-
Core Problem: Long-horizon LLM agents interact with environments through complete assistant turns (e.g., search queries, tool calls) while generating each action token-by-token. Existing RL methods either use group-relative rewards that ignore turn/token distinctions (GRPO, DAPO, GSPO) or token-level critics that don't explicitly separate within-turn generation from turn-level interaction (PPO, VAPO, SAO).
-
Key Observation: Critic values vary primarily across turns rather than within turns—between-turn variance accounts for a median of 89.5% of the critic's token-weighted within-trajectory value variance across 2,048 trajectories and 16,323 turns.
-
Main Contribution: Proposes Multiscale Policy Optimization (MPO), combining Multiscale Advantage Estimation (MAE) with turn-level importance sampling to align credit assignment and policy updates at the turn scale while preserving token-specific credit.
-
Theoretical Foundation: Derives a turn-level policy improvement bound (Theorem 1) and shows token-level surrogates incur an additional within-turn distribution-shift penalty under the same KL constraints (Theorem 2).
-
Results: Consistent performance gains over strong RL baselines (GRPO, GSPO, PPO, VAPO, SAO) across search, tool-use, and automation tasks with both 4B and 30B-A3B models, achieving the highest scores on all nine metrics at both model scales.
Introduction and Theoretical Foundation
Background and Motivation
LLM agents solve tasks by alternating between assistant outputs (turns) and environment observations. Each turn is generated token-by-token autoregressively. Learning from a terminal task reward involves two scale choices:
- Credit assignment: Connecting final outcomes to interactions across the trajectory while distinguishing tokens within each interaction
- Policy updates: Accounting for changes in complete-output probabilities while retaining local token distinctions
Formal Setup
The interaction trajectory is defined as:
where is the task prompt, is an assistant output, and is environment feedback. The policy factorizes autoregressively:
The agent receives a single terminal reward with no intermediate rewards:
Key Theoretical Results
Lemma 1 (Objective consistency): Under lossless token refinement, identical reward/stopping rules, and , the macro and token descriptions have the same task return, with:
Theorem 1 (Monotonic improvement at turn scale): With :
Theorem 2 (Additional cost of token surrogates): The difference between macro and token surrogates is bounded by:
Takeaway: Under the same KL constraints, token-surrogate improvement bounds incur an additional within-turn distribution-shift penalty relative to turn-surrogate bounds.
Methodology
Multiscale Advantage Estimation (MAE)
MAE operates in two stages, both reusing the critic :
Stage 1: Turn-Level Credit Propagation
Summing TD residuals within a turn cancels internal value predictions:
Applying GAE on the macro time axis:
Stage 2: Within-Turn Credit Allocation
A local trace restricted to the current turn:
The final allocation solves a constrained least-squares projection:
yielding the closed-form solution:
Turn-Level Importance Correction
The token and complete-turn importance ratios are:
To retain token-specific credit under complete-turn weighting, a stop-gradient construction is used:
with the gradient property:
The final MPO update uses a clipped surrogate:
Empirical Validation / Results
Experimental Setup
- Models: Qwen3-4B-Thinking and Qwen3-30B-A3B-Instruct
- Tasks: Search (BrowseComp-Plus, GAIA, HLE), Claw-Eval, Automation Bench
- Baselines: GRPO, GSPO, PPO, VAPO, SAO, and MPO w/ token IS (ablation)
Main Results (Table 1)
Qwen3-4B-Thinking:
| Method | BrowseComp-Plus pass@1 | GAIA pass@1 | HLE pass@1 | Claw-Eval pass@3 | Automation Bench pass@1 |
|---|---|---|---|---|---|
| Base | 8.84 | 24.92 | 5.53 | 25.22 | 0.00 |
| GRPO | 39.34 | 33.92 | 8.51 | 64.45 | 4.33 |
| PPO | 40.85 | 31.71 | 7.22 | 63.25 | 11.67 |
| VAPO | 43.23 | 33.91 | 7.54 | 64.35 | 11.50 |
| SAO | 43.75 | 35.62 | 8.19 | 64.52 | 12.06 |
| MPO (Ours) | 48.08 | 39.47 | 9.92 | 66.91 | 13.33 |
Qwen3-30B-A3B-Instruct:
| Method | BrowseComp-Plus pass@1 | GAIA pass@1 | HLE pass@1 | Claw-Eval pass@3 | Automation Bench pass@1 |
|---|---|---|---|---|---|
| Base | 21.69 | 25.24 | 7.47 | 32.19 | 0.17 |
| GRPO | 41.83 | 31.03 | 8.33 | 68.23 | 5.00 |
| PPO | 45.20 | 35.70 | 8.31 | 70.14 | 14.17 |
| VAPO | 46.73 | 38.33 | 9.25 | 71.31 | 13.77 |
| SAO | 45.36 | 39.62 | 9.91 | 72.72 | 14.20 |
| MPO (Ours) | 50.32 | 43.42 | 10.03 | 73.22 | 15.00 |
Ablation Studies
Turn-scale propagation (): Optimal at ; increasing to 0.85 or decreasing to 0.60 both hurt performance.
Within-turn trace (): Optimal at ; both 0.90 and 1.00 reduce all scores.
Local refinement strength ():
| BrowseComp-Plus pass@1 | GAIA pass@1 | HLE pass@1 | |
|---|---|---|---|
| 0.0 | 41.80 | 34.20 | 7.88 |
| 0.5 | 44.13 | 37.24 | 8.26 |
| 1.0 | 48.08 | 39.47 | 9.92 |
| 1.5 | 46.23 | 38.26 | 8.93 |
| 2.0 | 45.14 | 37.05 | 8.11 |
Test-Time Scaling
MPO maintains advantages at larger sampling budgets (pass@k for k ∈ {1, 2, 4, 8, 16, 32}). On 4B, MPO's 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.
Theoretical and Practical Implications
Theoretical Contributions
-
Turn-level improvement bound: Establishes that macro-action surrogates with complete-turn importance ratios provide valid monotonic improvement guarantees for LLM agents.
-
Token surrogate penalty: Identifies that token-level surrogates incur an additional within-turn distribution-shift penalty of under the same KL constraints.
-
Multiscale credit structure: Demonstrates empirically that critic values are primarily structured at turn boundaries (89.5% of variance between turns), motivating the turn-anchored approach.
Practical Implications
-
Distinct credit horizons: Interaction and generation require different decay rates— decays per interaction while decays per token, with optimal values of 0.80 and 0.95 respectively.
-
Mean-preserving allocation: The centered local correction preserves turn-level credit while refining token distinctions, balancing long-range credit propagation with fine-grained allocation.
-
Stop-gradient importance weighting: Enables complete-turn probability correction while retaining token-specific gradients, aligning credit assignment with the actual interaction objective.
Conclusion
MPO organizes LLM-agent policy optimization across two scales: complete turns (macro actions) and tokens (generation steps). The MAE component combines cross-turn credit propagation with mean-preserving local allocation, while the update aligns complete-turn importance correction with token-specific gradients. Key findings include:
- Turn-level credit propagation with moderate local refinement () provides the best performance
- Distinct decay rates for interactions () and tokens () are essential
- Turn-level importance weighting outperforms token-level weighting, confirming the theoretical analysis
- Benefits persist under increased sampling (pass@k scaling)
Future directions suggested by this work include exploring adaptive multiscale coefficients, extending the framework to asynchronous training settings, and investigating whether the turn-token distinction generalizes to other hierarchical action structures in agentic systems.
Related papers
- StreamVibe: Proactive Video Agents for Evolving User Intent
StreamVibe-Bench and StreamVibe-VL enable proactive video agents to infer implicit and dynamic user intents, improving response timing and quality by over 10% over baselines.
- Trajectory2Gym: Decision-Grounded Compositional Interaction Synthesis for Tool-Use Agents
Trajectory2Gym reframes tool-use agent training as constructing learnable interactions, not collecting successes, boosting benchmark means by up to 29.8 points across all model scales with SFT only.
- Depth-adaptive Inference of Looped Language Models via Continuous Depth Batching
Continuous depth batching realizes up to 99% of theoretical depth-adaptive speedup for looped language models, with fully looped architectures yielding the largest gains.