← Library · Core concept

Knowledge Distillation

Knowledge Distillation is a technique where a smaller, simpler AI model (the 'student') is trained to mimic the behavior of a larger, more complex, and often more accurate AI model (the 'teacher'). The student model learns not just the correct answers from the teacher, but also the teacher's 'soft targets,' which are the probabilities or confidence levels the teacher assigned to incorrect answers. This allows the student to capture much of the teacher's performance with significantly fewer parameters, making it faster, more efficient, and easier to deploy on resource-constrained devices like mobile phones. For a small business launching a customer service chatbot, instead of using a massive, slow model, they can 'distill' its knowledge into a lightweight model that responds quickly and accurately within their website. Before, your AI-powered email sorter might be slow and resource-intensive; after, a distilled version runs quickly on your local machine, categorizing emails in real-time.

In plain terms

It's like a seasoned mentor (teacher model) passing down years of nuanced experience and intuition to a bright new employee (student model). The new employee doesn't need to re-learn everything from scratch, but quickly absorbs the 'wisdom' and performs almost as well.

Why it matters

This makes powerful AI accessible and deployable in everyday applications and devices, democratizing advanced AI capabilities by reducing their computational footprint and improving response times.

Learn one new AI thing every day.

Daily Deck sends you seven plain-English cards like this every morning. Free.

Start free