SparseProp: Efficient Sparse Backpropagation for Faster Training of Neural Networks

Mahdi Nikdan, Tommaso Pegolotti, Eugenia Iofinova, Eldar Kurtic, Dan Alistarh
2/9/2023
cs.LG

No official code found. Best implementation: IST-DASLab/sparseprop (16 stars, Apache-2.0, last commit 2023-09-27).

Abstract

We provide a new efficient version of the backpropagation algorithm, specialized to the case where the weights of the neural network being trained are sparse. Our algorithm is general, as it applies to arbitrary (unstructured) sparsity and common layer types (e.g., convolutional or linear). We provide a fast vectorized implementation on commodity CPUs, and show that it can yield speedups in end-to-end runtime experiments, both in transfer learning using already-sparsified networks, and in training sparse networks from scratch. Thus, our results provide the first support for sparse training on commodity hardware.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
165C++, PythonFeb 21, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{nikdan2023sparseprop,
  title  = {SparseProp: Efficient Sparse Backpropagation for Faster Training of Neural Networks},
  author = {Mahdi Nikdan and Tommaso Pegolotti and Eugenia Iofinova and Eldar Kurtic and Dan Alistarh},
  year   = {2023},
  eprint = {2302.04852},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.04852v1},
  journal = {ICML 2023 2023}
}

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

Discussion