Latent On-Policy Self-Distillation

Hugging Face Daily Papers Papers

Summary

This paper introduces Latent On-Policy Self-Distillation (LOPD), a method that makes the teacher's privileged context learnable end-to-end from experience, providing dense token-level supervision to enhance agent performance and efficiency in agentic tool use and code generation.

Enabling agents to learn from experience and internalize it into their policy has become a central problem in self-evolving AI. On-policy self-distillation (OPSD) offers an effective pathway by using a privileged self-teacher to provide dense supervision on the student's own trajectories; however, existing methods still rely heavily on designer-specified privileged artifacts (e.g., answers, feedback, skills, or trajectories), limiting the end-to-end learnability and scalability required for continual self-improvement. In this work, we introduce Latent On-Policy Self-Distillation (LOPD), which, rather than proposing another hand-crafted OPSD variant with a newly prescribed form of privileged context, makes the teacher's privileged context itself learnable end-to-end from experience. Technically, LOPD retrieves relevant experiences and composes them into continuous latent tokens that condition a self-teacher, while the student generates trajectories from the task and interaction history and receives dense token-level supervision at every visited prefix. We further introduce a privileged-margin objective to stabilize and regulate the learning of latent context. Empirically, LOPD demonstrates (I) strong performance, outperforming RLVR and representative OPSD methods including OPSD, SDPO, and Skill-SD across both agentic tool use and code generation; and (II) high learning efficiency, surpassing GRPO and Skill-SD with less than 30% of their rollout budget. Ablation studies further provide direct evidence that making privileged context learnable is necessary for realizing these gains. Together, these results position LOPD as a step toward a more scalable and self-directed paradigm for agent evolution.
Original Article
View Cached Full Text

Cached at: 08/17/26, 07:45 AM

Paper page - Latent On-Policy Self-Distillation

Source: https://huggingface.co/papers/2608.13040 Published on Aug 13

·

Submitted byhttps://huggingface.co/greeky

gbzon Aug 17

Abstract

Latent On-Policy Self-Distillation learns privileged teaching context end-to-end from experience to provide dense token-level supervision, improving agent performance and efficiency.

Enabling agents to learn from experience and internalize it into their policy has become a central problem in self-evolving AI.On-policy self-distillation(OPSD) offers an effective pathway by using aprivileged self-teacherto provide dense supervision on the student’s own trajectories; however, existing methods still rely heavily on designer-specified privileged artifacts (e.g., answers, feedback, skills, or trajectories), limiting the end-to-end learnability and scalability required for continual self-improvement. In this work, we introduce LatentOn-Policy Self-Distillation(LOPD), which, rather than proposing another hand-crafted OPSD variant with a newly prescribed form of privileged context, makes the teacher’s privileged context itself learnable end-to-end from experience. Technically, LOPD retrieves relevant experiences and composes them into continuouslatent tokensthat condition a self-teacher, while the student generates trajectories from the task and interaction history and receives densetoken-level supervisionat every visited prefix. We further introduce aprivileged-margin objectiveto stabilize and regulate the learning of latent context. Empirically, LOPD demonstrates (I) strong performance, outperformingRLVRand representative OPSD methods including OPSD,SDPO, andSkill-SDacross both agentic tool use and code generation; and (II) high learning efficiency, surpassingGRPOandSkill-SDwith less than 30% of their rollout budget. Ablation studies further provide direct evidence that making privileged context learnable is necessary for realizing these gains. Together, these results position LOPD as a step toward a more scalable and self-directed paradigm for agent evolution.

View arXiv pageView PDFGitHub20Add to collection

Get this paper in your agent:

hf papers read 2608\.13040

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper2

#### liunanfu1992/Qwen3-8B-LOPD 8B• Updated3 days ago • 35 • 1 #### liunanfu1992/OLMo-3-7B-Think-LOPD 7B• Updated3 days ago • 36

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2608.13040 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2608.13040 in a Space README.md to link it from this page.

Collections including this paper1

Similar Articles

Latent-MOPD: Latent Multi-Teacher On-Policy Distillation

arXiv cs.LG

The paper introduces Latent-MOPD, the first representation-level multi-teacher on-policy distillation method for LLMs, which integrates multiple specialist teachers through both their output distributions and hidden states without extra teacher training, outperforming token-only, representation-only, and averaging baselines across nine math, code, and logic benchmarks.

DOPD: Dual On-policy Distillation

Hugging Face Daily Papers

DOPD proposes a dual on-policy distillation paradigm that dynamically routes token-level supervision between privileged teacher and student policies based on advantage gaps and probabilities, addressing privilege illusion and improving capability transfer in LLMs and VLMs.

OPID: On-Policy Skill Distillation for Agentic Reinforcement Learning

Hugging Face Daily Papers

OPID proposes an on-policy skill distillation framework that extracts dense hindsight supervision from completed trajectories, combining outcome-based RL with token-level self-distillation to improve language agent training efficiency and performance on multi-turn tasks.

On-Policy Self-Distillation without Any Supervision

Hugging Face Daily Papers

Introduces U-OPSD, an unsupervised on-policy self-distillation method that uses internal consistency and majority-vote pseudo-solutions to improve LLMs without external supervision, matching or exceeding supervised methods on math benchmarks.