PigeonColumba compressa

The distillation-loss zoo

Same student, same teacher, same inputs: which form of teacher signal transfers the most? (logits, probabilities, top-k only, hard labels, hidden features, relational structure)

Methods: Distillation loss variants, Feature & relational distillation, Attention transfer

Bar chart of test accuracy (20-way) for each method, with a dashed reference line for the teacher. Titled “The distillation-loss zoo”. The numbers are in the table below.
Test accuracy (20-way) for each method
Bar chart of agreement with teacher for each method. Titled “The distillation-loss zoo”. The numbers are in the table below.
Agreement with teacher for each method

Table

Mean over the seeds; ± is the standard deviation where more than one seed ran. The experiment took 99 s.

MethodTest accuracy (20-way)Target-class AP ('bird')Agreement with teacherTest NLLKL(Bayes || model)Parameters (nonzero)
labels only (scratch)0.664 ± 0.0090.843 ± 0.0050.674 ± 0.0101.018 ± 0.0270.936 ± 0.028820
hard pseudo-labels0.671 ± 0.0090.863 ± 0.0030.683 ± 0.0080.993 ± 0.0240.911 ± 0.024820
KD T=10.671 ± 0.0080.862 ± 0.0020.684 ± 0.0060.991 ± 0.0230.909 ± 0.023820
KD T=40.640 ± 0.0160.846 ± 0.0090.655 ± 0.0151.819 ± 0.1081.734 ± 0.108820
reverse-KL T=40.629 ± 0.0070.818 ± 0.0180.646 ± 0.0073.438 ± 0.1053.349 ± 0.111820
MSE on logits0.509 ± 0.0050.774 ± 0.0090.524 ± 0.0032.609 ± 0.0172.519 ± 0.018820
top-3 probs only0.671 ± 0.0080.863 ± 0.0020.683 ± 0.0070.990 ± 0.0230.908 ± 0.023820
top-1 prob + uniform rest0.673 ± 0.0060.864 ± 0.0070.686 ± 0.0060.996 ± 0.0200.914 ± 0.020820
KD + FitNets hint0.672 ± 0.0040.868 ± 0.0110.685 ± 0.0030.989 ± 0.0240.908 ± 0.025820
KD + similarity-preserving0.667 ± 0.0060.865 ± 0.0100.678 ± 0.0060.998 ± 0.0270.916 ± 0.029820
hint only (+labels)0.622 ± 0.0100.831 ± 0.0030.636 ± 0.0081.128 ± 0.0381.045 ± 0.039820

Reference points

Teacher (the large model)
The full-size network trained on the labeled data; the smaller models here are measured against it. Test accuracy (20-way) 0.914, target-class AP ('bird') 0.989, test NLL 0.384, KL(Bayes || model) 0.309, parameters (nonzero) 140,052.
Bayes-optimal (the best any model can do on this problem)
Predictions from the exact class probabilities, which the lab can compute because it generated the data. Test accuracy (20-way) 0.973, target-class AP ('bird') 0.999, test NLL 0.079.

Birds in this experiment

The table's 11 smaller models hatch 2 kinds of bird. Each kind is drawn once, for one model: the smallest if the bird is healthy or bones, the one that keeps the most if it's starving.

Measured against this experiment's teacher: 140,052 parameters, 4481.7 kbit, accuracy 0.914. Storage is 32 bits a parameter, the lab's rule for a dense fp32 net, which every model drawn here is. Species follows how many times smaller a model is. A bird stays healthy while its model keeps at least 95% of the reference's score, and turns to bones at 60% or less.

These are the lab's recorded results, so they aren't added to anyone's life list. Birds you hatch yourself, in the Coop or from a Field Guide run, are saved to your life list.