Frontier Foundry

Distillation vs Fine-tuning

31 sourced facts · updated

Distillation or fine-tuning: what is the difference?

Distillation is a kind of fine-tuning. Both train a model further on examples; what differs is where the examples come from. In fine-tuning a team supplies its own labeled examples to teach a task, a format or a style. In distillation the examples come from a larger teacher model, and the aim is a smaller student that mimics it. The sources also note that much of what is called distillation is ordinary fine-tuning with direction from another model. [1][2][3][4]

In the knowledge graph: The student is a small model taught further on what the teacher produced.

The difference between Distillation and Fine-tuning

DistillationFine-tuning
Where the training examples come fromFrom a teacher: a larger, more capable model answers questions, and its answers and reasoning are recorded for the student. [1][2]From the team: examples collected, labeled by an LLM judge, reviewed by hand and split into held-out sets. When examples are scarce, a larger model can write more. [5][6]
What it aims to teachTo mimic a larger model: the aim is to capture its reasoning offline and let smaller, faster models serve it. [7]A task, a format or a style: reflexes such as the format of the input, not facts, which change. [3]
What decides qualityHow much of the teacher is captured: a student trained on exact reasoning traces generally outperformed one trained on summaries. In Anthropic's test, a pretrained model trained on full transcripts scored 80.4% on SWE-bench Verified, against 71.8% on summarized ones. [8][9]Data quality, not quantity: throwing masses of data at training does not give a good outcome, and a smaller golden set trained with heavier weight beats unfiltered traces. [10][11]
The teacherCentral: the student is bounded by the guiding signal. A large teacher-student gap can steer the student the wrong way, and on-policy distillation helps only when the two are highly aligned. [12][13]Optional. Where a larger model is used as a teacher, the strongest one is not always best: a much more capable teacher can produce traces the student cannot learn from. [14]
How it goes wrongA thin copy that is worse than its base: variants distilled on only 4k to 10k teacher samples were reported to change style rather than capability, and one external test saw more hallucination and slower runs. [15][16]Regressions and forgetting: each tune fixed its target but caused regressions in other things, and full SFT on domain tasks can degrade general performance. [17][18]
How to check itCompare the student with its base model before shipping, and evaluate it on a benchmark such as SWE-bench Verified. [15][19]Evaluate on held-out sets and check the metrics before deploying, and score the tune on what it forgot as well as what it learned. [20][21]

When to use Distillation

  • You want a smaller, faster model that serves what a large one can do. Microsoft Research reported a 22M-parameter tile encoder distilled from a billion-parameter teacher within 3% of the original at roughly 50 times less compute. [7][22]
  • You have access to a strong teacher whose reasoning you can record: transcripts of the teacher's reasoning are the most valuable distillation data, much more useful than the output alone. [23][24]

When to use Fine-tuning

  • The model's output format or behavior is off, and you can curate examples of the right behavior yourself. [25][10]
  • You want a cheap way to specialize a model: LoRA freezes the base weights and trains only a few added parameters, which gives tiny checkpoints and lets several tunes share one base model. [26][27]

Using Distillation and Fine-tuning together

The two stack. A distilled student is a small model taught further on what the teacher produced, and a tiny on-device model is usually tuned on a dataset created synthetically with a larger model. One example: a 270M-parameter model went from 46% to over 90% function-calling success after tuning on synthetic data, reported by Google. [2][28][29]

Does a smaller student keep what the teacher knew?

Less as it shrinks. R1 distilled into smaller Qwen2.5 models scores lower on AIME, MATH and GPQA the smaller the student, and distilled models may do worse in general if tuned to a narrow set of benchmarks. [30][31]

Each one on its own

from their concept pages

What is Distillation?

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.

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.

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
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

Distillation, explained in full: how it works as a machine, every part and its sources.

What is Fine-tuning?

Fine-tuning continues the training of an existing model on a smaller set of examples for one task or style. The model keeps most of what it knows and shifts toward the new data. It buys behaviour that prompting cannot reach, at the cost of data, compute and one more model to maintain.

Fine-tuning continues the training of a base model on a team's own labeled examples so it takes on a task, a format or a style. Most teams train a small adapter on top of frozen weights, score it on cases it never saw, and serve it. The sources agree that the training run is the short part: the examples before it and the regressions after it take the time.

3K or 9K trajectories
Fixed number of SFT training trajectories in an experiment that varied only which verifier filtered them; the better verifier gave the better model at both sizes (Browserbase and Microsoft Research) Corby Rosset
22.6 GB
Peak GPU memory when tuning a 3B-parameter model on a math set with a LoRA variant that reached 53.2% test accuracy, as measured by Hugging Face Hugging Face
about a week
Time for one full cycle of gathering data, labeling, tuning, iterating and deploying a fix in one production workflow, reported by the team's data scientist Dan Bjornn

Fine-tuning, explained in full: how it works as a machine, every part and its sources.

In AI coverage over the last four weeks, Distillation took 1.6% and Fine-tuning 2.7%. Distillation, week by week

The facts behind this page

31 facts from the two knowledge packs
  1. Distillers generate millions of responses from a larger, more capable model and use them to teach a smaller model to mimic it. Anthropic · 2026-10-12 · Distillation
  2. The model that produces the training data is called the teacher, and the model that learns from it is called the student. OpenAI · 2026-11-20 · Distillation
  3. What to tune a model on is reflexes, such as the format of the input and which of several formats is right, and not facts, which change and would need large training data. Anant Srivastava, AI Engineer · 2026-10-04 · Fine-tuning
  4. Is distilling a lab's model through its API an attack, or an overblown complaint? The complaints inflate the problem; much of what is called distillation is ordinary fine-tuning with direction from another model 0xbadcafebee, Hacker News · 2026-06-24 · Distillation
  5. One team built a pipeline that collected examples, labeled them with an LLM judge, reviewed them by hand, made held-out sets, tuned, and checked its metrics. Dan Bjornn, AI Engineer · 2026-06-30 · Fine-tuning
  6. When there were too few examples of a problem, the team had an LLM write more, then validated them by hand, because they wanted the best possible training data. Dan Bjornn, AI Engineer · 2026-06-30 · Fine-tuning
  7. The aim of distilling is to capture the large model's reasoning offline and let smaller and faster models serve it. Raghav Saboo, AI Engineer · 2026-06-29 · Distillation
  8. After supervised fine-tuning, a student trained on exact reasoning traces generally outperformed one trained on reasoning summaries. OpenAI · 2026-11-20 · Distillation
  9. 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 · 2026-10-12 · Distillation
  10. Data quantity is not the most important thing in tuning; quality is, and throwing masses of data at training does not give a good outcome. The product team is the best judge of data quality. Sequoia · 2026-08-12 · Fine-tuning
  11. A smaller golden-trace set trained with heavier weight beats unfiltered traces; golden samples are critical to go beyond the baseline, and that sometimes needs humans to look at the data. Eugene Cheah, AI Engineer · 2026-10-17 · Fine-tuning
  12. A large teacher-student gap makes the guiding signal misalign with task correctness and steers the student the wrong way. Hugging Face · 2026-07-17 · Distillation
  13. On-policy distillation helps only when teacher and student are highly aligned, measured by the overlap of their output tokens. Hugging Face · 2026-10-12 · Distillation
  14. When distilling from a teacher into a smaller student, the strongest model is not always the best teacher: a much more capable teacher can produce traces the student cannot learn from, so pick a teacher closer to the student's ability (Stanford CS329Z lecture, summarizing a published agent-SFT pipeline). stanford · 2026-11-17 · Fine-tuning
  15. The 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 · 2026-06-18 · Distillation
  16. An external test found a Claude-distilled Qwen variant hallucinated more than base Qwen and ran slower. AINews · 2026-06-18 · Distillation
  17. The model never came out right on the first iteration: each tune fixed the target problem but caused regressions in other things. Dan Bjornn, AI Engineer · 2026-06-30 · Fine-tuning
  18. Tuning on domain tasks can cause catastrophic forgetting and degrade general performance, and the paper reports that full SFT suffers severe forgetting on general tasks. Hugging Face · 2026-08-04 · Fine-tuning
  19. The student was benchmarked by training a pretrained model on teacher transcripts and testing it on SWE-bench Verified. Anthropic · 2026-10-12 · Distillation
  20. After each tuning run the team evaluated the model on held-out sets and checked its metrics before deploying. Dan Bjornn, AI Engineer · 2026-06-30 · Fine-tuning
  21. The frontier is regression-aware improvement: when fixing a new failure, verify that the old ones are not forgotten. Soheil Feizi, AI Engineer · 2026-06-29 · Fine-tuning
  22. within 3% at roughly 50 times less compute: Slide-level pathology benchmarks: GigaPath-Flash (a 22M-parameter tile encoder distilled from a billion-parameter teacher) against the original GigaPath, reported by Microsoft Research Naoto Usuyama, Jeya Maria Jose Valanarasu, Tristan Naumann, microsoft · 2026-08-31 · Distillation
  23. Transcripts of the teacher's reasoning are the most valuable distillation data: much more useful than the output alone. Anthropic · 2026-10-12 · Distillation
  24. Reasoning traces can hold information the final answer leaves out, which makes them valuable training data for another model. OpenAI · 2026-11-20 · Distillation
  25. If the model's output behavior or structure is off, curate data and do supervised fine-tuning; if it lacks dynamic facts, use retrieval instead. Sequoia · 2026-08-12 · Fine-tuning
  26. LoRA adds a handful of parameters on top of the base model, freezes the base weights, and trains only those few parameters. Hugging Face · 2026-06-18 · Fine-tuning
  27. Parameter-efficient tuning gives tiny checkpoints, greater resistance to catastrophic forgetting and the ability to serve several tunes from one base model, and it works on quantized models. Hugging Face · 2026-06-18 · Fine-tuning
  28. For a tiny on-device model, the usual workflow is to create the dataset synthetically with a larger model and upload it to a tuning tool, instead of listing the functions in a system prompt. Cormac Brick, AI Engineer · 2026-04-08 · Fine-tuning
  29. 46% to over 90%: Function-calling success of a 270M-parameter model on an app task before and after tuning on synthetic data, eight of ten functions over 90%, reported by Google Cormac Brick, AI Engineer · 2026-04-08 · Fine-tuning
  30. Distilling gets harder as the student shrinks: R1 distilled into smaller Qwen2.5 models scores lower on AIME, MATH and GPQA the smaller the student, and Epoch would be surprised by a student a hundred times smaller that kept the teacher's breadth. Anson Ho, epoch · 2026-04-08 · Distillation
  31. Distilled models may be tuned to a narrow set of benchmarks and do worse in general; Epoch cites OpenAI's mini models doing worse on tasks that need much knowledge recall. Anson Ho, epoch · 2026-04-08 · Distillation

Cite this page

the version of 2026-12-02
APA
Han, R. (2026, December 2). Distillation vs Fine-tuning: what is the difference?. Frontier Foundry. https://www.ryanhan.ai/compare/distillation-vs-fine-tuning
BibTeX
@misc{han2026-compare-distillation-vs-fine-tuning,
  author       = {Han, Ryan},
  title        = {{Distillation vs Fine-tuning: what is the difference?}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = dec,
  url          = {https://www.ryanhan.ai/compare/distillation-vs-fine-tuning}
}

More comparisons

all of them