Knowledge Distillation
What is Knowledge Distillation?
In one sentence: Knowledge distillation trains a small "student" model to copy the behavior of a big "teacher" model.
The big model is smart but slow and expensive. The small student learns from the teacher's answers, and often from its full probability scores, which carry extra hints. The student ends up much smaller but keeps much of the teacher's skill.
What does Knowledge Distillation look like?
A company might distill a 400-billion-parameter model into a 7-billion-parameter model that runs on a laptop.
Why does Knowledge Distillation matter?
Distillation is a main way to make AI cheaper, faster and able to run on phones.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/knowledge-distillation/">Knowledge Distillation, explained simply</a> (The AI Math Dictionary)