# The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks

Jonathan Frankle, Michael Carbin · arXiv · 2018-3-9

- **Problem** Pruning can cut a trained network's parameter count by more than 90% without hurting accuracy, yet the sparse networks it leaves behind are hard to train from the start.
- **Method** Prune the smallest-magnitude weights of a trained dense network, reset the survivors to their original initial values, and retrain the masked network, repeating this over several rounds.

## Why sparse networks are hard to train

The savings show up at inference, where the smaller model is cheaper to store and to run. That raises the question of why the smaller architecture is not trained directly, since that would also make training cheaper. Practice suggests the answer is that pruned architectures are harder to train from the start and reach lower accuracy than the original networks.

To probe this, sparse subnetworks are sampled at random from a fully-connected network for MNIST and from convolutional networks for CIFAR10, which models the unstructured pruning used in earlier work. Learning speed is read from the iteration of minimum validation loss, and the sparser the sampled network, the slower it learns and the lower its eventual test accuracy.

The dashed curves in Figure 1 show these random sparse networks, and the solid curves show the winning tickets that the method finds.

## The hypothesis and the masked-reset test

The hypothesis states that a randomly initialized dense network contains a subnetwork which, trained in isolation, matches the original test accuracy within at most the same number of iterations. Formally, the dense network is written \\(f(x;\\theta)\\) with initial parameters \\(\\theta\_0 \\sim \\mathcal{D}\_\\theta\\), and training with SGD on a training set yields a minimum validation loss \\(l\\) at iteration \\(j\\) and a test accuracy \\(a\\).

A binary mask \\(m \\in \\{0,1\\}^{\|\\theta\|}\\) is applied to the parameters, so the masked network starts from \\(m \\odot \\theta\_0\\) and is trained the same way with \\(m\\) held fixed, reaching loss \\(l'\\) at iteration \\(j'\\) with accuracy \\(a'\\). The hypothesis predicts that some mask satisfies the following conditions. \\\[ \\exists\\, m \\;\\text{such that}\\; j' \\le j,\\quad a' \\ge a,\\quad \\\|m\\\|\_0 \\ll \|\\theta\| \\\] A masked network \\(f(x; m \\odot \\theta\_0)\\) that meets these conditions is a winning ticket.

When the surviving parameters of a winning ticket are instead drawn anew from the initialization distribution, the network no longer matches the original network's performance. That control separates the sparse architecture from the particular initial values that the ticket keeps.

## Pruning and resetting in rounds

The procedure initializes the network randomly, trains it for \\(j\\) iterations to reach parameters \\(\\theta\_j\\), and prunes the \\(p\\%\\) of parameters with the smallest magnitude to create a mask \\(m\\). The surviving connections are then reset to their values in \\(\\theta\_0\\), which gives the winning ticket \\(f(x; m \\odot \\theta\_0)\\). Because the reset restores each survivor to its initial value, the mask determines the architecture while the original initialization supplies the values.

One-shot pruning trains once, prunes \\(p\\%\\), and resets the survivors, whereas iterative pruning repeats train, prune and reset over \\(n\\) rounds, removing \\(p^{1/n}\\%\\) of the weights that survived the previous round. Across the experiments, iterative pruning found winning tickets that match the original accuracy at smaller sizes than one-shot pruning does.

The pruning is unstructured, so the winning tickets are sparse weight masks rather than removed neurons or channels.

## Lenet-300-100 on MNIST

The fully-connected Lenet-300-100 has 266K weights in total and is trained on MNIST. Figure 3 traces test accuracy over training for iterative pruning at remaining fractions of 100.0, 51.3, 21.1, 7.0, 3.6 and 1.9 percent, and adds reinitialized controls at 51.3 and 21.1 percent.

The curves show the winning tickets learning faster than the original network. At sizes above the 10-20% threshold, the tickets learn faster and score higher than the original network.

Each curve averages five trials, and its error bars span the minimum and maximum of any single trial. The fraction labelled as the percent of weights remaining is the sparsity measure \\(P\_m = \\\|m\\\|\_0 / \|\\theta\|\\), so a mask that prunes 75% of the weights has \\(P\_m = 25\\%\\).

## Convolutional and residual networks on CIFAR10

The convolutional networks are Conv-2, Conv-4 and Conv-6, which are variants of VGG, along with Resnet-18 and VGG-19, all trained on CIFAR10 with the setups listed in Figure 2.

Liu et al. report that VGG-19 networks pruned by up to 80% still match the original accuracy after random reinitialization. The authors find winning tickets when VGG-19 is pruned by up to 98.5%, and when these tickets are randomly reinitialized they reach much lower accuracy.

For Resnet-18 and VGG-19, iterative pruning finds winning tickets only when learning rate warmup is used. Above higher learning rates, the pruning-based strategy needs warmup to find winning tickets at all.

## Why initialization matters beyond structure

When winning tickets are randomly reinitialized, they perform far worse, so the sparse structure alone does not account for their success.

The authors hypothesize that the structure of a winning ticket encodes an inductive bias suited to the task, and they point to Cohen and Shashua as showing that network structure can determine which data a network separates efficiently. This is presented as a hypothesis about winning tickets, not as a result the paper measured.

## Generalization of winning tickets

As pruning increases, test accuracy first rises and then falls, which the authors describe as an Occam's Hill: the original overparameterized model may overfit, while the extremely pruned model has too little capacity.

Compression is traditionally linked to better generalization, and recent bounds for neural networks tie compressibility to tighter generalization. The authors treat the lottery ticket hypothesis as a complementary view, in which larger networks may contain simpler representations.

## Limitations

Structured pruning and non-magnitude pruning are left for future work.

On Resnet-18 and VGG-19, the need for warmup is not explained, and the authors plan to study why it is necessary.

## Paper info

- **Authors**: Jonathan Frankle, Michael Carbin
- **Venue**: arXiv · Preprint
- **First published**: 2018-3-9
- **Added**: 2026-10-20
- **Updated**: 2019-3-4
- **Version**: v5
- **arXiv**: 1803.03635
- **Category**: cs.LG · cs.AI · cs.NE
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1803.03635v5) · [PDF ↗](https://arxiv.org/pdf/1803.03635v5)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Jonathan Frankle, Michael Carbin (2018). The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks. arXiv:1803.03635v5. https://arxiv.org/abs/1803.03635v5

**BibTeX**

```
@misc{frankle2018lottery,
  title = {{The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks}},
  author = {Jonathan Frankle and Michael Carbin},
  year = {2018},
  eprint = {1803.03635},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.03635v5}
}
```

## Other paper commentary

- [Adam: A Method for Stochastic Optimization](https://refivu.com/en/papers/1e4ce3cf-c297-4440-9078-a86a09a9caca-adam-a-method-for-stochastic-optimization.md)
- [Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift](https://refivu.com/en/papers/bd3e1105-da91-407a-8b28-4217cd2afedf-batch-normalization-accelerating-deep-network-training-by.md)
- [Instance Normalization: The Missing Ingredient for Fast Stylization](https://refivu.com/en/papers/d30fae5e-d1ad-4ef1-9b41-da9a7a9f25cf-instance-normalization-the-missing-ingredient-for-fast.md)
- [Group Normalization](https://refivu.com/en/papers/73ea525c-b90c-43b2-b656-bb21666ab914-group-normalization.md)
- [Layer Normalization](https://refivu.com/en/papers/2f67f179-7720-4b69-8cac-e7157bee38ae-layer-normalization.md)
- [Root Mean Square Layer Normalization](https://refivu.com/en/papers/97c61522-5940-4a28-ad7d-4126a3ce8c01-root-mean-square-layer-normalization.md)
- [ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators](https://refivu.com/en/papers/0e7c3940-ee80-4356-b951-389a0a857775-electra-pre-training-text-encoders-as-discriminators-rather.md)
- [DeBERTa: Decoding-enhanced BERT with Disentangled Attention](https://refivu.com/en/papers/b1eee697-1c6e-4274-956c-048abc93c07c-deberta-decoding-enhanced-bert-with-disentangled-attention.md)
- [Continuous control with deep reinforcement learning](https://refivu.com/en/papers/4a1a35c3-732d-4750-869f-588d477a2492-continuous-control-with-deep-reinforcement-learning.md)
- [Self-Consistency Improves Chain of Thought Reasoning in Language Models](https://refivu.com/en/papers/be407503-de73-4a1d-9790-4b944a0560a9-self-consistency-improves-chain-of-thought-reasoning-in.md)
- [MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications](https://refivu.com/en/papers/a2a0cf15-7ef8-4a03-b85e-0062c7082283-mobilenets-efficient-convolutional-neural-networks-for.md)
- [End-to-End Object Detection with Transformers](https://refivu.com/en/papers/8dd88d07-a896-4e8b-812e-b56f620aeed0-end-to-end-object-detection-with-transformers.md)

## Terms in this paper

- [MNIST](https://refivu.com/en/terms/28b9bb66d1c6-mnist)
- [CIFAR10](https://refivu.com/en/terms/19bd6ffb1901-cifar10)
- [test accuracy](https://refivu.com/en/terms/021c3c30b755-test-accuracy)
- [VGG-19](https://refivu.com/en/terms/90d1064daefc-vgg-19)
- [Iterative Pruning](https://refivu.com/en/terms/0a9078ab65c8-iterative-pruning)
- [learning rate warmup](https://refivu.com/en/terms/8afdbdb2f279-learning-rate-warmup)
- [Lenet-300-100](https://refivu.com/en/terms/e7871ac5a110-lenet-300-100)
- [Lottery Ticket Hypothesis](https://refivu.com/en/terms/a6f47e7bff82-lottery-ticket-hypothesis)
- [one-shot pruning](https://refivu.com/en/terms/abda5378d61b-one-shot-pruning)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/9c072b5c-bd96-4202-8960-653ce6a7f2fb-the-lottery-ticket-hypothesis-finding-sparse-trainable)
