Glossary
Model Distillation
How small models get smart. A large teacher model generates answers or probability distributions, and a compact student is trained to match them, keeping most of the capability in a fraction of the parameters.
General definition
Model Distillation, also called knowledge distillation, was formalised by Hinton, Vinyals and Dean in 2015. The original recipe trains the student on the teacher’s full output probabilities (its “soft targets”) rather than on hard labels alone, because the way a strong model spreads probability across wrong answers carries information about how concepts relate. DistilBERT in 2019 showed the approach could cut a language model’s size by around forty percent while keeping most of its accuracy.
For generative LLMs the common form is sequence-level distillation: the teacher is prompted with a large and varied set of tasks, its responses are collected as a synthetic dataset, and the student is trained on that dataset with ordinary supervised learning. Many of today’s best small language models are built this way, which is why a model with a few billion parameters can follow instructions and reason far better than a same-sized model trained only on raw web text.
- Versus quantization: quantization shrinks an existing model by storing its weights at lower precision; distillation creates a new, architecturally smaller model
- Versus fine-tuning: fine-tuning adapts a model to a task or style using task data; distillation transfers general capability from a teacher, and the two are often combined
- Outcome: a student is faster, cheaper to serve and easier to run on-premise, but it usually trails the teacher on hard reasoning and rare knowledge
- Licensing: the terms of some hosted model APIs forbid using their outputs to train competing models, so the teacher must be chosen with the licence in mind
Distillation is one of the main reasons the gap between frontier hosted models and local models has narrowed. Rather than training a small model from scratch on trillions of tokens, a lab distils a large model it already has, and the result often sits at a size that fits a single GPU or even a laptop.
Need this on your own servers? See how Ethora runs a self-hosted LLM and AI agent on your infrastructure, so your data stays in your network.
In the Ethora ecosystem
Distilled small models are a natural fit for the Ethora AI SDK when data must stay inside the customer’s own environment. An agent pointed at a self-hosted model through an OpenAI-compatible endpoint such as Ollama or vLLM can run a distilled few-billion-parameter model on modest hardware, and because capability is scoped per agent, a focused support or intake assistant rarely needs a frontier model to do its job well.
The design pattern we see work is to pair the small model with the things that make up for its limits: a per-agent system prompt that keeps it on task, a knowledge base so facts come from retrieval rather than from the model’s memory, and tool calling for anything that needs to be exact. Per-agent model choice means a dedicated deployment can keep a distilled model on the many routine rooms and route the rare difficult conversation to a larger model without changing the app.