Explainer
AI model distillation explained: teachers and students
Distillation is a way to make a smaller, faster AI model by training it to imitate a larger "teacher" model, usually on data the teacher has labelled.[1][2] A 2015 paper further developed the approach, building on work that compressed the knowledge of an ensemble of models into one easier-to-deploy model.[3][4] It has been used to build compact models from DistilBERT, 40% smaller than BERT, to six small models DeepSeek distilled from DeepSeek-R1, though students are generally not quite as good as their teachers.[5][6][1]
This page covers distillation as a technique. For the compact models it helps produce, see small language models explained; for other ways of adapting a model, see how fine-tuning works.
The idea: a teacher and a student
Big AI models are expensive to run. Distillation trains a small model, the student, to copy the answers of a big one, the teacher. Google describes the usual approach as having the large teacher label data that is then used to train the smaller student, which is faster but generally not quite as good.[1] The idea is that a small model learns better with a teacher than it would trained from scratch.[4]
The 2015 paper by Hinton, Vinyals and Dean started from ensembles: averaging the predictions of many models improves accuracy but can be too expensive to deploy, so the authors built on earlier work showing that an ensemble’s knowledge can be compressed into a single model.[3][4] They reported that distilling an ensemble into one model significantly improved the acoustic model of a heavily used commercial speech system.[7]
How it is done today
Distillation can happen at different stages. DistilBERT applied it during pre-training rather than for a single task, combining a language-modelling loss, a distillation loss and a cosine-distance loss.[5][8] Its authors reported a model 40% smaller and 60% faster than BERT that kept 97% of its language understanding.[5]
Distillation is also offered as a cloud service. Amazon Web Services describes it as transferring knowledge from a larger teacher to a smaller, faster, cheaper student; its Bedrock service generates synthetic responses from the teacher and fine-tunes the student on them for a specific use case.[2] Customers choose the two models and supply a set of prompts.[9]
Examples
| Student model(s) | Teacher | Reported result |
|---|---|---|
| DistilBERT (2019) | BERT | 40% smaller, 60% faster, 97% of language understanding kept[5] |
| Llama 3.2 1B and 3B (2024) | Larger Llama models | Built with pruning and distillation to fit on edge and mobile devices[10] |
| Six DeepSeek-R1 distilled models (2025) | DeepSeek-R1 | Open-sourced alongside R1[6] |
DeepSeek licenses R1’s code and weights under the MIT License, which allows distillation into other models.[11] Distillation is used beyond chatbots too: Waymo says it distils large teacher models into smaller students that can run on its vehicles.[12] In image generation, the 2023 consistency models paper proposed one-step generators that can be trained by distilling a pre-trained diffusion model.[13]
Why distillation matters
Smaller students cost less to run. The Chinchilla scaling study made a related point about model size in general, noting that a smaller model uses substantially less compute for fine-tuning and inference.[14] Efficiency gains also matter for rules that target models by training compute: the EU AI Act says its compute threshold should be adjusted over time for changes such as algorithmic improvements.[15] See the AI compute thresholds debate.
Read next
You've reached the end of the course. Next crash course
AI safety and alignment in 2026: a crash course
A sourced crash course on AI safety: alignment, interpretability, evaluations, oversight, safety institutes and the 2026 frontier.
More in Frontier AI
Questions readers ask
What is model distillation in AI?
A way to create a smaller, faster version of a model. Google describes it as having a large teacher model label data that is then used to train a smaller student model.[1]
Is a distilled model as good as the original?
Usually not quite. Google says the student's predictions are generally not as good as the teacher's. DistilBERT's authors reported keeping 97% of BERT's language understanding while being 40% smaller and 60% faster.[1][5]
Sources
· 15 claims from 12 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
Google says distillation creates a smaller, faster version of a language model, usually by having a large teacher model label data used to train a smaller student, though the student's predictions are generally not quite as good. reportedas of 2026-11-14
- LLMs: Fine-tuning, distillation, and prompt engineering (Machine Learning Crash Course) · Google for Developers · Secondary source · Distillation (retrieved 2026-11-14)
- LLMs: Fine-tuning, distillation, and prompt engineering (Machine Learning Crash Course) · Google for Developers · Secondary source · Distillation (retrieved 2026-11-14)
- LLMs: Fine-tuning, distillation, and prompt engineering (Machine Learning Crash Course) · Google for Developers · Secondary source · Distillation (retrieved 2026-11-14)
- [2]
Amazon Web Services describes model distillation as transferring knowledge from a larger teacher model to a smaller, faster, cheaper student model; its Bedrock service generates synthetic responses from the teacher and fine-tunes the student on them for a specific use case. confirmedas of 2026-11-21
- Customize a model with distillation in Amazon Bedrock · Amazon Web Services (documentation) · Primary source (retrieved 2026-11-21)
- Customize a model with distillation in Amazon Bedrock · Amazon Web Services (documentation) · Primary source (retrieved 2026-11-21)
- [3]
The 2015 distillation paper starts from the problem that averaging the predictions of an ensemble of models works well but can be too computationally expensive to deploy, and builds on earlier work by Caruana and colleagues showing that the knowledge of an ensemble can be compressed into a single model that is easier to deploy. reportedas of 2015-03-09
- Distilling the Knowledge in a Neural Network · arXiv (Hinton, Vinyals and Dean) · Secondary source · 2015-03-09 · Abstract (retrieved 2026-11-14)
- Distilling the Knowledge in a Neural Network · arXiv (Hinton, Vinyals and Dean) · Secondary source · 2015-03-09 · Abstract (retrieved 2026-11-14)
- [4]
Knowledge distillation uses a larger "teacher" network to train a smaller one, on the idea that the small model can perform better with a teacher than if trained from scratch; a 2015 paper by Geoffrey Hinton, Oriol Vinyals and Jeff Dean further developed the approach of compressing the knowledge of an ensemble of models into a single model that is much easier to deploy. confirmedas of 2024-09-25
- Llama 3.2: Revolutionizing edge AI and vision with open, customizable models · Meta AI · Primary source · 2024-09-25 (retrieved 2026-11-14)
- Distilling the Knowledge in a Neural Network · arXiv (Hinton, Vinyals and Dean) · Secondary source · 2015-03-09 (retrieved 2026-11-14)
- [5]
DistilBERT, a 2019 model built by applying knowledge distillation during pre-training, was 40% smaller and 60% faster than BERT while keeping 97% of its language understanding capabilities, according to its authors. confirmedas of 2019-10-02
- DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter · arXiv (Sanh et al., Hugging Face) · Primary source · 2019-10-02 · Abstract (retrieved 2026-11-21)
- [6]
Alongside R1, DeepSeek open-sourced six smaller models distilled from it. confirmedas of 2025-01-20
- DeepSeek-R1 Release · DeepSeek · Primary source · 2025-01-20 (retrieved 2026-10-10)
- [7]
The 2015 paper reported that distilling an ensemble into a single model significantly improved the acoustic model of a heavily used commercial speech system. reportedas of 2015-03-09
- Distilling the Knowledge in a Neural Network · arXiv (Hinton, Vinyals and Dean) · Secondary source · 2015-03-09 · Abstract (retrieved 2026-11-14)
- [8]
DistilBERT's training combined three losses, a language modelling loss, a distillation loss and a cosine-distance loss. confirmedas of 2019-10-02
- DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter · arXiv (Sanh et al., Hugging Face) · Primary source · 2019-10-02 · Abstract (retrieved 2026-11-21)
- [9]
To use Bedrock's distillation, a customer chooses a teacher and a student model and supplies a set of prompts, which Bedrock uses to generate responses from the teacher. confirmedas of 2026-11-21
- Customize a model with distillation in Amazon Bedrock · Amazon Web Services (documentation) · Primary source (retrieved 2026-11-21)
- [10]
Meta's Llama 3.2 release in September 2024 included lightweight 1-billion and 3-billion-parameter text models designed to fit on edge and mobile devices, which Meta built from larger Llama models using pruning and knowledge distillation. confirmedas of 2024-09-25
- Llama 3.2: Revolutionizing edge AI and vision with open, customizable models · Meta AI · Primary source · 2024-09-25 (retrieved 2026-11-14)
- Llama 3.2: Revolutionizing edge AI and vision with open, customizable models · Meta AI · Primary source · 2024-09-25 (retrieved 2026-11-14)
- Llama 3.2: Revolutionizing edge AI and vision with open, customizable models · Meta AI · Primary source · 2024-09-25 (retrieved 2026-11-14)
- [11]
DeepSeek licenses the DeepSeek-R1 code and model weights under the MIT License, allowing commercial use, modification and distillation into other models. confirmedas of 2026-11-07
- DeepSeek-R1 repository README · DeepSeek (GitHub) · Primary source · 7. License (retrieved 2026-11-07)
- [12]
Waymo says it adapts its foundation model into large teacher models for driving, simulation and evaluation, then distils them into smaller student models that can run on vehicles or simulate hundreds of millions of miles. confirmedas of 2025-12-09
- Demonstrably Safe AI For Autonomous Driving · Waymo · Primary source · 2025-12-09 (retrieved 2026-10-10)
- [13]
The 2023 consistency models paper says diffusion models depend on slow iterative sampling, and proposes models that map noise directly to data in one step, trainable by distilling a pre-trained diffusion model or on their own. confirmedas of 2023-03-02
- Consistency Models · arXiv · Secondary source · 2023-03-02 · Abstract (retrieved 2026-11-14)
- Consistency Models · arXiv · Secondary source · 2023-03-02 · Abstract (retrieved 2026-11-14)
- Consistency Models · arXiv · Secondary source · 2023-03-02 · Abstract (retrieved 2026-11-14)
- Consistency Models (ICML 2023) · Proceedings of Machine Learning Research, vol. 202 (ICML 2023) · Primary source · Abstract (retrieved 2026-11-22)
- Consistency Models (ICML 2023) · Proceedings of Machine Learning Research, vol. 202 (ICML 2023) · Primary source · Abstract (retrieved 2026-11-22)
- Consistency Models (ICML 2023) · Proceedings of Machine Learning Research, vol. 202 (ICML 2023) · Primary source · Abstract (retrieved 2026-11-22)
- [14]
The Chinchilla authors noted that a smaller compute-optimal model also uses substantially less compute for fine-tuning and inference. confirmedas of 2022-03-29
- Training Compute-Optimal Large Language Models · arXiv (Hoffmann et al., DeepMind) · Primary source · 2022-03-29 · Abstract (retrieved 2026-11-21)
- [15]
The AI Act says its compute threshold should be adjusted over time to reflect changes such as algorithmic improvements or more efficient hardware, and supplemented with benchmarks and indicators of model capability; Article 51(3) empowers the Commission to amend the thresholds by delegated act. confirmedas of 2024-07-12
- Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act) · EUR-Lex (Official Journal of the European Union) · Primary source · 2024-07-12 · Recital 111 (retrieved 2026-11-07)
- Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act) · EUR-Lex (Official Journal of the European Union) · Primary source · 2024-07-12 · Article 51(3) (retrieved 2026-11-07)
Revision history (1)
- Page created.
Created Nov 21, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Jul 28, 2027.
Cite this page
"AI model distillation explained: teachers and students." ContentLora, updated Nov 21, 2026. https://contentlora.com/explain/ai-model-distillation-explained
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.