The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks

Jonathan Frankle, Michael Carbin
3/9/2018
4,638 citations
cs.LGcs.AIcs.NE

No official code found. Best implementation: rahulvigneswaran/Lottery-Ticket-Hypothesis-in-Pytorch (351 stars, Python, PyTorch, last commit 2023-10-03). 2 more below.

Abstract

Neural network pruning techniques can reduce the parameter counts of trained networks by over 90%, decreasing storage requirements and improving computational performance of inference without compromising accuracy. However, contemporary experience is that the sparse architectures produced by pruning are difficult to train from the start, which would similarly improve training performance.

Show full abstract

We find that a standard pruning technique naturally uncovers subnetworks whose initializations made them capable of training effectively. Based on these results, we articulate the "lottery ticket hypothesis:" dense, randomly-initialized, feed-forward networks contain subnetworks ("winning tickets") that - when trained in isolation - reach test accuracy comparable to the original network in a similar number of iterations. The winning tickets we find have won the initialization lottery: their connections have initial weights that make training particularly effective. We present an algorithm to identify winning tickets and a series of experiments that support the lottery ticket hypothesis and the importance of these fortuitous initializations. We consistently find winning tickets that are less than 10-20% of the size of several fully-connected and convolutional feed-forward architectures for MNIST and CIFAR10. Above this size, the winning tickets that we find learn faster than the original network and reach higher test accuracy.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
rahulvigneswaran/Lottery-Ticket-Hypothesis-in-PytorchCommunity351Python–2023-10-03
mahkons/Lottery-ticket-hypothesisCommunity9PythonMIT2021-04-08
lecode-official/pytorch-lottery-ticket-hypothesisCommunity8PythonMIT2022-10-21
PyTorch

This repository contains a Pytorch implementation of the paper "The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks" by Jonathan Frankle and Michael Carbin that can be easily adapted to any model/dataset.

35197PythonOct 15, 20193 years ago
deep-learningiclr2019lotterylottery-ticket-hypothesisnetwork-pruning+5 more
PyTorchMIT

This repository contains a Pytorch implementation of the article "The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks" and an application of this hypothesis to reinforcement learning

90Python, ShellJan 31, 20205 years agoMIT
ataridqnlottery-ticket-hypothesisnetwork-pruningpytorch+1 more
PyTorchMIT

A PyTorch implementation of the Lottery Ticket algorithm introduced by Frankle et al. in "The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks" and enhanced by Zhou et al. in "Deconstructing Lottery Tickets: Zeros, Signs, and the Supermask".

80Python, TeXSep 23, 20204 years agoMIT
deep-learninglottery-ticket-hypothesispruningpythonpytorch+1 more

Similar Papers

Cite this paper

@article{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.03635}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1803.03635.svg)](https://codeofpaper.com/paper/1803.03635)

Discussion