๐ค AI Summary
Existing token-level self-distillation methods decouple token selection from privileged information modulation, often leading to suboptimal solutions. This work proposes Unified Self-Distillation (USD), a novel framework that jointly optimizes both components as a single constrained problem governed by the student modelโs learning capacity. We reveal that this joint optimization is coordinated by a single dual variable and, leveraging Lagrangian duality, design a lightweight online algorithm to dynamically adjust the token selection threshold and the direction of privileged information. This enables adaptive alignment between supervision strength and the studentโs current learning capability. Experiments demonstrate that USD consistently outperforms existing self-distillation approaches and strong baselines across diverse model scales and inference benchmarks.
๐ 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.
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.