---
title: Distillation: A Small Model Learns From a Big One | Large Programs
description: Distillation squeezes what a group of big models knows into one smaller model. What the 2015 paper by Hinton, Vinyals and Dean says, in plain words.
canonical: https://www.largeprograms.com/knowledge-distillation-a-student-model-learns-from-a-teacher/
---

[Home](/) / [How LLMs Work](/category/how-llms-work/)

How LLMs Work

# Distillation: A Small Model Learns From a Big One

Distillation squeezes what a group of big models knows into one smaller model. What the 2015 paper by Hinton, Vinyals and Dean says, in plain words.

27 November 2026 · 2 min read

A good teacher does not just hand over answers. A teacher passes on how to think about them. In machine learning, **distillation** is a way to pass what a big model, or a team of models, has learned to a smaller "student" model.

![A big teacher model sends answers to a smaller student model, which ends up fast and small.](/img/distillation-teacher-student.svg)

The idea appears in the 2015 paper "Distilling the Knowledge in a Neural Network" by Geoffrey Hinton, Oriol Vinyals and Jeff Dean, who were at Google at the time.

## The problem

The abstract starts with a simple fact: a very easy way to improve almost any machine learning method is to train many different models on the same data and average their predictions. The cost is that running a whole ensemble is "cumbersome and may be too computationally expensive" to give to a large number of users, especially if the models are large neural networks.

## The fix

The authors say earlier work by Caruana and colleagues showed that the knowledge in an ensemble can be compressed into a single model that is much easier to use. They develop the idea further with a different compression method.

## What they report

- "Surprising results" on MNIST, a classic collection of handwritten digits.
- A significant improvement to the acoustic model of a heavily used commercial system, by distilling an ensemble into one model. The abstract does not name the system or give the numbers, so this page does not either.
- A new kind of ensemble made of one or more full models and many specialist models that learn to tell apart the fine-grained classes the full models confuse. Unlike a mixture of experts, they say, these specialists can be trained quickly and in parallel.

These are the authors' reports. See [mixture of experts](/mixture-of-experts-a-team-of-small-networks/) for the model design they compare against.

## Why it matters

Small models are cheaper and faster, and can run on phones and laptops. Distillation is one way to make them. Other ways are in [small language models](/small-language-models/) and [quantization](/quantization-fitting-big-models-in-less-memory/).

## Try it

Ask a friend who knows a topic well to explain it in three sentences. Then try to explain it yourself to a third person. What did you keep, and what did you lose? That is the trade-off in distillation.

## A note on sources

Everything above comes from the abstract of the paper on arXiv (1503.02531), read on 27 November 2026. The teacher picture and the activity are by this site.

## Sources

- [https://arxiv.org/abs/1503.02531](https://arxiv.org/abs/1503.02531)

[Read this page as Markdown (.md)](/knowledge-distillation-a-student-model-learns-from-a-teacher.md)

## Keep reading

[![](/img/hero/art-ai-art-and-music-basics.svg)](/ai-art-and-music-basics/)

How LLMs Work

### [How AI Makes Music: A Beginner's Look](/ai-art-and-music-basics/)

Models can generate melodies and songs by learning patterns in sound. What that means for musicians.

[![](/img/hero/art-backpropagation-how-neural-networks-learn-from-mistakes.svg)](/backpropagation-how-neural-networks-learn-from-mistakes/)

How LLMs Work

### [Backpropagation: How a Network Learns From Its Mistakes](/backpropagation-how-neural-networks-learn-from-mistakes/)

Backpropagation is the method that works out how to adjust each weight in a neural network after it makes an error. A simple explanation with a team analogy.

[![](/img/hero/art-chain-of-thought-prompting-showing-your-working.svg)](/chain-of-thought-prompting-showing-your-working/)

How LLMs Work

### [Chain-of-Thought Prompting: Showing the Steps](/chain-of-thought-prompting-showing-your-working/)

Asking a language model to show intermediate steps can improve its answers to hard problems. What the research found and how it is like showing your working in maths.
