Home Tools Glossary Distillation
Technique

Distillation

Knowledge Distillation

/dis-til-ey-shuhn/

A training method where a smaller 'student' model is trained to mimic the outputs and behavior of a large 'teacher' model.

In plain English
Knowledge distillation is like an expert master chef teaching an apprentice all their secret recipes and techniques. The apprentice (smaller AI) learns to cook almost as well as the master (giant AI) but takes up a fraction of the space.
Real-world example
Compressing a massive flagship LLM into a lightweight edge model for mobile device integration.
Technical definition
Knowledge distillation transfers learned representations from a large, high-capacity teacher model to a smaller student model by minimizing the divergence between their output probability distributions (soft targets). This process enables compact student networks to retain a high percentage of the teacher model's accuracy while drastically reducing inference latency and memory requirements.