Skip to main content
QUICK REVIEW

[Paper Review] Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networks

Torsten Hoefler, Dan Alistarh|arXiv (Cornell University)|Jan 31, 2021
Machine Learning and ELMComputer Science341 citations
TL;DR

This survey comprehensively reviews sparsification techniques for pruning and growth in deep networks, detailing methods, theory, and hardware considerations to enable efficient inference and training.

ABSTRACT

The growing energy and performance costs of deep learning have driven the community to reduce the size of neural networks by selectively pruning components. Similarly to their biological counterparts, sparse networks generalize just as well, if not better than, the original dense networks. Sparsity can reduce the memory footprint of regular networks to fit mobile devices, as well as shorten training time for ever growing networks. In this paper, we survey prior work on sparsity in deep learning and provide an extensive tutorial of sparsification for both inference and training. We describe approaches to remove and add elements of neural networks, different training strategies to achieve model sparsity, and mechanisms to exploit sparsity in practice. Our work distills ideas from more than 300 research papers and provides guidance to practitioners who wish to utilize sparsity today, as well as to researchers whose goal is to push the frontier forward. We include the necessary background on mathematical methods in sparsification, describe phenomena such as early structure adaptation, the intricate relations between sparsity and the training process, and show techniques for achieving acceleration on real hardware. We also define a metric of pruned parameter efficiency that could serve as a baseline for comparison of different sparse networks. We close by speculating on how sparsity can improve future workloads and outline major open problems in the field.

Motivation & Objective

  • Survey and categorize sparsification approaches for neural networks.
  • Explain mathematical foundations and practical training strategies for sparsity.
  • Provide guidance for practitioners on applying sparsity today.
  • Discuss hardware implications and open problems to guide future research.

Proposed method

  • Classifies sparsification by what is pruned, when pruning occurs, and how sparsity is achieved.
  • Describes deterministic and probabilistic formulations of training with sparsity, including SGD, Fisher/Hessian perspectives, and Bayesian variational methods.
  • Explains pruning-as-growth during training, including mechanisms to re-add connections to maintain model capacity.
  • Outlines practical techniques for inducing sparsity in full convolutional and transformer architectures.
  • Discusses software and hardware considerations to accelerate sparse models and proposes evaluation benchmarks.

Experimental results

Research questions

  • RQ1What are the main sparsification techniques for pruning and growth in deep neural networks?
  • RQ2How does sparsity interact with training dynamics and generalization?
  • RQ3What are effective methods to exploit sparsity in inference and training on real hardware?
  • RQ4What metrics and benchmarks should be used to compare sparse networks?
  • RQ5What open problems remain in advancing sparse deep learning?

Key findings

  • Sparse methods can achieve 10-100x reductions in model size with little to no loss in accuracy.
  • Sparsification offers potential memory, compute, and energy savings suitable for mobile and large-scale models alike.
  • Pruning techniques are linked to training dynamics and may offer regularization benefits and robustness effects.
  • Variational and Bayesian perspectives provide principled approaches to inducing and measuring sparsity.
  • There is rapid progress with new methods and a need for common benchmarks to enable fair comparisons.
  • Sparse training and growth strategies can maintain or even improve performance while reducing resource usage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.