Distillation trains a smaller student model to imitate a larger teacher. It is one of the main ways a language model is changed after pretraining, next to fine-tuning, adapters and reinforcement learning, all covered in adapting language models. The student is cheaper to run, and as a rule it is no better than the teacher, because everything it learns comes from the teacher's outputs.
A variant called self-distillation uses one model as both teacher and student. The model answers with some advantage, such as a worked solution in its prompt or a chance to revise, and is then trained to give those answers without it. In 2026 a run of papers made this an alternative to reinforcement learning for math and code.
Distillation is also a policy question, because it lets anyone copy a frontier lab's model. I see distillation as synthetic data that tops out at its teacher, and reinforcement learning as the way past that limit.[13]
How it works
Teacher and student
The student can copy the teacher's final answers or, in layer-wise distillation, its internal representations.[1] A student can still beat much larger models. Orca-Math, a 7-billion-parameter model trained on 200,000 math problems generated by several cooperating models and then on feedback about its own solutions, scored 86.8 percent on the GSM8K benchmark of grade-school math and outperformed larger models such as Llama 2 70B and GPT-3.5.[2]
Self-distillation
Self-distillation uses one model in both roles. The model answers once with extra help in its prompt, such as a worked solution, and those answers are used to train the same model to answer without the help. One study reports that it matches standard RL training on math reasoning benchmarks with much less compute.[3] It also has a known failure. A reasoning model writes out its thinking before answering, and part of that thinking is hesitation, words such as "wait" or "let me check" where it pauses to re-examine a step. One study found that self-distillation suppresses these hesitation tokens, with large drops in accuracy on unfamiliar math problems.[4]
Some self-distillation needs no help in the prompt at all. Researchers at Apple sampled code solutions from a model with particular temperature and truncation settings and fine-tuned the same model on those raw samples, with no teacher, no checker and no RL. Qwen3-30B-Instruct, an open model from Alibaba, rose from 42.4 to 55.3 percent on LiveCodeBench, a benchmark of recent programming problems, with most of the gain on hard problems. The authors attribute it to reshaped token probabilities. The model becomes more decisive where a single answer is right and keeps its variety where exploring helps.[5] An older loop, STaR, adds a filter. The model writes out its reasoning for many questions, only the reasoning that reached the correct answer is kept, and the model is fine-tuned on that and repeats. In 2022 this matched fine-tuning a model 30 times larger on a commonsense reasoning benchmark.[6] Because the filter is a score on the model's own attempts, STaR sits between distillation and RL.
On-policy self-distillation
In 2026 a run of papers made self-distillation on-policy, meaning the model learns from its own fresh attempts while a better-informed copy of itself grades each token. Self-Distillation Zero has the model revise its own answer after learning whether it passed, then trains the first-try model toward the revision; it improved math and code scores by at least 10 percent over the base models with only a pass or fail signal, and beat GRPO, a common RL algorithm, with the same questions and sample budget.[7] Reflective on-policy self-distillation gives the teacher copy a short corrective idea instead of a whole worked solution and trains only from the first wrong sentence onward, which kept reasoning more varied and training more stable.[8] Other variants choose what to teach, either by isolating the part of the model tied to correct answers[9] or by using the model's own short-context answers as the teacher for long documents.[10] All of them get a dense, token-by-token training signal without a separate, larger teacher. RL with verifiable rewards covers how these methods compare with RL on the same pass or fail checks.
Copying frontier models
Because a student can be trained on a large model's outputs, anyone with access to a strong model can copy much of its ability cheaply, and frontier labs forbid this in their terms of service. Others argue that this copying is healthy, because it is one of the few forces that keep capability from concentrating in a handful of labs.[11] Labs usually hide their models' reasoning, and good distillation is thought to depend on it. In August 2026 one researcher relayed unconfirmed rumors that labs behind open models had found ways to recover hidden reasoning from commercial coding agents and trained on it. The same researcher's published work found that a model trained to reconstruct reasoning from final outputs can often recover useful traces, and the post argued that whether open labs can approximate frontier reasoning may decide the future of open-weight models.[12] Model access and the gray market covers the rules around which models people may use and copy.
History and timeline
- May 2022: STaR shows a model improving its reasoning by training on its own correct attempts.[6]
- Feb 2024: Orca-Math shows a 7-billion-parameter model trained on synthetic problems outperforming much larger models at grade-school math.[2]
- Apr 2026: Apple researchers report that a model improves at code by fine-tuning on its own unfiltered samples.[5]
- Apr to May 2026: a run of papers on on-policy self-distillation appears.[7][8]
- Jul 2026: I argue that distillation is capped by its teacher and that RL is how models exceed it.[13]
- Aug 2026: rumors circulate that open models were distilled from reasoning recovered from frontier coding agents.[12]
My position
Distillation is synthetic data capped by its teacher, and RL is the way past it, as argued in adapting language models.[13]
The distillation work cited here reports students that come close to their teachers without exceeding them.[1] Self-distillation is the case that fits least well, since it matched RL on math benchmarks.[3] I read it as consistent with the view, because its source is the model plus a worked solution in the prompt, which is more than the model alone, but the result does narrow my claim to distillation from a separate teacher. Simple self-distillation on code is harder to fit, since it used no extra help of any kind.[5] The authors' explanation is that training sharpens choices the model could already make. I read that as a gain in how reliably the model uses an existing ability rather than a new ability, but the paper does not test that distinction.
Criticism and counterpoints
An April 2025 study found that distillation from a stronger teacher, not RL, introduced new reasoning patterns, which reverses the roles in my view (RL with verifiable rewards).[14]
Open questions
- Can open labs approximate frontier reasoning if frontier labs keep hiding it?[12]
- Does self-distillation without any extra help add ability, or only make existing ability more reliable?
See also
Change log
Reading
References
- ^ Liang et al., Less is More: Task-aware Layer-wise Distillation
- ^ Mitra et al., Orca-Math: Unlocking the potential of SLMs in Grade School Math
- ^ On-Policy Self-Distillation for Large Language Models (OPSD)
- ^ Why Self-Distillation Sometimes Degrades Reasoning Capability of LLMs
- ^ Zhang et al., Embarrassingly Simple Self-Distillation Improves Code Generation
- ^ Zelikman et al., STaR: Bootstrapping Reasoning With Reasoning
- ^ He et al., Self-Distillation Zero: Self-Revision Turns Binary Rewards into Dense Supervision
- ^ Zhao et al., Beyond Imitation: Reflective On-Policy Self-Distillation for LLM Reasoning
- ^ Hao et al., Self-Policy Distillation via Capability-Selective Subspace Projection
- ^ Zhang et al., OPSDL: On-Policy Self-Distillation for Long-Context Language Models
- ^ Distillation is good and healthy for AI (@ClementDelangue, Nov 2026)
- ^ Rumors that open models were distilled from frontier reasoning traces (@jxmnop, Aug 2026)
- ^ Distillation is synthetic data capped by the teacher (@trashpandaemoji, Jul 2026), since deleted
@oneill_c At the end of the day distillation is just another form of synthetic data generation. It caps out at the teacher model’s limits. RL is how models exceed the limits.
- ^ Yue et al., Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?