PigeonColumba compressa

Train big, then compress

To end up with a 2xW network, is it better to train 2xW directly or to train something much wider and prune down to 2xW? (Li et al. 2020)

Methods: Train big, then prune to size

Line chart of test accuracy (20-way) against width trained before pruning (log scale), one line per configuration. Titled “Train big, then compress”. The numbers are in the table below.
Test accuracy (20-way) against width trained before pruning

Table

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

TargetWidth trained before pruningMethodTest accuracy (20-way)Target-class AP ('bird')Test NLLKL(Bayes || model)Parameters (nonzero)
final 2x1616labels0.686 ± 0.0080.854 ± 0.0100.945 ± 0.0150.862 ± 0.015820
final 2x1632labels0.643 ± 0.0040.860 ± 0.0151.056 ± 0.0250.973 ± 0.026820
final 2x1632self-KD0.642 ± 0.0030.857 ± 0.0131.058 ± 0.0200.975 ± 0.020820
final 2x1664labels0.619 ± 0.0050.823 ± 0.0131.129 ± 0.0181.047 ± 0.017820
final 2x1664self-KD0.623 ± 0.0040.835 ± 0.0151.104 ± 0.0171.022 ± 0.016820
final 2x16128labels0.612 ± 0.0150.806 ± 0.0121.151 ± 0.0371.069 ± 0.035820
final 2x16128self-KD0.622 ± 0.0170.813 ± 0.0191.134 ± 0.0441.052 ± 0.042820
final 2x16256labels0.609 ± 0.0060.827 ± 0.0301.152 ± 0.0231.069 ± 0.022820
final 2x16256self-KD0.621 ± 0.0100.837 ± 0.0171.126 ± 0.0191.044 ± 0.019820
final 2x3232labels0.831 ± 0.0010.958 ± 0.0020.520 ± 0.0050.443 ± 0.0052,132
final 2x3264labels0.800 ± 0.0010.943 ± 0.0120.605 ± 0.0000.524 ± 0.0012,132
final 2x3264self-KD0.805 ± 0.0000.947 ± 0.0100.588 ± 0.0010.508 ± 0.0012,132
final 2x32128labels0.800 ± 0.0080.938 ± 0.0060.614 ± 0.0180.537 ± 0.0162,132
final 2x32128self-KD0.810 ± 0.0070.945 ± 0.0050.587 ± 0.0160.510 ± 0.0152,132
final 2x32256labels0.795 ± 0.0120.917 ± 0.0130.624 ± 0.0280.543 ± 0.0232,132
final 2x32256self-KD0.805 ± 0.0100.937 ± 0.0060.592 ± 0.0220.512 ± 0.0172,132
final 2x32512labels0.789 ± 0.0000.935 ± 0.0020.645 ± 0.0030.563 ± 0.0042,132
final 2x32512self-KD0.791 ± 0.0020.940 ± 0.0000.632 ± 0.0020.550 ± 0.0032,132

Reference points

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.