The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks

Jonathan Frankle, Michael Carbin

TL;DR

The "Lottery Ticket Hypothesis" suggests that dense, randomly-initialized neural networks contain sparse subnetworks (termed "winning tickets") that can match or exceed the performance of the full network when trained in isolation. The critical catch is that you must initialize these subnetworks with the exact same weights they had in the original dense model; otherwise, they fail to train effectively.

The Paradox of Pruning

For years, the deep learning community has faced a paradox: we know that trained neural networks are incredibly redundant and can be "pruned" (removing 90% or more of the weights) without losing accuracy. However, if we try to train those same sparse architectures from scratch using new random initializations, they typically perform poorly and learn slowly.

This led to the widespread belief that large, overparameterized models are strictly necessary for the training process itself, even if the final resulting model can be small. Authors Jonathan Frankle and Michael Carbin challenge this assumption by asking: Is it possible to train a sparse network from the start, provided we find the right initialization?

Methods: Iterative Magnitude Pruning

The authors propose a method called Iterative Magnitude Pruning (IMP) to identify these "winning tickets." The process follows these steps:

  1. Initialize: Create a dense network with random weights $\theta_0$.
  2. Train: Train the network for $j$ iterations to reach parameters $\theta_j$.
  3. Prune: Remove $p\%$ of the weights with the smallest magnitudes in $\theta_j$, creating a binary mask $m$.
  4. Reset: Take the remaining unpruned weights and reset them to their original values from $\theta_0$.
  5. Iterate: Repeat the process, gradually increasing sparsity.

This differs fundamentally from standard pruning because it doesn't just look for a small architecture; it searches for the specific combination of architecture and initial weights that make training successful.

Key Insights and Ideas

  • The "Lottery" Analogy: Training a large network is akin to buying millions of lottery tickets. Most are losers, but a few "winning tickets" are initialized in a way that allows them to learn the task efficiently. Overparameterization works because it increases the probability that at least one such highly capable subnetwork exists.
  • Initialization is Everything: If you take a winning ticket's architecture but re-initialize it with new random weights, its performance collapses. The specific initial values are the "fortuitous" spark required for the subnetwork to learn effectively.
  • The Stability Gap: In deeper networks (like ResNet-18), finding winning tickets is harder. The authors found that these models require a "warmup" period—starting with a very low learning rate—to make the winning tickets stable enough to be identified.

Key Results

The authors evaluated their hypothesis on standard computer vision benchmarks, including MNIST (using Lenet) and CIFAR-10 (using various convolutional architectures like Conv-2, Conv-4, Conv-6, VGG-19, and ResNet-18).

Performance of winning tickets vs. random initialization across various architectures.
  • Extreme Sparsity: The authors consistently found winning tickets that were only 10% to 20% of the size of the original network.
  • Training Speed: On CIFAR-10, winning tickets reached minimum validation loss up to 3.5x faster than the original dense models.
  • Accuracy Boost: At certain levels of sparsity, winning tickets actually learn faster and achieve higher test accuracy than the original unpruned network. For the Conv-2 architecture on CIFAR-10, a winning ticket with only 4.6% of weights remaining improved test accuracy by 3.4 percentage points over the dense baseline.
  • Failure of Random Sparsity: Randomly sampled sparse subnetworks (without the IMP process) learned much slower and reached lower accuracy, proving that the specific structure found by pruning is non-trivial and essential.

Limitations and Future Work

While groundbreaking, the hypothesis leaves several open challenges:

  • Computational Cost: Currently, finding a winning ticket is vastly more expensive than training the original model because it requires training the full model multiple times through the iterative pruning process.
  • Scale: The initial paper focuses on relatively small datasets (MNIST and CIFAR-10). Testing on larger-scale datasets like ImageNet is a necessary next step to prove broad viability.
  • Transferability: It remains an open question whether a "winning ticket" found for one task (e.g., recognizing cats) would also serve as a winning ticket for a different task (e.g., recognizing cars).
  • Search for Efficiency: The ultimate goal of this research direction is to find these winning tickets before training the full model. Doing so would revolutionize how we train AI, especially on resource-constrained hardware.

Summary updated

BibTeX
@inproceedings{frankle2019lottery,
  author = {Jonathan Frankle and Michael Carbin},
  title = {{The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
  url = {https://openreview.net/forum?id=vatnd2ZXfuU},
}
Figure