Self-Distilled Reasoner: On-Policy Self-Distillation for LLMs (OPSD)
TL;DR. OPSD makes one LLM both student and teacher. The student samples a solution. The teacher, the frozen initial model given the reference solution, , provides a full next-token distribution at every position of that rollout. The student minimises a clipped per-token divergence to it. It is GKD-style on-policy distillation with no larger teacher and no verifier reward.
Key idea
Section titled “Key idea”Train on problem–solution pairs . For each problem the student samples one rollout . At each position the loss compares the teacher’s and student’s full-vocabulary distributions on the student’s prefix. To stop a few stylistic tokens from dominating the sum, the per-vocabulary-entry contributions of an -divergence are clipped pointwise:
Forward KL worked best and is used throughout. The teacher is fixed to the initial policy, which the authors found stabilises training and acts as regularisation. A sampled-token variant gives a policy-gradient reward like the Thinking Machines recipe, but full-vocabulary distillation beat it (Table 4, Qwen3-4B pass@8: 84.1 vs 82.1 on AIME25, 60.0 vs 57.3 on HMMT25).
Name clash. π-Distill also defines an “OPSD”, meaning RL with a reverse-KL penalty to a privileged teacher. That is a different method.
Key results
Section titled “Key results”Setup: Qwen3-1.7B, 4B and 8B (instruct) with LoRA, trained on up to 30K OpenThoughts math problem–solution pairs. Evaluation is Avg@12 on AIME24, AIME25 and HMMT25 (Table 2). For Qwen3-8B, OPSD averages 64.8 (77.8 / 70.8 / 45.8) vs GRPO 64.0, base 61.8 and SFT 59.8. Qwen3-4B gives 63.6 vs GRPO 62.7 (base 61.2). Qwen3-1.7B gives 43.4 vs GRPO 37.7 (base 37.1). OPSD is reported at the best of checkpoints up to step 100, and GRPO at its peak within 500 steps. SFT on the same concise solutions hurts, because it shortens test-time reasoning.
Connections
Section titled “Connections”- Before: GKD (the full-vocabulary on-policy objective) and On-Policy Distillation (the sampled-token version). STaR’s rationalisation is the offline ancestor of “condition on the answer”.
- Siblings: SDFT uses the same trick with demonstrations for continual learning. π-Distill trains the privileged teacher too.
- Critique: Pedagogical RL uses OPSD as a baseline and argues that a non-trained privileged teacher’s recoveries decay on long, off-track student prefixes.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Mechanism
In OPSD the teacher is p(· | x, y*), the same model as the student but given the reference solution y*. Why does this teacher provide useful token-level signal on the student's own rollout, and why do the authors freeze it at the initial policy rather than use the current weights?
What a strong answer covers
- Explaining or continuing toward a known answer is easier than solving, so with y* in context the model assigns higher probability to correct next steps and lower probability to steps that diverge from it.
- Evaluated on the student's own prefix, the per-token divergence says where the student departs from what an informed version of itself would write. This is dense, on-policy supervision, like GKD with a self-teacher.
- A frozen initial teacher stabilises training and acts as an implicit regulariser against drifting from the initial policy. A moving teacher could co-adapt with the student and remove the signal.
- The teacher is only as good as the base model's ability to use y* in context, so gains are bounded by that ability. Results vary by size: about +3 points at 8B, +2.4 at 4B and +6.3 at 1.7B over the base model.
- What if…
Table 3 (Qwen3-1.7B, AIME25, Avg@12, base 36.7) compares divergences: forward KL reaches 43.9 at step 50 and 41.1 at step 100, reverse KL 37.5 and 35.0, and JSD(0.5) 36.9 and 39.0. Why might forward KL work best here, when GKD and the Thinking Machines recipe favour reverse KL, and what do the step-100 numbers imply about training length?
What a strong answer covers
- With forward KL(p_T‖p_S), the student must cover the informed teacher's distribution, pulling up tokens the solution-aware model rates highly. That is the signal OPSD wants to transfer.
- Reverse KL is mode-seeking on the student's own support. With a self-teacher that differs only slightly from the student, it may simply reinforce what the student already does.
- The divergence also interacts with the pointwise clipping, which caps stylistic tokens that dominate the full-vocabulary sum; results are specific to this setup.
- Scores peak early and fall by step 100, so OPSD converges fast and needs early stopping. The paper reports the best checkpoint up to 100 steps, which flatters it relative to a fixed budget.
- Critique
OPSD reports matching or beating GRPO with one 1024-token rollout per problem versus GRPO's 8 rollouts of 16K tokens. List the evaluation choices that make this comparison favourable to OPSD and what a fair comparison would hold fixed.
What a strong answer covers
- OPSD is reported as the best of checkpoints every 20 steps up to 100, while GRPO is reported at peak within 500 steps. Both are best-checkpoint selection on the test benchmarks.
- OPSD's teacher needs the full reference solution with chain-of-thought (OpenThoughts traces generated by a stronger model). GRPO uses only the final answer, so OPSD consumes more supervision.
- Teacher forward passes over the full vocabulary are not counted in "tokens generated", so compute is not equal.
- A fair comparison would fix FLOPs including teacher passes, select checkpoints on a validation split, use multiple seeds, and add SFT on the same reference solutions plus on-policy distillation from a larger teacher.