Rigging the Lottery: Making All Tickets Winners

Utku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro, Erich Elsen
11/25/2019
cs.LGcs.CVstat.ML

Official code: google-research/rigl (338 stars, Apache-2.0, last commit 2023-01-26). 1 more implementation below.

Abstract

Many applications require sparse neural networks due to space or inference time restrictions. There is a large body of work on training dense networks to yield sparse networks for inference, but this limits the size of the largest trainable sparse model to that of the largest trainable dense model. In this paper we introduce a method to train sparse neural networks with a fixed parameter count and a fixed computational cost throughout training, without sacrificing accuracy relative to existing dense-to-sparse training methods. Our method updates the topology of the sparse network during training by using parameter magnitudes and infrequent gradient calculations. We show that this approach requires fewer floating-point operations (FLOPs) to achieve a given level of accuracy compared to prior techniques. We demonstrate state-of-the-art sparse training results on a variety of networks and datasets, including ResNet-50, MobileNets on Imagenet-2012, and RNNs on WikiText-103. Finally, we provide some insights into why allowing the topology to change during the optimization can overcome local minima encountered when the topology remains static. Code used in our work can be found in github.com/google-research/rigl.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

End-to-end training of sparse deep neural networks with little-to-no performance loss.

33850Shell, PythonNov 25, 20193 years agoApache-2.0
computer-visionmachine-learningneural-networkssparse-training

Reproducing RigL (ICML 2020) as a part of ML Reproducibility Challenge 2020

293Python, MakefileOct 3, 20204 years ago
icml-2020machine-learningreproducibility-challenge

Similar Papers

Cite this paper

@article{evci2019rigging,
  title  = {Rigging the Lottery: Making All Tickets Winners},
  author = {Utku Evci and Trevor Gale and Jacob Menick and Pablo Samuel Castro and Erich Elsen},
  year   = {2019},
  eprint = {1911.11134},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.11134}
}

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/1911.11134.svg)](https://codeofpaper.com/paper/1911.11134)

Discussion