Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Most of the network is spare
After a big network is trained, you can often delete 80–90% of its connections, the ones with the smallest weights, and after a little re-training it works almost as well. So why train the big one at all? The lottery ticket hypothesis offers an intriguing answer: the big random network is like buying millions of lottery tickets at once. Somewhere inside is a small sub-network that happened to start with “lucky” initial weights. Training the big network is how you find the winning ticket.
Pruning is how large models fit onto flight computers, drones and rovers with tight power and memory budgets. Understanding when sparse networks train well also guides efficient architectures and sparse training methods.
- 1. Magnitude pruning removes…
- 2. After pruning, accuracy is usually restored by…
- 3. The lottery ticket is…
Level 1: Beginner
★★☆☆☆ Basic⏱ 25 minSecondary-school mathematics: arithmetic and elementary algebra.Pruning vocabulary
- Mask : which weights survive. The network uses .
- Sparsity: the fraction of weights removed, .
- Magnitude pruning: keep the largest |θ| (globally or per layer).
- Iterative magnitude pruning (IMP): train, prune 20%, retrain, repeat. After k rounds, a fraction remains.
The ticket protocol
- Initialize and train to .
- Prune by magnitude of to get mask m.
- Rewind the survivors to their initial values, , and train again.
- Compare with the controls: random reinit ( with fresh ) and a random mask of equal sparsity.
The hypothesis predicts that the ticket matches the dense net’s accuracy and beats both controls.
- 1. Fraction left after 10 IMP rounds of 20%:
- 2. The key control for the ticket is…
- 3. Sparsity when 20 of 100 weights remain:
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 35 minUndergraduate students and practising engineers.What was found
- Small vision networks (LeNet, Conv-2/4/6): IMP tickets at 80–95% sparsity match or beat the dense network, while random reinit falls behind (Frankle and Carbin, 2019).
- Larger networks (ResNet-50, VGG on ImageNet): rewinding to θ₀ fails. Late rewinding to an early iterate (k ≈ 0.1–7% of training) works. The connection is to linear mode connectivity: tickets appear once training becomes stable to SGD noise (Frankle et al., 2020).
- “Rethinking the value of pruning” (Liu et al., 2019): with careful training, random reinit of a pruned architecture often matches the ticket. What matters is the architecture (the mask), not the weights.
- Strong tickets: a large enough random network contains a sub-network that is good without any training (Ramanujan et al., 2020; Malach et al., 2020).
Pruning without retraining
One-shot pruning of a small trained network without fine-tuning can be catastrophic: the remaining weights were co-adapted with the removed ones. Fine-tuning (or pruning gradually during training) is essential.
- 1. For large networks, tickets need…
- 2. Liu et al. (2019) argued that what matters most is…
- 3. A 'strong' lottery ticket performs well…
Level 3: Advanced
★★★★☆ Advanced⏱ 35 minGraduate level, with full derivations and proofs.Stability and linear mode connectivity
Train two copies from the same with different SGD noise to . If the loss along the segment has no barrier, training is stable from . Frankle et al. (2020) found that IMP subnetworks reach full accuracy exactly when they are stable in this sense. At k = 0 that holds only for small networks, which explains why late rewinding is needed at scale.
Why strong tickets exist (idea)
A target network’s weight w can be approximated by a sub-selection of random weights: with enough random candidates, some subset sums to within ε of w (a subset-sum argument). Pruning a random network about polylog(1/ε) times wider than the target therefore approximates any target network without training (Pensia et al., 2020).
Caveats
- Unstructured sparsity saves memory but often not time on standard hardware. Structured pruning (whole neurons or channels) speeds inference.
- Ticket results are sensitive to learning-rate schedules, scale and the choice of controls. Always run the reinit and random-mask baselines.
- 1. Training is 'stable' from θ_k if two noisy runs from θ_k are…
- 2. Strong-ticket existence proofs use…
- 3. Unstructured sparsity mainly saves…
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.Pruning and tickets, measured
Exercise 1 (2→40→40→1, dense test MSE 0.0014; target variance ≈ 0.24). Kept fraction → (no fine-tune, fine-tuned):
| kept | no fine-tune | fine-tuned |
|---|---|---|
| 50% | 0.414 | 0.0028 |
| 20% | 0.211 | 0.0073 |
| 10% | 0.229 | 0.135 |
| 5% | 0.259 | 0.145 |
Without retraining, even 50% pruning is catastrophic, worse than predicting the mean. A 300-step fine-tune recovers almost everything down to 20% of the weights, then fails.
Exercise 2: the lottery protocol (2→24→24→1, 30% of hidden weights kept, mean of 3 seeds). Test MSE: dense 0.0017, ticket (rewind to θ₀) 0.0090, late rewind (θ₅₀) 0.0053, random reinit 0.0046, random mask 0.0051. At this scale, with Adam and a smooth regression task, the rewound ticket is worse than random reinitialization, and late rewinding only matches it. This agrees with Liu et al. (2019) and with the finding that tickets at θ₀ are fragile. The hypothesis is about a regime (specific architectures, optimizers and scales), not a universal law.
Pruning in AI, robotics and aerospace
- Onboard inference: structured pruning plus quantization fits perception networks on radiation-tolerant flight processors.
- Sparse training (RigL, dynamic sparsity) trains sparse from the start, saving compute.
- Verification: sparser ReLU networks have fewer regions to verify.
- Always test controls: a pruning gain that random masks also achieve is a statement about architecture, not about lucky weights.
References
- J. Frankle, M. Carbin (2019). “The lottery ticket hypothesis: finding sparse, trainable neural networks.” ICLR.
- J. Frankle, G. K. Dziugaite, D. M. Roy, M. Carbin (2020). “Linear mode connectivity and the lottery ticket hypothesis.” ICML.
- Z. Liu, M. Sun, T. Zhou, G. Huang, T. Darrell (2019). “Rethinking the value of network pruning.” ICLR.
- V. Ramanujan, M. Wortsman, A. Kembhavi, A. Farhadi, M. Rastegari (2020). “What’s hidden in a randomly weighted neural network?” CVPR.
- A. Pensia, S. Rajput, A. Nagle, H. Vishwakarma, D. Papailiopoulos (2020). “Optimal lottery tickets via SubsetSum.” NeurIPS.
- S. Han, J. Pool, J. Tran, W. J. Dally (2015). “Learning both weights and connections for efficient neural networks.” NeurIPS.