Artificial Intelligence

What is Knowledge Distillation?

Quick answer

A training technique in which a smaller student model learns to imitate a larger teacher model, keeping much of its skill at lower cost.

Knowledge Distillation, explained

Knowledge distillation was popularized in a 2015 paper by Geoffrey Hinton and colleagues. Instead of training a small model only on raw data, developers train it on the outputs of a larger, more capable model. The student learns not just the right answers but the teacher's patterns of confidence across possible answers.

The result is a model that is faster and cheaper to run while retaining a useful share of the teacher's ability on targeted tasks. For example, a company might use a large model to label thousands of customer messages, then distill that skill into a small model that runs on its own servers. Distilled models usually lose some accuracy, and model licences sometimes restrict using one provider's outputs to train another model.

Related terms

Guides that mention Knowledge Distillation