LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Training & Optimization

Distillation

Knowledge distillation is the practice of training a smaller "student" model to mimic the outputs of a larger, higher-quality "teacher" model — capturing most of the teacher's quality at a fraction of the inference cost.

Full definition

Distillation transfers knowledge by training the student to match the teacher's soft probabilities (not just hard labels) and, in modern LLM distillation, to match generated reasoning traces and tool-use patterns. DeepSeek-R1's distilled smaller siblings, Gemini Flash from Gemini Pro, and the entire small-LLM frontier of 2024-2025 are products of distillation. Combined with quantization and fine-tuning, distillation is the standard path to cost-efficient production AI.

Why it matters

Distillation is the bridge between frontier capability and production economics. It lets organizations consume frontier-model quality where they need it (training data, complex tasks) and run distilled, cheap models where they need scale (production endpoints, edge devices).

Example

A SaaS company uses GPT-4o to generate 50,000 high-quality task examples, then fine-tunes a 7B Llama-3 on them. The result: 95% of GPT-4o's task quality at 3% of the inference cost.

Source & further reading

Primary source: Hinton, Vinyals, Dean — "Distilling the Knowledge in a Neural Network" (2015).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/no/glossary/distillation/.