CARD NEWS · AI fundamentals

Knowledge Distillation · 4 cards

Four cards for social posts, teaching materials and presentations. Capture the screen or print to a PDF.

1/4
AI fundamentals

Knowledge Distillation

Knowledge distillation is a model compression technique in which a small "student" model is trained to imitate the output probability distribution of a larger "teacher" model, so the smaller model keeps as much of the teacher's performance as possible. Instead of learning only from the correct labels, the student also learns from the probabilities the teacher assigns to every option (soft targets). A student trained this way can do better than the same small model trained on labels alone. The term and the widely used temperature-based method come from a 2015 paper by Geoffrey Hinton, Oriol Vinyals and Jeff Dean at Google, which built on earlier model-compression work by Rich Caruana and colleagues.[1] For large language models, the term is also used more loosely for fine-tuning a small model on text generated by a larger one.[4]

2/4
In simple terms

An easy way to understand

Knowledge distillation lets a small model learn from the judgement of a large, capable model.

3/4
Where it is used

Who uses it, and when?

Case 1: Hugging Face (DistilBERT) — A BERT model 40% smaller In October 2019, Hugging Face researchers released DistilBERT, a compressed version of BERT built with knowledge distillation.[2] Unlike most earlier work,…

4/4
Learn more

ai.rookienote.com
/en/term/knowledge-distillation

RookieNote
← Read the full entry

Capture these cards or print them to a PDF.