AI agent
An AI agent is an AI system that autonomously plans and executes multiple steps to reach a goal. It uses a language model as its brain and c...
Read definitionModel distillation trains a smaller student model to imitate a larger teacher model. The student learns from the teacher's outputs, so it can handle a defined task with lower latency, lower cost, and less hardware than the original model.
Model distillation is a technique where a smaller model learns to imitate a larger one. The larger model is the teacher. The smaller model is the student. The teacher answers many example questions, and the student is trained on those answers until it behaves similarly on the target task.
The point is not to make the student know everything the teacher knows. The point is to transfer useful behaviour for a specific job. A small model that classifies support tickets, extracts fields from invoices, or writes short product descriptions does not need all the broad ability of a frontier model. It needs to be good enough at that one workflow and cheap enough to run often.
The original knowledge-distillation idea became widely known through the 2015 paper by Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. In that setup, the student learns from the teacher's final answer and from the teacher's softer probability distribution: which wrong answers were almost plausible and which were clearly unlikely. That gives a richer learning signal than a simple right-or-wrong label.
For business teams, distillation usually looks like a four-step loop.
Collect representative prompts. Use real examples from the intended task: the emails to classify, invoices to parse, product tickets to triage, or questions the assistant must answer.
Generate teacher outputs. Run those prompts through a stronger model. Review or filter the answers so the student is not trained on weak examples.
Train the student. The smaller model is fine-tuned on the teacher's outputs. The training data is often a form of synthetic data because it was generated by another model.
Evaluate against the teacher and the task. Test both models on held-out examples. Measure quality, latency, cost, failure modes, and how often a human still needs to intervene.
Some AI platforms now package parts of this workflow. OpenAI has described distillation flows built around stored completions, evals, and fine-tuning. Google describes Gemini distillation as a managed teacher-student service for training smaller models from stronger ones. The platform changes, but the idea stays the same: pay the large model to create a high-quality training signal, then run the small model in production.
Gemini Flash
Google described Gemini 1.5 Flash as being trained from Gemini 1.5 Pro through distillation, transferring important capabilities into a smaller and faster model.
Phi models
Microsoft's Phi work shows the broader family of ideas around small language models, synthetic data, and teacher-generated material. The Phi-4 technical report is careful: it says earlier Phi models relied strongly on distillation from GPT-4, while Phi-4 goes beyond straightforward distillation through its data mix and post-training recipe.
DeepSeek R1 distills
DeepSeek released smaller R1-distilled models based on Qwen and Llama. Those models were fine-tuned from examples generated by the larger R1 reasoning model, giving smaller open models some of the behaviour of the larger teacher.
These examples are useful, but do not treat model names as the principle. Distillation is a pattern. The right student is the smallest model that passes your own evaluation, not the model with the most impressive release note.
Fine-tuning continues training an existing model on examples so it behaves better for a task, tone, format, or domain. Distillation often uses fine-tuning as the training mechanism, but the training examples come from a teacher model.
Quantisation makes a model smaller or faster by storing its weights with fewer bits. It normally changes how the same model is represented. It does not create a new student that learns from a teacher.
Distillation creates or adapts a separate student model. The student may then be quantised as a second step. A common path is: distil to a smaller model, fine-tune on a small set of human-checked examples, then quantise for deployment.
High-volume repetitive tasks
If a task runs thousands or millions of times, shaving cost and latency matters. A small student can pay for the training work quickly.
Narrow tasks with clear evaluation
Distillation works best when success is measurable: did the invoice fields match, was the right category chosen, did the answer follow the schema?
Low-latency products
A chatbot, autocomplete feature, or voice workflow may need answers faster than a large model can reliably provide.
Controlled deployment
A smaller open model can sometimes run in your own environment, which matters for cost, data locality, or resilience.
The teacher's mistakes travel
If the teacher hallucinates, shows bias, or uses a bad format, the student learns that behaviour. Review samples before training and include adversarial examples in evaluation.
The student is narrower than it feels
A distilled model can look strong inside the training distribution and fail quickly outside it. Test near-misses, odd inputs, missing fields, and questions just outside the intended task.
Evaluation is the control loop
Do not trust a lower bill as proof of success. Keep a held-out test set and compare the student with the teacher, a baseline prompt, and human-labelled examples where possible.
Licences and terms matter
Provider terms may restrict using model output to train competing models. Some open models allow distillation and derivatives; others come with extra conditions inherited from the base model. Check the current terms before building a student model from another model's output.
Personal data can move into weights
If teacher outputs contain personal or confidential data, the student may memorise some of it. Treat the training set like sensitive data, minimise what goes in, and keep deletion and governance requirements in mind.
An AI agent is an AI system that autonomously plans and executes multiple steps to reach a goal. It uses a language model as its brain and c...
Read definitionAn AI harness is the software layer around a language model that turns it into a working agent. It manages the loop, tools, context, permiss...
Read definitionAI literacy is the knowledge and judgement people need to use AI responsibly: understanding what a model can do, checking its output, protec...
Read definitionArtificial intelligence is technology that teaches computers to learn, reason, and make decisions from data instead of following hand-writte...
Read definitionChain-of-thought prompting asks a language model to work through intermediate reasoning steps before answering. It can improve arithmetic, l...
Read definition
Collect&Go and Telenet Business are testing an autonomous electric delivery cart in Leuven, steered over 5G. What it means for logistics and...
Discover how Microsoft Copilot in Power BI leverages generative AI to simplify report creation, enhance data insights, and empower teams. Le...