Distillation is how you teach a small model by letting it study a big one. Instead of learning only from raw data, the small model (the student) is trained to reproduce the answers of a larger, more capable model (the teacher).
How it works
Normally a model learns from text with a single right answer: the next word. In distillation, the student also sees what the teacher produced for the same input. The teacher's output carries more information than a bare right answer. It shows how confident the teacher was in each option, or, for a reasoning model, the whole chain of thought it wrote on the way to a conclusion.
The idea was laid out in a 2015 paper by Geoffrey Hinton, Oriol Vinyals and Jeff Dean, "Distilling the Knowledge in a Neural Network." Since then it has become a standard way to build compact models.
Think of an apprentice who copies a master's finished work and notes, rather than learning the trade from scratch. The apprentice gets good faster, though rarely better than the master.
Why labs do it
A big model is expensive to run. Every answer costs inference compute. A distilled student can be a fraction of the size, answer faster and cost less per token, which is why many small, cheap models in a lab's lineup are distilled from its flagship. It is often combined with fine-tuning and other post-training steps.
Distillation across companies
Distillation does not have to happen inside one company. Anyone with access to a model's outputs, for example through an API, can collect them and train another model on them. Many AI providers forbid this in their terms of service when the goal is to build a competing model. Labs now treat large-scale extraction of their models' outputs as a security and business problem, and they try to detect and block it. Whether and when it crosses a legal line is a matter for contracts and courts, not for the technique itself.
What it means for you
- A small model described as "distilled" is a student of something bigger. Expect it to be strong on the tasks it was taught and weaker on unusual ones.
- Distilled models can inherit a teacher's mistakes and habits, since they learn to copy them.
- If you build on an API, read your provider's terms before using its outputs to train another model.
Distillation is different from fine-tuning, which adapts one model to new examples, though a distillation run is often a form of it. It is also different from shrinking a model by other means. The size of the student is usually described in parameters.