Where Do You Reward a Multi-Step AI Agent When It Does Well?

When an AI works across many steps, how do you divide up the credit for success? MPO, which aligns rewards to "turns" instead of tokens, beat existing RL methods on all nine metrics.
← All posts
온
온틀 리서치
2026년 10월 29일 Updated 2026.11.22 35 min read views 5

Say you tell an AI assistant, "Find some material, summarize it, and email it to me." The assistant types in a search query, reads the results, writes a summary, and drafts an email. An AI that doesn't finish in one shot but works through several back-and-forth exchanges like this is called a long-horizon agent. A single search, a single summary, a single email — each a self-contained action the agent commits to the environment — is a turn. A turn is built by the model stringing together small pieces of text, and each such small piece of text that the model processes and generates is a token. Sometimes it's a single character, sometimes a few characters bundled together.

The tricky part is the reward. When the job is done, you get a single final success score — did it do well or not? But to improve the model, you have to trace that single score back to each action and decide how much more (or less) to do the searching action, the summarizing action, the emailing action next time. The value assigned to each action this way is the learning signal. Deciding how much to reinforce each action based on the final score is what's called credit assignment. It's the most vexing part of teaching an agent with reinforcement learning.

The idea in this paper is simple. RL methods so far have either chopped the learning signal into fine token-level pieces, or lumped it into a single number for the whole trajectory (the full record of actions taken to finish the job) — but they never aligned it to the turn, the unit at which the work actually happens. So this paper proposes MPO (Multiscale Policy Optimization), which aligns both credit assignment and policy updates (the process of revising the model to decide which action to pick next) to the turn.

Value Moves Most When the Turn Changes

Do we really need to divide the reward turn by turn? The authors checked this question against the data first. They looked at when the values assigned by the critic (an evaluation model that predicts in advance the reward to come) change sharply within a trajectory.

The observation was clear. The value fluctuations happened mostly between turns. While a single turn was being written out, the value stayed relatively flat, then moved sharply the moment the turn changed. The share of value variance within a trajectory accounted for by differences between turn averages had a median of 89.5%, and 93.8% of trajectories had larger between-turn variance than within-turn variance.

The interpretation follows naturally. If the points where value shifts are the turn boundaries, then the axis along which you split the reward should be the turn too, not the token.

Sample size for this observation

This comes from analyzing 2,048 trajectories and 16,323 turns collected across eight batches of checkpoints during search-agent training.

Existing Methods Don't Distinguish Turn Boundaries

The paper sorts existing methods into two camps. The table below maps that landscape and MPO's place in it.

Family Representative methods How credit is split What it can't do
Group comparison without a critic GRPO, DAPO, GSPO One shared signal per sequence Can't tell which turn or token contributed
Per-token with a critic PPO, VC-PPO, VAPO, SAO Fine-grained, following the token sequence Treats every token as the same "action," doesn't separate turn boundaries
MPO — Turn-level between turns, token-level within a turn Requires a critic

One side shares a single signal across the whole sequence, so it's too coarse; the other gives a signal to every token, so it's fine-grained but ignores turn boundaries. MPO sits in between. But is aligning to turn boundaries enough? The next point is that even within a single turn, there are differences worth keeping.

MPO Aligns Both Reward and Update to the Turn

MPO uses the turn as its reference both when building the learning signal (MAE, Multiscale Advantage Estimation) and when updating the policy. The signal is called the advantage (a learning signal for how much better an action turned out than expected), and MPO assigns it in two stages.

Why the turn comes first is clearest when you look at the problem of expression length. Even for the same "one search," the model might wrap it up briefly or spell it out at length. Token-level GAE discounts the signal a little at each token, so for the same decision, a turn with more tokens has its signal decayed across more steps, making its reach depend on the length of the action. The length of the expression creeps into how credit is assigned, independent of the action's actual contribution. Seen turn by turn, "one search" is evaluated as a single decision regardless of its length.

So the first stage sets the contribution of the whole turn. It treats one complete assistant turn (one search, one summary) as a single "big decision." Within a turn there's no back-and-forth with the environment, so it's fine to bundle it together. Normally GAE (the standard technique that discounts the expected reward a little at each step to estimate the advantage) whittles the signal down token by token, but here it whittles once per turn. Thanks to that, this turn-advantage estimate, once you fix the reward and the turn-boundary values, is determined independently of turn length and isn't swayed by how many tokens are inside the turn. That said, this length-independence is a property limited strictly to the turn advantage estimated this way; it doesn't mean MPO erases all contribution differences due to length. As we'll see, the objective is averaged over all effective tokens.

But if you flatten a turn into one identical value, the difference between the tokens that really matter within the turn and those that don't disappears. So the second stage restores that difference. It fixes the turn average at the value set in the first stage, and fills in only the relative differences between tokens as a local signal. Setting the local-correction strength to zero reverts to a "turn broadcast" where every token gets the same value. The key is that all of this is handled by a single critic. There's no separate critic for the turn value and the token value.

Deeper: why turn-level correction is theoretically safer

You can establish a monotonic improvement bound at the turn scale. But what Theorem 1 of the original paper guarantees is not "performance won't drop as you update," but rather a conditional guarantee: performance is non-decreasing only when the improvement of the surrogate (the approximation you optimize in place of the actual objective) is at least as large as the penalty from distribution shift. If you use a token-level surrogate, the distribution shift within a turn adds an extra penalty even under the same KL constraint (the brake that keeps updates from growing too large), making that condition harder to satisfy. The token ratio only corrects the next-token distribution, which is insufficient to correct the whole-turn distribution, so the prefix distribution ends up misaligned.

Deeper: how the two-stage advantage is determined as one

In stage one, summing the TD residuals (one-step prediction errors) within a turn cancels the internal predictions, leaving only the turn-boundary values, and GAE is applied to this "turn time axis." Stage two frames two requirements — "fix the turn average at the stage-one value, but preserve the between-token differences as much as possible via the local signal" — as a least-squares projection problem. The unique solution of this convex problem is the allocation that centers the average on the turn estimate while leaving the pairwise token differences intact.

The Update Looks at the Probability of the Whole Turn Too

When you update the policy, you need an "importance correction." The old model that collected the data and the model currently being updated differ slightly. Since the two models have diverging probabilities of producing the same action, you have to correct by that ratio so the update doesn't lean to one side.

The question is at what unit you do this correction. If you correct by token-level probability ratios, the distinction you carefully drew turn by turn gets blurred at the update step. When the way the early part of a turn is generated changes, the context in which the tokens that follow are placed changes along with it — but a single token's probability ratio only corrects the very next token and can't capture this change of context. So MPO sets the basis of correction to "the probability ratio of the whole completed turn." It corrects the turn as a single unit, while keeping the fine per-token differences alive in the learning signal. The device that achieves both at once is stop-gradient (a mechanism that lets the value pass through but cuts off the learning signal).

Deeper: what stop-gradient does in the forward and backward passes

If you just multiply by the turn ratio directly, the per-token local corrections cancel out, so you bind it with stop-gradient. In the forward pass, every token is weighted by the whole-turn ratio, and the clipping is done with this turn ratio too. In the backward pass, each token forms its score gradient with its own MAE advantage. (Implementation note: following VAPO's decoupled GAE, the critic's λ is set to 1 so the critic regresses the terminal return directly.)

Experiments: How Much, and Why, Did It Improve?

They trained two sizes of Qwen3 model in three environments — Search, Claw-Eval, and Automation Bench — and compared against several existing methods. To isolate the effect of the correction unit alone, they also included an ablated version, "MPO w/ token IS," that keeps credit assignment as is but reverts the correction to the token level.

How much did it improve?

Performance is read three ways. pass@1 is the rate of getting it right on a single attempt; pass@3 is the rate of getting it right at least once in three tries (repeated reliability); pass^3 is the rate where all three tries must be right to count (consistency). The table below shows, among the nine metrics, five chosen to represent the task types (search/exploration tasks and hard tasks) and the three evaluation methods — how much MPO beat the strongest non-MPO baseline.

Metric 4B improvement 30B-A3B improvement
BrowseComp-Plus pass@1 +4.33pp +3.59pp
GAIA pass@1 +3.85pp +3.80pp
HLE pass@1 +0.66pp +0.12pp
GAIA pass@3 +5.11pp +5.90pp
Claw-Eval pass^3 +0.95pp +1.12pp

The gap varies by task. It's clear on search/exploration tasks like BrowseComp-Plus and GAIA, but narrow on hard tasks like HLE. In particular, 30B-A3B's HLE pass@1 at 0.12pp is essentially a tie. A difference this small is hard to read straightforwardly as an "edge" — because of a limitation in the measurement method that I'll note later.

With a larger sample (pass@32)

Even on pass@32, measured with 32 rollouts per task, 4B MPO beat GRPO and PPO at every evaluated k across all three benchmarks (on pass@32, BrowseComp-Plus 75.90, GAIA 69.90, HLE 34.00 — +3.61, +5.82, +5.80pp respectively over the better of the two). That the gap holds even with a larger sample tilts the weight toward the distribution itself having improved, rather than a lucky single attempt.

Why did it improve?

The gains come from two parts. "MPO w/ token IS," which reverts the correction from the turn ratio to the token ratio, dropped every reported score (on Search pass@1, down 2.36, 3.12, 1.03pp for 4B and 2.05, 2.19, 0.58pp for 30B-A3B). Even so, this token version still beat PPO on all six Search metrics. Which means turn-level credit assignment (MAE) alone yields a gain, and adding turn-level correction on top lifts it once more.

It's also sensitive to the settings. For 4B Search, the optimum was between-turn propagation / within-turn trace at (0.80, 0.95) and local-correction strength 1.0. Raising the propagation coefficient to 0.85 dropped the three Search pass@1 scores by 1.72, 2.21, 1.05pp respectively, and turning the local correction off to 0 made BrowseComp-Plus pass@1 collapse from 48.08 to 41.80. Change the task and you have to re-tune.

How well the critic predicted (explained variance — how much of the actual reward variance the prediction accounts for) was higher for MPO than for PPO in the late-training average. But since this metric is measured on each policy's own rollouts and is also affected by return variance, you can't conclude from this alone that the critic itself became more accurate.

Evaluation procedure and training setup details

The models are two, Qwen3-4B-Thinking and Qwen3-30B-A3B-Instruct; the environments are three, Search, Claw-Eval, and Automation Bench (training steps 300, 300, 200). The baselines are Base, GRPO, GSPO, PPO, VAPO, SAO. The Search benchmarks are BrowseComp-Plus, GAIA, and HLE, with GAIA and HLE using WebThinker's text-only evaluation subsets (drawn from the validation/test sets respectively). The trained search models' pass@1 and pass@3 are estimated from a pool of 32 independent rollouts per task, using the same samples even when the evaluation budget differs. Base uses 3 rollouts per task. Claw-Eval uses 3 independent runs to read pass@3 (at least one success) and pass^3 (all three successes). Automation Bench reads pass@1 by terminal-state assertions. The training result tables pick the best checkpoint from each run, then evaluate it offline 5 times and average, in units of percentage points (pp). The training-dynamics curves and ablation experiments, by contrast, have one run per setting in the main text, so those figures carry no between-run variance information.

Limitations and Open Questions

Starting with the limitations the authors state. The theoretical analysis assumes a fixed turn horizon T (how many turns a task spans), so guarantees for variable or extremely long horizons are outside the analysis.

The statistical robustness of the evaluation is worth flagging too. The final performance table evaluates the best checkpoint 5 times and averages, but the training-dynamics curves and ablation experiments have one run per setting. This is why a small difference like HLE's 0.12pp above is hard to transcribe as a "clear edge."

Adoption cost and scope of applicability are limitations as well. MPO only runs if there's a critic. Both stages of MAE lean on critic predictions, especially the turn-boundary values. So you can't drop it as-is onto pipelines that don't use a critic, like GRPO or GSPO, and the critic's training cost and stability come along with it. The experiments are also limited to two sizes of the Qwen3 family and three task groups. Whether the same edge reproduces on other model families, or in environments with far longer and more complex turns like coding agents, is a question outside this paper.

Bringing It to ONTLE

If ONTLE were to train a PM agent with its own reinforcement learning, this paper poses an immediately usable question.

Say ONTLE's AI PM is handed the task "handle the customer's payment-error ticket" and works through five turns. The one that actually decided the outcome was "the turn that queried the payment logs in the internal DB," while the "Slack draft turn" sent to the person in charge reads smoothly but has almost no bearing on success or failure. If you divide the credit by tokens alone, the long and fluent Slack turn and the short DB-query turn get the learning signal whittled and delivered differently according to length — and the decision unit that actually decided the outcome, "the DB-query turn," gets blurred by differences in expression length. This is exactly where MPO's idea of aligning the unit of decision (the turn) with the unit of learning hits home.

But before dropping this technique straight in, some preparation is needed. Since MPO requires a critic, we too would first have to set up an RL environment with a critic attached. The next thing to do is not code but measurement. Borrow the paper's observation method as-is as a diagnostic tool: in our own agent logs, record the critic values turn by turn, and compare "between-turn variance" against "within-turn variance." The paper's 89.5% and 93.8% are just figures from a particular search-agent run, not constants for every agent.

The criterion for the decision rests on that measurement result. If the value fluctuations are concentrated between turns, there's plenty of room for turn alignment to pay off, so consider adopting it; if things are evenly flat both between and within turns, doubt the benefit first and hold off. The question comes down to one thing. Are we teaching the agent by distinguishing "which turn it did well in," or are we rewarding it by lumping everything into a single overall success or failure?

References