Definition
What is Model Distillation? — Plain-Language AI Definition
A technique for creating smaller, faster AI models by training them to mimic the behavior of larger, more powerful models — getting 90% of the quality at 10% of the cost.
What is Model Distillation?
Model distillation (also called knowledge distillation) is a technique where a smaller, more efficient AI model (the "student") is trained to replicate the behavior of a larger, more powerful model (the "teacher"). The goal is to capture most of the large model's capability in a model that is faster, cheaper, and easier to deploy.
How It Works (Simplified)
Imagine a senior expert who has spent 30 years learning their craft. Rather than having every new employee undergo 30 years of training, the expert writes a comprehensive playbook. New employees learn from the playbook and can handle 90% of situations without needing the expert directly.
Model distillation works similarly:
- Teacher model generates outputs for thousands of examples
- Student model is trained to match the teacher's outputs (not just the "correct" answers, but the teacher's nuanced probability distributions)
- Result: A smaller model that behaves like the larger model for most tasks
Why Distillation Matters
| Dimension | Large Teacher Model | Distilled Student Model |
|---|---|---|
| Size | 100B+ parameters | 1B-10B parameters |
| Speed | Slower | 5-20x faster |
| Cost per query | $$ | ¢ |
| Hardware needed | Enterprise GPUs | Consumer hardware or phone |
| Accuracy (general) | Best | 85-95% of teacher |
| Accuracy (specific task) | Best | Often matches teacher |
Real-World Examples
- GPT-4o-mini — A distilled version of GPT-4o that is much cheaper and faster for simpler tasks
- Claude 3.5 Haiku — A smaller, faster model in the Claude family optimized for speed
- DistilBERT — A distilled version of BERT that is 60% smaller and 60% faster while retaining 97% of performance
- Whisper tiny/small — Smaller speech recognition models distilled from the full Whisper model
When to Use Distilled Models
Use distilled models when:
- Speed and cost matter more than marginal accuracy improvements
- You are processing high volumes (thousands of requests per hour)
- You need to run AI on edge devices (phones, laptops, IoT devices)
- The task is well-defined and does not require maximum reasoning ability
Use the full model when:
- Maximum accuracy is critical (legal, medical, financial decisions)
- The task requires complex multi-step reasoning
- You are doing creative work that benefits from the model's full capability
Why It Matters for Professionals
- Cost optimization — Use distilled models for routine tasks, full models for critical work
- Speed — Distilled models respond faster, improving user experience
- Privacy — Smaller models can run locally on your device, keeping data private
- Accessibility — Distilled models make AI available on lower-cost hardware
Key Takeaway
Model distillation is how AI companies make powerful technology accessible and affordable. The best practice for professionals is to use the smallest, cheapest model that meets your quality threshold — and switch to larger models only when the task demands it.
Get AI Tips Every Week
Get smarter about AI every week — practical tips, prompts, and workflows in your inbox.