Self-Distilled Agentic Reinforcement Learning

Zhengxi Lu, Zhiyuan Yao, Zhuowen Han, Zi-Han Wang, Jinyang Wu, Qi Gu, Xunliang Cai, Weiming Lu, Jun Xiao, Yueting Zhuang, Yongliang ShenarXiv 2026

TL;DR

Reinforcement learning for LLM agents often struggles with coarse, trajectory-level rewards in multi-turn environments. This paper introduces SDAR (Self-Distilled Agentic Reinforcement Learning), a framework that stabilizes training by using a smooth, token-level gating mechanism to selectively distill dense guidance from a privileged teacher branch. By trusting positive teacher endorsements while softly down-weighting negative rejections, SDAR delivers massive performance boosts across diverse agent benchmarks without requiring external skills at test time.

What Problem Does This Paper Address?

Post-training LLM agents using Reinforcement Learning (RL) typically relies on trajectory-level rewards (e.g., a binary signal indicating whether the agent successfully purchased the correct item or solved a puzzle). However, for long-horizon, multi-turn interactions, this feedback is incredibly coarse and provides poor credit assignment for individual actions.

On-Policy Self-Distillation (OPSD) attempts to solve this by providing dense, token-level guidance from a "teacher" branch that is augmented with privileged, training-only context (like specialized skills or reference answers). Unfortunately, OPSD fails catastrophically when applied to multi-turn agents due to two core issues:

  1. Multi-turn Instability: Once the student agent drifts slightly from the teacher's trajectory, the token-level supervision becomes unreliable, causing compounding errors and exploding KL divergence.
  2. Asymmetric Trust in Privileged Guidance: The teacher isn't inherently smarter; it's just the same model augmented with privileged context (e.g., retrieved skills). If the skill retrieval is noisy or irrelevant, the teacher might incorrectly reject a perfectly valid student token. The authors found that negative-gap tokens (where the teacher assigns a lower probability than the student) exceed 50% of all tokens during training, making naive uniform distillation highly destructive.

Methods

The authors propose SDAR, which keeps RL (specifically Group Relative Policy Optimization, or GRPO) as the primary optimization backbone while relegating OPSD to a carefully controlled auxiliary role.

The core innovation is a Token-Level Gating Mechanism: Instead of distilling uniformly across all tokens, SDAR applies a smooth sigmoid gate ($g_t = \sigma(\beta \Delta_t)$) based on the detached Teacher-Student log-probability gap ($\Delta_t$).

  • Positive Gap (Teacher Endorsement): If the teacher assigns a higher probability to a student-sampled token, the gate opens wider, strengthening distillation on behaviors the student can generate but hasn't fully internalized.
  • Negative Gap (Teacher Rejection): If the teacher assigns a lower probability, the gate softly attenuates the signal, protecting the student from potentially noisy or flawed teacher guidance.

Crucially, the gating signal is detached using a stop-gradient operator (sg(.)). The authors provide a rigorous mathematical proof showing that without this detachment, an unstable self-referential coupling term is introduced into the gradient, which destroys training stability.

Datasets

The framework was evaluated using the Qwen2.5 and Qwen3 model families across three diverse agent benchmarks:

  • ALFWorld: A text-based game environment requiring agents to execute multi-turn household tasks (e.g., "Pick and Place") via text actions.
  • WebShop: A complex, web-based interactive shopping environment where agents navigate realistic interfaces to find and purchase products matching user specifications.
  • Search-QA: A search-augmented question-answering benchmark combining single-hop (NQ, TriviaQA, PopQA) and multi-hop (HotpotQA, 2Wiki, MuSiQue, Bamboogle) datasets.

Key Insights and Ideas

  • Fine-Grained Self-Paced Curriculum: Moving away from rigid, hand-crafted temporal schedules or trajectory-depth thresholds, token-level gating allows each token to autonomously decide the intensity of its own supervision.
  • The Teacher Isn't Always Right: In privileged-context setups, a negative gap often indicates poor skill retrieval or utilization by the teacher rather than a bad student action. Treating teacher guidance asymmetrically is vital for robust agent training.
  • True Knowledge Internalization: SDAR successfully transfers the underlying knowledge from the privileged context into the policy's parameters. This means the agent can outperform skill-augmented baselines at test time without needing any external skill retrieval.

Key Results

SDAR demonstrates exceptional performance and stability across all evaluated model scales and benchmarks:

  • Substantial Performance Gains: Compared to vanilla GRPO, SDAR (7B model) achieved a +9.4% improvement on ALFWorld, +7.0% on Search-QA, and +10.2% on WebShop accuracy.
  • Overcoming Instability: While standalone OPSD collapsed completely on Search-QA and naive GRPO+OPSD degraded severely on smaller models (like Qwen3-1.7B), SDAR maintained stable, consistent gains.
Figure 1: (a) Comparison between GRPO+OPSD and SDAR; (b) Overall Performance.
  • Robustness to Low-Quality Retrieval: Even when paired with Random Retrieval (feeding the teacher completely irrelevant skills), SDAR still outperformed the pure GRPO baseline, proving the gating mechanism effectively filters out noise from low-quality skills.

Limitations and Future Work

  • Dependence on Privileged Context Availability: While robust to noise, the ultimate upper bound of the distillation quality still depends on having access to a reasonably structured skill library or reference source during training.
  • Hyperparameter Tuning: The sharpness parameter $\beta$ and distillation coefficient $\lambda$ require careful calibration to properly balance the primary RL objective and the auxiliary distillation objective.
  • Future Directions: The authors suggest exploring more diverse forms of privileged context beyond structured skills and investigating adaptive schedules for the gate sharpness parameter $\beta$ to dynamically adjust filtering stringency as training progresses.

Summary updated

BibTeX
@misc{lu2026self,
  author = {Zhengxi Lu and Zhiyuan Yao and Zhuowen Han and Zi-Han Wang and Jinyang Wu and Qi Gu and Xunliang Cai and Weiming Lu and Jun Xiao and Yueting Zhuang and Yongliang Shen},
  title = {{Self-Distilled Agentic Reinforcement Learning}},
  year = {2026},
  eprint = {2605.15155},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.15155},
}
Figure