@noamrazin: On-policy distillation (OPD) is now a core part of LM post-training. But there exist many OPD objectives, and it's not …

X AI KOLs Timeline Papers

Summary

Noam Razin shares a theoretical analysis of on-policy distillation (OPD) objectives for LM post-training, examining how the choice of objective affects what the student model learns and how quickly. The post introduces a 🧵 thread linking to the full paper.

On-policy distillation (OPD) is now a core part of LM post-training. But there exist many OPD objectives, and it's not always clear which one to choose. We shed light on this question by theoretically analyzing how this choice affects what the student learns and how fast. 🧵 https://t.co/pGP3W6SFhS
Original Article
View Cached Full Text

Cached at: 11/20/26, 05:56 AM

On-policy distillation (OPD) is now a core part of LM post-training. But there exist many OPD objectives, and it’s not always clear which one to choose.

We shed light on this question by theoretically analyzing how this choice affects what the student learns and how fast. 🧵

OPD objectives mainly vary along two axes:

  1. Granularity: sequence or token level
  2. Divergence: forward KL, reverse KL, JS …

TL;DR: All objectives aim to match the teacher, but differ markedly in their biases and ease of optimization. https://arxiv.org/abs/2611.23397

Details 👇 2/13

First, we show that sequence-level OPD has a future agreement bias. It favors tokens after which the student and teacher continuations closely match, even if these tokens are unlikely under the teacher.

Myopic token-level objectives avoid this bias.

3/13

We empirically demonstrate the potential harms of this bias: it can cause over-refusal. On WildJailbreak, a Qwen3-1.7B student learns to refuse nearly all benign requests, despite the teacher answering most of them!

Why? Formulaic refusals leave little to disagree on.

4/13

Theoretically, we formalize this harm by considering a binary tree navigation task. Due to the future agreement bias, Sequence-level OPD puts nearly all probability on an incorrect first step, and as a result takes exponentially longer than token-level OPD to solve the task. 5/13

The future agreement bias also leads sequence-level OPD to learn token positions in reverse order. Since the update at each position depends on how well the student matches the teacher at later positions, earlier positions tend to settle only after later ones are matched.

6/13

As for the choice of divergence, we show that they are not all equally amenable to gradient-based optimization.

While forward KL gradients vanish only as the student approaches the teacher, for reverse KL and JS they can vanish even when the two are far apart.

7/13

Consequently, forward KL can be exponentially faster than reverse KL and JS at raising the probability of tokens that are initially unlikely under the student.

8/13

This gap matters when distilling new knowledge.

On a code completion task requiring the use of APIs released after the student, reverse KL and JS struggle to transfer knowledge of these APIs, whereas forward KL succeeds.

9/13

So why has reverse KL OPD often been observed to outperform forward KL OPD in practice?

In common applications such as mathematical reasoning, the student is already somewhat competent, so solving a problem rarely requires generating tokens it initially deems unlikely.

10/13

Our analysis further suggests that reverse KL favors tokens the student already prefers, steering it toward reachable solutions, while forward KL can push it beyond its abilities, especially with larger teachers.

Experiments on math confirm these implications.

11/13

Overall, our results highlight the importance of accounting for the student, teacher, and task at hand when selecting an OPD objective, and lay a foundation for doing so in a principled manner.

12/13

Had the pleasure of collaborating with @hubstrauss and Liam Fowl.

📰 Paper: https://arxiv.org/abs/2611.23397

13/13

Exactly. The vanishing gradients problem that we characterize for reverse KL and JS is not due to sampling. It stems from their optimization geometry.

Similar Articles

Understanding Off- vs On-Policy Distillation: A Tale of Distinct Training Objectives

arXiv cs.LG

This UCLA paper theoretically analyzes on-policy distillation (OPD) versus off-policy/SFT-style distillation, showing how forward and reverse KL objectives aggregate multiple teachers into arithmetic vs geometric mixtures, establishing logarithmic regret bounds, and explaining both the benefits and fragility of OPD (e.g., sensitivity to low-probability teachers and incorrect-prefix bias).

On-policy distillation: one of the hottest terms on PapersWithCode [R]

Reddit r/MachineLearning

Hugging Face's Niels introduces On-policy Distillation (OPD), a key post-training technique used in models like Qwen 3.6/3.7, GLM-5.1, and DeepSeek-V4, now featured on PapersWithCode with a linked whiteboard explanation by Sasha Rush and Dwarkesh Patel.

Gains and Collapse in On-Policy Distillation:A Reinforcement Learning Perspective

Hugging Face Daily Papers

This paper analyzes on-policy distillation (OPD) for language model post-training through a reinforcement learning lens, explaining why OPD both improves performance and can collapse into repetitive generation. It finds that masking unhealthy responses during training and SFT initialization can mitigate collapse, shifting focus from teacher generation quality to its ability to evaluate student rollouts.