How does it work?
A large teacher model is run over a set of inputs, and a smaller student is trained on what the teacher produced rather than on the original labels. The teacher’s full distribution over possible outputs carries more information than a single correct answer does — the relative weight it gives to the wrong answers says something about the structure of the problem, and the student learns from that too.
It is not the same as quantization. Quantization keeps the same model and stores its numbers less precisely; distillation produces a genuinely different, smaller model. The two compose — a distilled model can then be quantized.
