Frontier Foundry

Distillation

The Training Gym · Post-training, RL & Reasoning

Training a small model to imitate a big one.

Also called: distilled, distill, knowledge distillation, student model, teacher model. In the glossary.

How it works, as a machineThe Still House · lessons

Follow one lesson from a question for the teacher to a student checked against its base, in a still house with the teacher vat and the student bench.

  1. Load the questions
  2. Draw the answer
  3. Press the trace
  4. Pour the student's try
  5. Mark each token
  6. Compare with the base
Play Distillation

Distillation in plain words

Distillation teaches a small model from a large one's answers and reasoning. The student writes its own tries, the teacher marks them, and the student is compared with what it was before. Done well it keeps much of the quality at a fraction of the cost; too few lessons leave it worse than it started.

An analogy

A still house: the large vat is tapped for its best spirit, which is pressed whole into a small bottle. The bottle is tasted against the plain spirit it started as, and a thin pour tastes worse.

How Distillation connects

10 typed relations in the knowledge graph

Builds on

  • Fine-Tuning: The student is a small model taught further on what the teacher produced.
  • Reinforcement Learning: On-policy distillation marks the answers the student writes itself, as reinforcement learning does with a reward.

Built on by

  • Image Generation & Editing: Step distillation trains a student to do the denoising in far fewer steps.
  • Quantization: The healing vat is a teacher and a student: the original model teaches the rounded one by its logits.
  • RL with Verifiable Rewards: On-policy distillation adds dense teacher signal and merges specialists.
  • Small Language Models: A larger model writes the synthetic examples the small model learns from.
  • Speculative Decoding: A draft model is trained from the target, which is a form of distillation.
  • Video Generation: Step distillation trains a student to make the same clip in four steps instead of fifty.
  • World Models: The centrifuge runs a student distilled to few steps from a many-step teacher.

Makes possible

Often in the same sources

RL with Verifiable Rewards, Reinforcement Learning, Fine-Tuning, Mixture of Experts, Chinese AI Labs, Open-Weight Models

See Distillation in the knowledge graph

Who is behind Distillation

people, labs, products and models

Named in its facts

What the sources say

2 parts · 12 sources · updated 2026-11-27

In this corpus distillation is a small model learning from a large model's outputs: questions go to the teacher, its answers and reasoning traces are recorded, and the student is trained on them (offline, or on its own tries marked token by token by the teacher). How much the student gets depends on how much of the teacher is captured (full traces beat summaries), on how closely teacher and student match, and on how many lessons there are. The corpus also covers distilling through someone else's API, and the defences and dispute about it.

The teacher's still

Where the lessons are made: questions go in, the large model answers with its full reasoning, and the press decides how much of that reasoning is kept. What is kept sets how much a student can learn, which is also why labs protect the reasoning from outsiders.

  1. The question hopper loads a varied set of questions for the teacher; variety matters more than repeats.
  2. The teacher's vat answers each question and writes out its reasoning, tool calls and final response.
  3. The trace press keeps the exact reasoning trace, which teaches the student more than a summary of it.
80.4% vs 71.8%
SWE-bench Verified score of a pretrained model trained on the teacher's full reasoning transcripts vs only summarized ones (Anthropic's test) Anthropic
54.0% to 0.2%
Average attack success rate at recovering protected reasoning, before and after updated safeguards (OpenAI's adaptive internal test) OpenAI
10 to 100 times lower
Reasoning tokens that distillers extract after the two-stage classifier, against before (Anthropic's own estimate) Anthropic
under 0.1%
False positive rate of the classifier that screens requests for hidden reasoning (the cost to legitimate users) Anthropic
12,000 requests
Requests one lab tested, each trying to trick the model into revealing its reasoning a different way Anthropic
  • Distillers generate millions of responses from a larger, more capable model and use them to teach a smaller model to mimic it. Anthropic
  • In on-policy distillation, prompt diversity matters more than the number of samples per problem. Hugging Face
  • One pipeline starts from a small human-graded seed set of query and item pairs, which a stronger model audits. Raghav Saboo

When it breaksThe tap is worked by thousands of accounts. Simple safeguards against extracting reasoning were got round: distillers built proxy networks of hundreds of thousands of fraudulent accounts, one managing more than 20,000 at once, each sending requests that slipped past the first safeguards. Anthropic

Open questionIs distilling a lab's model through its API an attack, or an overblown complaint?

  • A second model can learn frontier capabilities without inheriting the safeguards that govern them, so unauthorized distillation is a safety risk OpenAI
  • The complaints inflate the problem; much of what is called distillation is ordinary fine-tuning with direction from another model 0xbadcafebee

The student's bench

Where the small model is trained and judged: it writes its own tries, the teacher marks them, and a benchmark against the base model says whether anything was learned. What the student reaches is bounded by the teacher and by the signal, and a thin or mismatched lesson makes it no better, or worse.

  1. The student's bottle holds the small model, which writes its own try at each question.
  2. The grading desk has the teacher mark the student's try token by token, and the student shifts toward the marks.
  3. The comparison bench scores the student on a benchmark and sets it beside the base model it started from.
14 of 17 pairs
Teacher-student pairs (1.5B to 235B parameters) where distilling from the initial student's offline rollouts beat on-policy distillation, by up to +13.6% accuracy and 11.4x training speedup Hugging Face
1.6x to 3.8x
Training throughput gained by decoupling rollouts from learner updates in asynchronous on-policy distillation, at comparable accuracy Hugging Face
4k-10k samples vs over 100k
A commenter's claim: capability-improving finetunes now need over 100k carefully curated examples, where thin Claude-distilled variants used 4k to 10k teacher samples AINews
2.3%
Gain in NDCG of relevance after training retrieval on labels distilled from a stronger model (one marketplace's report) Raghav Saboo
  • On-policy distillation trains a student on its own rollouts with token-level supervision from a teacher. Hugging Face
  • On-policy distillation steers the student toward correct reasoning paths with dense token-level guidance, without expanding the capability ceiling. Hugging Face
  • Success depends on the quality of the guiding signal rather than the scale of the teacher. Hugging Face

When it breaksThe thin copy is worse than the base. Open-model variants distilled from a frontier model on only 4k to 10k teacher samples were reported to change style rather than capability and to degrade the base model; one external test saw more hallucination and slower runs. The official R1 distills had used about 700k samples. AINews

Open questionHow much does distillation help a lab keep pace with the frontier?

  • It lets companies mimic frontier capabilities for a fraction of the development time and cost Anthropic
  • It is becoming less impactful as models near the frontier and training shifts to reinforcement learning Interconnects

Sources

12 in all

More in Post-training, RL & Reasoning

The Training Gym: the whole area