---
title: Explain on-policy distillation. How does it differ from supervised distillation on teacher outputs and from RL with a…
url: https://gurkanozkan.ai/learn/questions/recent-a-ft-02/
markdown: https://gurkanozkan.ai/learn/questions/recent-a-ft-02.md
kind: question
role: Applied LLM
stage: Technical
difficulty: Hard
json: https://gurkanozkan.ai/api/learn/questions/recent-a-ft-02.json
robots: noindex
---

# Explain on-policy distillation. How does it differ from supervised distillation on teacher outputs and from RL with a verifiable reward, and when would you use it?

Applied LLM · Technical · Hard

## Answer

*Model answer, written in a candidate's voice*

### In short

- Student samples its own trajectories; teacher scores every token; loss is per-token reverse KL between student and teacher distributions
- Training on states the student actually visits, avoiding compounding errors from off-policy imitation
- Dense per-token feedback vs one sparse reward per episode in RL; Qwen3 report figures cited by Thinking Machines: 74.4% AIME'24 at ~1,800 GPU hours vs 67.6% for RL at ~17,920 (about a tenth)
- Requires teacher log-probabilities with a compatible tokenizer; student cannot exceed the teacher on the distilled behaviour
- Uses: compress a reasoning model into a smaller one, recover behaviours lost after domain fine-tuning, personalisation without a reward model

### In full

On-policy distillation trains the student on its own sampled trajectories while the teacher scores every token, with the loss a per-token reverse KL between the student and teacher distributions. That differs from supervised distillation, which imitates teacher outputs on teacher-like states, because the student is optimised on the states it actually visits, reducing compounding errors from off-policy imitation. It also differs from RL with a verifiable reward, which gives one sparse signal per episode, whereas distillation gives dense per-token feedback, so it needs far fewer samples. Thinking Machines' write-up cites the Qwen3 technical report: on-policy distillation reached 74.4% on AIME'24 with about 1,800 GPU hours, against 67.6% for the RL stage with about 17,920 GPU hours.

```calc
1,800 / 17,920 = 0.100  ->  about a tenth of the GPU hours, for a score 6.8 points higher (74.4 - 67.6)
```

The practical requirements are access to teacher log-probabilities with a compatible tokenizer, and the student cannot exceed the teacher on the distilled behaviour. I would use it to compress a reasoning model into a smaller one, to recover behaviours lost after domain fine-tuning, or to personalise a model without building a reward model.

*Corrected by an independent AI reviewer.*

## What a strong answer covers

- The student samples its own trajectories; the teacher scores every token, and the loss is a per-token reverse KL between student and teacher distributions
- Versus supervised distillation: training happens on states the student actually visits, so it avoids compounding errors from off-policy imitation
- Versus RL: dense per-token feedback instead of one sparse reward per episode, so far fewer samples; Thinking Machines, citing the Qwen3 technical report, notes a higher AIME'24 score (74.4% vs 67.6%) at roughly a tenth of the GPU hours of the RL stage (1,800 vs 17,920)
- Requirements and limits: access to teacher log-probabilities with a compatible tokenizer, and the student cannot exceed the teacher on the distilled behaviour
- Uses: compressing a reasoning model into a smaller one, recovering behaviours lost after domain fine-tuning, and personalisation without a reward model

## Common mistakes

- Describing it as ordinary SFT on teacher samples
- Using forward KL on teacher samples and calling it on-policy

## Follow-ups

- Why is reverse KL mode-seeking, and is that what you want here?

## Topic guides

- [Fine-tuning, LoRA and distillation](https://gurkanozkan.ai/learn/topics/fine-tuning.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
