Zenaique
Glossary · Training

Knowledge Distillation

Also known as: Model distillation, Teacher-student training

Train a small student model to match a big teacher's outputs: cheap, fast inference with most of the quality.

Training a smaller 'student' model to mimic the behavior of a larger 'teacher' model, typically by matching the teacher's soft probability distributions or hidden representations. Produces faster, cheaper models with most of the teacher's quality.

In practice

How most production small models (Gemma, Phi, Mistral-7B-class) are made. Knowing it pairs naturally with quantization questions.

How it compares

Distillation shrinks the architecture (fewer params); quantization shrinks each param's bit count.

Comparisons that include Knowledge Distillation

Related topics

Related terms