arXiv(opens in a new tab)cs.LGOct 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2610.23181

Tree-Aware Posterior Distillation for Long-Horizon Agentic Reinforcement Learning

Heming Zou, Qi Wang, Yixiu Mao, Yun Qu, Yuyi Guo, Zeyuan Liu, Chenglin Li, Weijie Liu, Saiyong Yang, Xiangyang Ji

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Heming Zou 1,2,∗^{1,2,*}, Qi Wang 1^{1}, Yixiu Mao 1^{1}, Yun Qu 1^{1}, Yuyi Guo 1,2,∗^{1,2,*}, Zeyuan Liu 1,2,∗^{1,2,*}, Chenglin Li 1^{1}, Weijie Liu 2^{2}, Saiyong Yang 2^{2}, Xiangyang Ji 1^{1}

1^{1}Tsinghua University, 2^{2}Foundation Model Department, Tencent

∗^{*}Work completed during an internship at Tencent.

Reinforcement learning with verifiable rewards has become a scalable post-training paradigm for large language models. However, training agents over long-horizon interactions presents two challenges: using only terminal rewards makes turn-level credit assignment sparse and high-variance, while sequential mini-batch updates on a fixed rollout batch introduce policy staleness as the current policy drifts from the behavior policy. Existing approaches obtain denser credit via learned critics, process reward models, or on-policy distillation, but they rely on a value network, step-level annotations, or a stronger external teacher that increase training complexity. Meanwhile, importance sampling and clipping mitigate policy drift, but they do not specify a finite target that stops sequential updates from overshooting. In this work, we introduce TreeOPSD, a critic-free, tree-aware posterior self-distillation framework for long-horizon agentic reinforcement learning. Treating each interaction turn as a tree node, TreeOPSD branches alternative continuations from shared prefixes and recursively backs up terminal rewards into implicit turn-level credit. It then maps each credit to a closed-form, bounded teacher distribution parameterized by the likelihood ratio relative to the frozen behavior policy. Minimizing the divergence between this teacher and the student policy recovers the policy-gradient direction as the tangent at the behavior policy while bounding updates toward a finite target across sequential mini-batches. Empirically, TreeOPSD improves agentic capabilities across several competitive benchmarks and model scales, especially for long-horizon tasks, e.g., raising the average accuracy of Qwen3-30B-A3B-Thinking-2507 by 4.97 points over GRPO on the Deep Research setting.

Date: October 19, 2026

Correspondence: Qi Wang (cheemswang@mail.tsinghua.edu.cn)

Saiyong Yang (stevesyang@tencent.com)

Xiangyang Ji (xyji@tsinghua.edu.cn)

Figure

THU-IDM

www.thuidm.com

Figure

Tencent

Hunyuan

1 Introduction

Reinforcement learning with verifiable rewards (RLVR) (Shao et al., 2024; Guo et al., 2025) has emerged as a central post-training paradigm for large language models (LLMs), using outcome rewards to incentivize reasoning or environment interactions on complex problem-solving tasks. While reasoning-oriented RLVR typically learns from Chain-of-Thought (CoT) rollouts, agentic RL (Yao et al., 2022) extends this paradigm to long-horizon, multi-turn trajectories in which reasoning is interleaved with actions and environment observations. As the interaction horizon grows, a single terminal reward provides increasingly sparse and high-variance supervision across intermediate turns: broadcasting one trajectory-level advantage over the entire rollout over-credits unhelpful actions in successful trajectories and penalizes useful steps in failed ones (Arjona-Medina et al., 2019; Li et al., 2026a). At the same time, updating the policy across sequential mini-batches within each rollout batch induces policy staleness as the current policy departs from the behavior policy (Zheng et al., 2025a).

To address the credit assignment problem, actor–critic methods such as Proximal Policy Optimization (PPO) (Schulman et al., 2017) estimate token-level advantages with a learned critic, which is difficult to train accurately and susceptible to value flattening (Li et al., 2026c). Process reward models (PRMs) (Lightman et al., 2024) provide step-level rewards but require process annotations, and summing them as discounted returns is vulnerable to reward hacking (Cheng et al., 2026). On-policy distillation (OPD) (Agarwal et al., 2024; Gu et al., 2024) provides dense token-level supervision on student rollouts at the cost of querying a stronger external teacher. Extending OPD, on-policy self-distillation (OPSD) (Zhao et al., 2026; Kaur et al., 2026) constructs a self-teacher by conditioning the model on privileged context (e.g., reference solutions), which relies on task-specific heuristics and can yield unstable supervision. These limitations leave open how to derive dense intermediate credit directly from terminal verifier rewards. Sampling independent trajectories confounds all turns along each rollout, whereas multi-turn interaction exposes discrete turn-level prefixes as natural branching points. Branching alternative continuations from a shared prefix fixes the preceding history to isolate how subsequent decisions affect terminal outcomes, forming a rollout tree on which recursive backup converts terminal rewards into implicit turn-level credit without auxiliary value or reward models (Ji et al., 2026; Zou et al., 2026a).

Sequential mini-batch updates on a fixed rollout batch create a separate optimization challenge. While all rollouts in the batch are sampled from a frozen behavior policy πθold\pi_{\theta_{old}}, each update step moves the current policy πθ\pi_{\theta} further away, increasing policy staleness for subsequent mini-batches. Policy-gradient methods compensate for this mismatch with importance-sampling ratios, and stabilize training through clipping (Schulman et al., 2017) or ratio regularizers (Zheng et al., 2025a) as those ratios depart from one. However, such controls only constrain the importance ratio while keeping the collection-time credit fixed, so the surrogate still specifies an ascent direction rather than a finite destination (Qu et al., 2026a). We therefore seek an objective that maps tree credit to a finite target and adapts its gradient as πθ\pi_{\theta} evolves, halting at the target and reversing sign after overshoot.

To this end, we introduce TreeOPSD, a critic-free posterior self-distillation framework for long-horizon agentic RL. TreeOPSD first maps backed-up turn credit into a frozen turn-level teacher distribution relative to the behavior policy, and then minimizes the divergence between this teacher and the current student policy across sequential mini-batches. Geometrically, the tangent of this

Figure

Figure 1 Target construction: terminal rewards at the blooming (successful) and withered (failed) branch tips are backed up through shared prefixes to define a frozen turn-level teacher along the luminous green path. Distribution matching: starting from the behavior-policy rollout (purple trail), the student policy progressively aligns with this outcome-derived target through posterior distillation.

distillation objective at the behavior policy recovers the exact tree policy-gradient direction, while later mini-batches scale each update by the current student–teacher gap rather than a fixed collection-time credit weight. Figure 1 illustrates this decoupling of target construction and distribution matching.

In summary, our main contributions are two-fold:

  1. We derive closed-form, bounded turn-level target distributions via an affine map of backed-up credit relative to the frozen behavior policy. Because this affine map commutes with tree backup, matching the backed-up parent target is gradient-equivalent to aggregating descendant distillation losses.

  2. We formulate a Forward-KL posterior distillation objective whose tangent at the behavior policy recovers the tree policy gradient, while its student–teacher residual vanishes at the target and reverses sign upon overshoot to stabilize sequential mini-batch optimization.

Empirically, TreeOPSD improves agentic capabilities across competitive benchmarks and model scales, and it elicits longer-horizon agent behavior with more interaction turns in Deep Research.

References (100)

Couldn't load all references. Reload the page to try again.