The State of Sparsity in Deep Neural Networks

Trevor Gale, Erich Elsen, Sara Hooker
2/25/2019
cs.LGstat.ML

Official code: bayesgroup/variational-dropout-sparsifies-dnn (313 stars, GPL-3.0, last commit 2020-05-20).

Abstract

We rigorously evaluate three state-of-the-art techniques for inducing sparsity in deep neural networks on two large-scale learning tasks: Transformer trained on WMT 2014 English-to-German, and ResNet-50 trained on ImageNet. Across thousands of experiments, we demonstrate that complex techniques (Molchanov et al., 2017; Louizos et al., 2017b) shown to yield high compression rates on smaller datasets perform inconsistently, and that simple magnitude pruning approaches achieve comparable or better results. Additionally, we replicate the experiments performed by (Frankle & Carbin, 2018) and (Liu et al., 2018) at scale and show that unstructured sparse architectures learned through pruning cannot be trained from scratch to the same test set performance as a model trained with joint sparsification and optimization. Together, these results highlight the need for large-scale benchmarks in the field of model compression. We open-source our code, top performing model checkpoints, and results of all hyperparameter configurations to establish rigorous baselines for future work on compression and sparsification.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Sparse Variational Dropout, ICML 2017

31344Python, Jupyter NotebookMar 10, 20176 years agoGPL-3.0
bayesian-deep-learningcompressionicml

Similar Papers

Cite this paper

@article{gale2019state,
  title  = {The State of Sparsity in Deep Neural Networks},
  author = {Trevor Gale and Erich Elsen and Sara Hooker},
  year   = {2019},
  eprint = {1902.09574},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.09574}
}

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

Discussion