Model distillation

A training method in which a small AI model learns to copy the outputs of a larger one, keeping much of its ability at a fraction of the running cost.

Model distillation, also called knowledge distillation, trains a small "student" model to imitate a large "teacher" model. Instead of learning only from the right answers in a dataset, the student learns from the teacher's full output: how likely the teacher rated each possible answer. Those graded judgements carry more information than a plain right or wrong label. If a teacher shown a photo of a fox rates it mostly fox, a little dog and almost certainly not a kettle, the student learns something about how foxes and dogs relate.

The idea has a clear history. In 2006 Cristian Buciluǎ, Rich Caruana and Alexandru Niculescu-Mizil described what they called model compression: training a small model on data labelled by a larger, better-performing group of models. In 2015 Geoffrey Hinton, Oriol Vinyals and Jeff Dean published Distilling the Knowledge in a Neural Network, which gave the technique its name and showed it improving the acoustic model of a heavily used commercial speech system.

The payoff is cost. A large model is expensive to run on every query; a distilled one is cheaper and faster and can fit on a phone or a single server. In 2019 Victor Sanh and colleagues produced DistilBERT, which was 40 percent smaller and 60 percent faster than the BERT model it learned from while keeping 97 percent of its language understanding ability.

Distillation also raises a business and legal question. A company can try to distil a rival's model by sending it huge numbers of prompts and training on the replies. The terms of leading developers such as OpenAI and Anthropic forbid using their services or outputs to build competing models, and in February 2026 OpenAI told a US House committee that the Chinese lab DeepSeek had been distilling its models. For buyers, the lesson is simpler: a small model distilled from a strong one can be the cheaper choice for a narrow, high-volume task, as long as you test it on your own examples first.

Common questions

What is model distillation in simple terms?

It is a way to make a small AI model behave like a big one. The big model, the teacher, answers a large set of examples, and the small model, the student, is trained to match those answers, including how confident the teacher was in each option. The result is a model that is cheaper and faster to run and keeps much of the teacher's ability.

Is distilling another company's AI model allowed?

Usually not under that company's terms. The leading AI developers' terms of service forbid using their models' outputs to build competing models, so doing it through their services can breach the contract. Whether it also breaks any other law depends on the facts and the country. Anyone planning to train on another provider's outputs should get legal advice first.

What is the difference between distillation and fine-tuning?

Fine-tuning takes an existing model and trains it further on new examples, usually to specialise it, and the model keeps its size. Distillation trains a smaller model to copy a larger one, mainly to cut running costs. The two can be combined: a company might distil a large model into a small one and then fine-tune the small one on its own data.

Finding more

Search for "knowledge distillation", "Distilling the Knowledge in a Neural Network" and "DistilBERT" to read how the method works. The original papers on arXiv and university course notes on model compression explain it clearly, and developers' model cards say when a model was distilled and from which teacher. Treat claims that a small model "matches" a large one with care: check which tasks were tested and how, since a strong result on one benchmark says little about the rest.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.