Sparse Weight Activation Training

Md Aamir Raihan, Tor M. Aamodt
1/7/2020
cs.LGstat.ML

Official code: AamirRaihan/SWAT (30 stars, Python, last commit 2021-07-23).

Abstract

Neural network training is computationally and memory intensive. Sparse training can reduce the burden on emerging hardware platforms designed to accelerate sparse computations, but it can affect network convergence.

Show full abstract

In this work, we propose a novel CNN training algorithm Sparse Weight Activation Training (SWAT). SWAT is more computation and memory-efficient than conventional training. SWAT modifies back-propagation based on the empirical insight that convergence during training tends to be robust to the elimination of (i) small magnitude weights during the forward pass and (ii) both small magnitude weights and activations during the backward pass. We evaluate SWAT on recent CNN architectures such as ResNet, VGG, DenseNet and WideResNet using CIFAR-10, CIFAR-100 and ImageNet datasets. For ResNet-50 on ImageNet SWAT reduces total floating-point operations (FLOPS) during training by 80% resulting in a 3.3$\times$ training speedup when run on a simulated sparse learning accelerator representative of emerging platforms while incurring only 1.63% reduction in validation accuracy. Moreover, SWAT reduces memory footprint during the backward pass by 23% to 50% for activations and 50% to 90% for weights.

View on arXivView PDF

Code Implementations(1)

AamirRaihan/SWATOfficial100%

Official implementation of Neurips 2020 "Sparse Weight Activation Training" paper.

3010Python, C++Oct 8, 20205 years agoNOASSERTION

Similar Papers

Cite this paper

@article{raihan2020sparse,
  title  = {Sparse Weight Activation Training},
  author = {Md Aamir Raihan and Tor M. Aamodt},
  year   = {2020},
  eprint = {2001.01969},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.01969}
}

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

Discussion