Matching Supervision to the Student's Learning Capacity: A Unified Framework for On-Policy Self-Distillation

Yongkang Yang, Zhezheng Hao, Hong Zhang, Yi Liu, Xiankun Lin +6 more
8/8/2026
cs.AIcs.LG
distillation

Official code: lauvlalala/USD (0 stars, Python, last commit 2026-08-08).

Abstract

On-policy self-distillation (OPSD) improves the reasoning abilities of LLMs by internalizing privileged context into model parameters through self-distillation. Two recent research lines promote vanilla OPSD by choosing which tokens to learn from and by controlling how much privileged information the teacher receives, respectively.

Show full abstract

However, we show that each line optimizes one variable while holding the other fixed, which leads to a suboptimal solution. We argue that the two variables are coupled through the student's learning capacity: the privileged information sets the per-token divergence the teacher prescribes, while token weighting selects which of these the student must absorb. We formalize the two lines of work into a unified optimization framework, which maximizes the aggregate teacher--student divergence, subject to a budget on the aggregate learning difficulty the student can absorb. Under this modelling, we propose Unified On-Policy Self-Distillation (USD), a lightweight online algorithm to solve the Lagrangian. USD reveals that a single dual variable governs both decisions: at one price for learning difficulty, it simultaneously sets the token-selection threshold and the direction of privileged-information adjustment, keeping supervision matched to the student's evolving capacity. Through extensive experiments, USD consistently demonstrates superior performance over OPSD and token- and PI-side baselines across various model scales on various reasoning benchmarks. Code is available at https://github.com/lauvlalala/USD.

View on arXivView PDF

Code Implementations(1)

lauvlalala/USDOfficial100%

USD: Unified On-Policy Self-Distillation — jointly adapts soft token weighting and privileged-information strength under a shared learning-capacity budget.

00Python, ShellAug 5, 20263 months ago

Similar Papers

Cite this paper

@article{yang2026matching,
  title  = {Matching Supervision to the Student's Learning Capacity: A Unified Framework for On-Policy Self-Distillation},
  author = {Yongkang Yang and Zhezheng Hao and Hong Zhang and Yi Liu and Xiankun Lin and Wence Ji and Fanjunduo Wei and Jiarui Yu and Qiang Lin and Xiaoyun Liang and Hande Dong},
  year   = {2026},
  eprint = {2608.08176},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.08176v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.08176.svg)](https://codeofpaper.com/paper/2608.08176)

Discussion