← 🎓 Machine Learning & Neural Networks

🎓 Knowledge Distillation: Training a Small Model to Think Like a Big One

Step: 0
Loss:
Drag — rotate · Scroll — zoom

🎓 Knowledge Distillation: Training a Small Model to Think Like a Big One

The simulation visualises a large teacher network and a compact student network side by side, showing how the teacher's softened probability distribution over classes is passed to the student as a training signal.

🔬 What It Demonstrates

The simulation visualises a large teacher network and a compact student network side by side, showing how the teacher's softened probability distribution over classes is passed to the student as a training signal.

🎮 How to Use

Drag the temperature slider to soften or sharpen the teacher's output distribution and watch how the student's learned predictions change, then use the speed and play/pause controls to step through training and rebuild the networks with different sizes.

💡 Did You Know?

Hinton's original paper found that distilling a huge ensemble of models into a single small network preserved nearly all of the ensemble's accuracy, while requiring far less compute at inference time.