PigeonColumba compressa

Ensembles as teachers

Is an ensemble of teachers a better target than one? Average logits or average probabilities?

Methods: Ensemble teachers

Line chart of test accuracy (20-way) against teachers in ensemble (log scale), one line per method. Titled “Ensembles as teachers”. The numbers are in the table below.
Test accuracy (20-way) against teachers in ensemble

Table

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

Teachers in ensembleMethodEnsemble accuracyTest accuracy (20-way)Target-class AP ('bird')Test NLLKL(Bayes || model)Parameters (nonzero)
1student <- avg logits0.914 ± 0.0000.832 ± 0.0050.954 ± 0.0050.511 ± 0.0130.433 ± 0.0152,132
1student <- avg probs0.914 ± 0.0000.832 ± 0.0050.954 ± 0.0050.511 ± 0.0130.433 ± 0.0152,132
1(ensemble itself)0.914
2student <- avg logits0.922 ± 0.0000.833 ± 0.0020.955 ± 0.0060.508 ± 0.0100.430 ± 0.0112,132
2student <- avg probs0.922 ± 0.0000.834 ± 0.0030.956 ± 0.0050.507 ± 0.0120.429 ± 0.0132,132
2(ensemble itself)0.922
4student <- avg logits0.926 ± 0.0000.833 ± 0.0030.955 ± 0.0050.505 ± 0.0100.427 ± 0.0122,132
4student <- avg probs0.926 ± 0.0000.833 ± 0.0030.955 ± 0.0050.506 ± 0.0100.428 ± 0.0112,132
4(ensemble itself)0.926
8student <- avg logits0.926 ± 0.0000.834 ± 0.0040.956 ± 0.0060.504 ± 0.0100.426 ± 0.0122,132
8student <- avg probs0.926 ± 0.0000.834 ± 0.0040.956 ± 0.0050.503 ± 0.0090.426 ± 0.0112,132
8(ensemble itself)0.926

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 6 smaller models hatch 1 kind 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. Rows with the same size and score count as one model.

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.