Sparse Networks from Scratch: Faster Training without Losing Performance
Authors:
Preprint
Abstract
We demonstrate the possibility of what we call sparse learning: accelerated training of deep neural networks that maintain sparse weights throughout training while achieving dense performance levels. We accomplish this by developing sparse momentum, an algorithm which uses exponentially smoothed gradients (momentum) to identify layers and weights which reduce the error efficiently. Sparse momentum redistributes pruned weights across layers according to the mean momentum magnitude of each layer. Within a layer, sparse momentum grows weights according to the momentum magnitude of zero-valued weights. We demonstrate state-of-the-art sparse performance on MNIST, CIFAR-10, and ImageNet, decreasing the mean error by a relative 8%, 15%, and 6% compared to other sparse algorithms. Furthermore, we show that sparse momentum reliably reproduces dense performance levels while providing up to 5.61x faster training. In our analysis, ablations show that the benefits of momentum redistribution and growth increase with the depth and size of the network. Additionally, we find that sparse momentum is insensitive to the choice of its hyperparameters suggesting that sparse momentum is robust and easy to use.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Grow and Prune Compact, Fast, and Accurate LSTMsIEEE Transactions on Computers, 2019
- NeST: A Neural Network Synthesis Tool Based on a Grow-and-Prune ParadigmIEEE Transactions on Computers, 2019
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- Scalable training of artificial neural networks with adaptive sparse connectivity inspired by network scienceNature Communications, 2018
- Connectivity-driven white matter scaling and folding in primate cerebral cortexProceedings of the National Academy of Sciences, 2010
- On the momentum term in gradient descent learning algorithmsNeural Networks, 1999
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- A simple procedure for pruning back-propagation trained neural networksIEEE Transactions on Neural Networks, 1990