cd /news/machine-learning/unmasking-on-policy-distillation-whe… · home topics machine-learning article
[ARTICLE · art-53289] src=machinelearning.apple.com ↗ pub= topic=machine-learning verified=true sentiment=· neutral

Unmasking On-Policy Distillation: Where It Helps, Where It Hurts, and Why

Researchers introduced a training-free diagnostic framework to evaluate on-policy distillation for reasoning models, finding that distillation guidance aligns better with ideal gradients on incorrect rollouts than on correct ones. The optimal distillation context depends on the student model's capacity and the target task, with no universally effective configuration.

read1 min views8 publishedJul 9, 2026
Unmasking On-Policy Distillation: Where It Helps, Where It Hurts, and Why
Image: Apple ML Research

On-policy distillation offers dense, per-token supervision for training reasoning models; however, it remains unclear under which conditions this signal is beneficial and under which it is detrimental. Which teacher model should be used, and in the case of self-distillation, which specific context should serve as the supervisory signal? Does the optimal choice vary from one token to the next? At present, addressing these questions typically requires costly training runs whose aggregate performance metrics obscure the dynamics at the level of individual tokens. We introduce a training-free diagnostic framework that operates at the highest resolution: per token, per question, and per teacher. We derive an ideal per-node gradient defined as the parameter update that maximally increases the student’s probability of success. We then develop a scalable targeted-rollout algorithm to estimate this gradient efficiently, even for long chains of intermediate thoughts. The gradient alignment score, defined as the cosine similarity between this ideal gradient and any given distillation gradient, quantifies the extent to which a particular configuration approximates the ideal signal. Across a range of self-distillation settings and external teacher models, we observe that distillation guidance exhibits substantially higher alignment with the ideal on incorrect rollouts than on correct ones, where the student already performs well and the teacher’s signal tends to become noisy. Furthermore, we find that the optimal distillation context depends jointly on the student model’s capacity and the target task, and that no single universally effective configuration emerges. These findings motivate the use of per-task, per-token diagnostic analyses for distillation.

── more in #machine-learning 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/unmasking-on-policy-…] indexed:0 read:1min 2026-07-09 ·