The short version
- Distillation trains a small model to copy a large one on a specific task. The result is cheaper and faster.
- Training a model on a narrow task can make it worse at everything else. This is called catastrophic forgetting.
- Use small models for narrow, high-volume work, and test for lost skills after any training.
The idea
Distillation uses a large model as a teacher. The large model produces answers for many inputs, and a small model, the student, is trained to reproduce them. For a narrow task the student can come close to the teacher’s quality while running many times cheaper and faster. A small model can also run on your own hardware or on a device.
Catastrophic forgetting is the main side effect of training. As a model’s parameters shift toward the new task, earlier abilities can fade. A model tuned hard on invoice extraction may get worse at general reasoning or at following safety instructions.
A senior expert can train a junior to handle one type of case very well. The junior is faster and costs less on that case. But if the junior does nothing else for a year, their other skills get rusty.
- Large teacher model
- Generates answers for your task
- Small student model learns from them
- Test the task and the general skills
Three practices reduce forgetting. Use lightweight methods such as LoRA, which leave the original model frozen. Mix some general examples in with the specialized ones. And keep a regression test of general abilities that runs after every training round.
An example
A document-processing service classifies two million pages a month with a large model. The team distills the task into a small model, using 50,000 pages labelled by the large one and a human-checked sample. The cost per page falls sharply, and speed improves. During testing they notice that the small model has started ignoring a “do not classify personal documents” instruction that the base model followed. They add those cases to the training data, retest and catch the problem before release.
Common mistakes
- Measuring only the target task after training.
- Distilling from teacher outputs that nobody checked.
- Using a small model for broad, open-ended work.
- Forgetting the cost of running and maintaining your own model.
What to do this week
- Find your highest-volume AI task. Ask if a small model could do it.
- For any tuned model, ask to see the regression test of general skills.
- Compare the full cost, including people and hosting, before deciding.
The terms, in plain language
| Term | What it means |
|---|---|
| Distillation | Training a small model to copy a large one |
| Teacher and student | The large model and the small model that learns from it |
| Catastrophic forgetting | Losing earlier skills while learning a new one |
| Regression test | A test that checks nothing got worse |
Further reading
Section 7.5 of the AI Engineering Guide · Last reviewed November 2026




