Model distillation is a way of training one AI model to learn from another model's behaviour. A trained teacher supplies a learning signal, and a student is trained to reproduce useful patterns from it. The usual aim is a smaller model that can handle a defined task with fewer resources, rather than a complete copy of everything the teacher can do.
| Term | Plain meaning |
|---|---|
| Teacher | The trained model supplying examples or other training signals |
| Student | The model being trained from those signals |
| Synthetic training data | Examples produced by a model |
| Evaluation | Checking what the student actually learned on the intended task |
In IBM's explanation of knowledge distillation, author Dave Bergmann describes the central objective as transferring learning from a larger pretrained model into a smaller one. The word knowledge is shorthand for learned behaviour and patterns. It does not mean that someone extracts a readable collection of facts and installs it in another chatbot.
How does model distillation work?
One language model approach starts with a collection of task-specific inputs. The teacher produces responses to those inputs, creating a synthetic dataset. Developers then train the student using those examples. Meta's official distillation guide describes this sequence and includes checking the student's baseline before training and evaluating it again afterwards.
For a hypothetical example, imagine a college help desk that needs to sort messages into admissions, examinations and library queries. A teacher could provide example classifications for messages chosen by the development team. The student would then learn from that collection. This is an illustration of the workflow, not a claim that a particular college has deployed it.
Consider the message, 'My exam registration receipt has not arrived.' A useful training example would connect that wording with the examinations category. Another message might mention an admission fee receipt. Including both examples would help test whether the intended distinction is about the purpose of the payment rather than the shared word receipt.
After training, a separate evaluation message could ask about a library fine. If the student labels every payment query as admissions, the training has not delivered the desired behaviour. The practical question is whether it sorts unfamiliar messages correctly, not whether it repeats a few examples that appeared in training.
What are soft targets in knowledge distillation?
Some methods transfer more information than the teacher's final answer. The official Keras knowledge distillation example trains a student using softened teacher outputs as well as the known correct labels. A temperature setting smooths the teacher's probability distribution, making relationships between possible answers more visible during training.
In our help desk example, a final label supplies only one decision. A distribution can also express that a message resembles two categories more than a third. These are different types of teaching signal. A dataset of completed chatbot answers is therefore one distillation method, rather than a definition of every possible method.
The Keras implementation updates the student's weights while keeping the trained teacher fixed. Its example also compares a distilled student with a similar student trained without that teacher. This comparison helps separate the effect of the teaching process from the effect of merely choosing a different model.
Is distillation the same as fine tuning?
Meta distinguishes the two ideas: fine tuning adjusts a pretrained model's weights, while distillation transfers learning from a teacher to a student. Fine tuning can be part of distillation when the student is trained on teacher-generated examples. The terms describe different aspects of the work, so they are not interchangeable.
For background, our fine tuning explainer describes training with examples. Readers comparing training with document retrieval can also use our RAG and document search guide. Those processes answer different questions about how a system produces its response.
Why use a distilled model, and what should you check?
The idea predates the current chatbot boom. Google Research lists Distilling the Knowledge in a Neural Network by Geoffrey Hinton, Oriol Vinyals and Jeffrey Dean at a 2015 workshop. Its abstract discusses compressing learning from an ensemble, a collection of models, into one model that is easier to deploy.
For a reader assessing a distilled AI service, the useful questions are concrete: What task was it trained for? What was the student compared against? Did evaluation cover the language and input styles that users will actually provide? In the college example, English-only test messages would leave Hindi and mixed-language messages unexamined.
A label such as distilled does not establish that the resulting system is accurate for every use. Treat any claim about matching a larger model as a claim about a particular evaluation and task. Our guide to AI hallucinations and source checks explains why fluent answers still need checking against evidence.









