The teacher knows more than the answer
Ask a big classifier "what is this picture?" and you can keep either its final hard label ("cat.") or its full soft distribution ("78% cat, 12% fox, 9% dog…"). That second thing is what Hinton called dark knowledge — it encodes that cats resemble foxes and nothing resembles a truck. Pick an input, raise the temperature to magnify the whisper, then switch to hard labels and watch all of that structure die.
At T = 1 the teacher is nearly certain — the similarity structure is there but almost invisible. Raise T to amplify it.
The race: same student, two diets
Two identical tiny students train live in your browser on the same 24 examples from a teacher whose knowledge is the two-blob map on the left. One student gets the teacher's soft probabilities; the other only gets the verdicts. Press start and watch the learning curves — the score is real agreement with the teacher, measured on 625 held-out points every few epochs.
Real gradient descent on a 17-parameter radial-basis classifier, full-batch, 1,500 epochs. The "teacher" is a fixed smooth function standing in for a big trained network.
The shrink test — how small can the student go?
Distillation's promise: a much smaller model keeps most of the quality. But "most" has a floor. This machine distills six students of shrinking size — 37 parameters down to 2 — from the same teacher, live, and plots what survives at each size.
Each bar is a freshly trained student (1,500 epochs each). Quality = agreement with the teacher on a 625-point grid.
The student inherits the teacher's scars
A distilled student's ceiling is its teacher. This teacher has a blind spot — a patch (dashed circle) where it is confidently wrong about the truth. Distill the student and watch the mistake get copied, faithfully, into the smaller brain. Then train the same student on the truth instead and see the scar vanish — proving the error came from the teacher, not from being small.
Left: ground truth. Middle: the teacher (spot the inverted patch). Right: your student — train it and compare.
Temperature — the dark-knowledge dial, and how to break it
Before distilling, the teacher's outputs are softened by a temperature T. Too cold, and soft targets collapse back into hard labels — the dark knowledge is squashed out. Too hot, and every class melts toward 50/50 — there's no signal left to learn. Pick a T, distill a fresh student (it trains instantly, for real), and build the curve yourself.
Each point you add is a real student, freshly trained at that temperature (800 epochs), scored against the teacher.