Manuscript Offprint

arXiv:2611.12587

AgentOPSD: Turn-Level Credit Assignment via Recursive Belief Revision

Yizhuo Li

Abstract

Reinforcement learning with verifiable rewards ordinarily spreads a single advantage over a whole trajectory, a granularity too coarse to isolate the few decisions on which success in a long, multi-turn interaction actually turns. Privileged self-distillation supplies denser supervision, but it leaves unanswered how a set of local teacher-student discrepancies should be converted into credit along a sequence. We introduce AgentOPSD, a critic-free scheme that assigns credit recursively, one interaction turn at a time. Inside a turn, the token-level log-probability gaps between a skill-conditioned self-teacher and the student are summed, and that sum acts as evidence in a recursive Bayesian update carried out in log-odds space; the resulting revisions reallocate the outcome-derived advantage across turns through a multiplier that is bounded and preserves its sign. With Qwen2.5-3B and Qwen2.5-7B as policy backbones on ALFWorld, the method improves consistently on GRPO and on self-distillation baselines, and attains 89.1% success at the 7B scale. Ablations attribute the gain to aggregating evidence at turn boundaries and to making the belief revision depend on history, rather than to the local gap by itself.

1 Introduction

Teaching large language models to act as agents has become a principal avenue for extending their capacity on difficult tasks (Guo et al., 2025; Team et al., 2025; Yang et al., 2025; Comanici et al., 2025; Team et al., 2026b). The setting is not static single-turn reasoning: an agent inhabits a partially observable world and keeps acting, choosing from what it currently sees and then observing the

world's response before deciding again (Shen et al., 2023; Shi et al., 2025; Jimenez et al., 2023). Verification, moreover, often becomes possible only once a trajectory has finished, so a training procedure must infer the role of one intermediate step from a single sparse terminal signal. Yet steps inside a trajectory are far from interchangeable: a successful run can contain redundant, spurious or misleading actions, and a failing run can contain sensible reasoning.

Group-relative policy optimization, with GRPO (Shao et al., 2024; Yu et al., 2025) being the canonical instance alongside its agentic descendants (Dong et al., 2025; Feng et al., 2025), derives a single advantage for the whole trajectory from the outcome reward and applies it unchanged at every position. Credit that is spread this flatly cannot separate a handful of pivotal decisions from routine operations around them, and the distortion worsens as turns accumulate. Per-turn credit is therefore a prerequisite both for locating decisions that actually drive the outcome and for supervising long horizons at finer granularity.

Denser token-level supervision has been pursued along a separate line. In on-policy distillation (Ye et al., 2026; Yang et al., 2026; Team et al., 2026a), a student is trained under a teacher on rollouts of its own, while the self-distillation variants of this idea (Zhao et al., 2026; He et al., 2026) do away with any separate teacher by conditioning one and the same policy on privileged information that exists only during training (Lu et al., 2026b). Reinforcement learning has likewise used such signals as an auxiliary supervision source.

Two mismatches appear once OPSD meets agentic reinforcement learning. The first concerns granularity: token-level signals sit awkwardly against an interaction in which many tokens jointly constitute one action and the environment reacts only when a turn ends. The second concerns memory: even step-aware methods score each turn sep-

*This manuscript is a rewritten, single-environment condensation of our earlier technical report (arXiv:2608.05987v1). The ALFWorld results reported here are reproduced from that work.

Figure

Figure

Figure 1: Training dynamics and robustness to horizon of AgentOPSD on Qwen2.5-7B-Instruct / ALFWorld. (a) Validation success rate over the course of training. (b) How accuracy decays as the task horizon grows, quantified by OLS slopes of per-sub-task success against the mean number of turns taken by successful episodes. (c) Policy entropy over the course of training.

arately (Zhang et al., 2026), leaving earlier evidence unused. What must be solved, then, is how local OPSD signals become turn-level credit that depends on history.

We begin from the position that what should govern a turn's credit is not its local signal taken on its own, but how far that signal moves the estimated probability of eventual success. Precision comes from reading the per-turn self-distillation gap as newly arrived evidence driving a Bayesian belief update (Åström, 1965; Kaelbling et al., 1998). The belief state is then the probability of eventual task success given the history so far.

This observation leads us to AgentOPSD (agentic on-policy self-distillation), a method that assigns credit turn by turn in long-horizon agents. Token-level teacher-student log-probability gaps are first pooled by AgentOPSD into turn-level evidence. A Bayesian belief state, initialized at the mean group success rate, is then revised recursively turn after turn in log-odds space, with neither extra rollouts nor a learned critic required. The verifier fixes the direction of optimization globally, while the belief updates redistribute the trajectory-level learning signal over individual turns. AgentOPSD is evaluated on ALFWorld (Shridhar et al., 2020) at two model scales, and Figure 1 shows it to outperform GRPO and strong self-distillation baselines consistently. The ablations point to two sources of the improvement: pooling token-level signals at the turn boundaries that coincide with environment transitions, and reframing a gap that stands on its own as a revision of belief that recurs along the trajectory.

We summarize the contributions of this work below:

• Credit at the level of a turn is cast as the amount by which one turn revises the estimated chance that the run ends in success. Carrying the recursion in log-odds space ties the evidence of one turn to a Bayesian update applied repeatedly, and makes plain that a self-distillation gap on its own does not amount to sequential credit.

• We propose AgentOPSD, which collapses teacher-student log-probability gaps at the token level into turn-level evidence that lines up with environment transitions, then carries it recursively through the belief over trajectory success; neither extra rollouts nor a learned critic is required.

• On ALFWorld, at two model scales, experiments together with ablations show AgentOPSD to outperform GRPO and strong self-distillation baselines consistently, and the ablations confirm that aggregating at turn boundaries and revising belief by recursion bring benefits that are complementary.

References (41)