PigeonColumba compressa

Lottery tickets: is the mask or the init the secret?

Iterative magnitude pruning, then retrain the sparse net from (a) its original init, (b) an early-training rewind point, (c) a fresh random init, (d) its trained weights. Plus a random mask control.

Methods: Lottery tickets

Line chart of test accuracy (20-way) against fraction of weights removed, one line per method. Titled “Lottery tickets: is the mask or the init the secret?”. The numbers are in the table below.
Test accuracy (20-way) against fraction of weights removed

Table

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

Fraction of weights removedMethodTest accuracy (20-way)Target-class AP ('bird')Test NLLKL(Bayes || model)Parameters (nonzero)
0.500rewind to init0.904 ± 0.0000.988 ± 0.0010.341 ± 0.0100.270 ± 0.01210,516
0.500rewind to early0.902 ± 0.0010.988 ± 0.0020.355 ± 0.0100.284 ± 0.01410,516
0.500fine-tune trained0.901 ± 0.0010.987 ± 0.0010.440 ± 0.0120.374 ± 0.01610,516
0.500ticket mask, fresh init0.892 ± 0.0010.987 ± 0.0010.329 ± 0.0080.254 ± 0.00410,516
0.500random mask, original init0.897 ± 0.0020.984 ± 0.0040.328 ± 0.0050.253 ± 0.00510,592.5 ± 60.5
0.750rewind to init0.899 ± 0.0010.985 ± 0.0010.339 ± 0.0060.267 ± 0.0055,396
0.750rewind to early0.895 ± 0.0010.984 ± 0.0030.352 ± 0.0010.279 ± 0.0035,396
0.750fine-tune trained0.885 ± 0.0000.980 ± 0.0020.461 ± 0.0120.387 ± 0.0105,396
0.750ticket mask, fresh init0.876 ± 0.0030.978 ± 0.0020.377 ± 0.0020.298 ± 0.0025,396
0.750random mask, original init0.878 ± 0.0040.974 ± 0.0010.370 ± 0.0100.298 ± 0.0085,319 ± 58
0.875rewind to init0.869 ± 0.0040.971 ± 0.0020.407 ± 0.0080.331 ± 0.0082,836
0.875rewind to early0.869 ± 0.0010.976 ± 0.0020.407 ± 0.0050.326 ± 0.0032,836
0.875fine-tune trained0.851 ± 0.0020.965 ± 0.0010.494 ± 0.0050.418 ± 0.0092,836
0.875ticket mask, fresh init0.834 ± 0.0030.956 ± 0.0100.497 ± 0.0000.416 ± 0.0022,836
0.875random mask, original init0.836 ± 0.0040.966 ± 0.0030.491 ± 0.0130.410 ± 0.0142,866 ± 41
0.938rewind to init0.788 ± 0.0000.940 ± 0.0150.635 ± 0.0010.556 ± 0.0021,556
0.938rewind to early0.789 ± 0.0050.944 ± 0.0110.631 ± 0.0150.552 ± 0.0141,556
0.938fine-tune trained0.733 ± 0.0040.877 ± 0.0240.815 ± 0.0130.733 ± 0.0131,556
0.938ticket mask, fresh init0.720 ± 0.0090.898 ± 0.0150.836 ± 0.0290.752 ± 0.0281,556
0.938random mask, original init0.708 ± 0.0060.885 ± 0.0290.889 ± 0.0190.808 ± 0.0191,551 ± 14
0.969rewind to init0.612 ± 0.0020.886 ± 0.0241.152 ± 0.0011.070 ± 0.004916
0.969rewind to early0.611 ± 0.0010.852 ± 0.0251.161 ± 0.0011.076 ± 0.005916
0.969fine-tune trained0.487 ± 0.0030.756 ± 0.0911.541 ± 0.0011.457 ± 0.001916
0.969ticket mask, fresh init0.480 ± 0.0130.686 ± 0.0911.580 ± 0.0431.495 ± 0.044916
0.969random mask, original init0.322 ± 0.0100.454 ± 0.0422.090 ± 0.0022.009 ± 0.002914 ± 16
0dense0.904 ± 0.0020.988 ± 0.0010.328 ± 0.0100.256 ± 0.01220,756

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.