arXiv Analytics

Sign in

arXiv:1704.05119 [cs.LG]AbstractReferencesReviewsResources

Exploring Sparsity in Recurrent Neural Networks

Sharan Narang, Gregory Diamos, Shubho Sengupta, Erich Elsen

Published 2017-04-17Version 1

Recurrent Neural Networks (RNN) are widely used to solve a variety of problems and as the quantity of data and the amount of available compute have increased, so have model sizes. The number of parameters in recent state-of-the-art networks makes them hard to deploy, especially on mobile phones and embedded devices. The challenge is due to both the size of the model and the time it takes to evaluate it. In order to deploy these RNNs efficiently, we propose a technique to reduce the parameters of a network by pruning weights during the initial training of the network. At the end of training, the parameters of the network are sparse while accuracy is still close to the original dense neural network. The network size is reduced by 8x and the time required to train the model remains constant. Additionally, we can prune a larger dense network to achieve better than baseline performance while still reducing the total number of parameters significantly. Pruning RNNs reduces the size of the model and can also help achieve significant inference time speed-up using sparse matrix multiply. Benchmarks show that using our technique model size can be reduced by 90% and speed-up is around 2x to 7x.

Related articles: Most relevant | Search more
arXiv:1506.03099 [cs.LG] (Published 2015-06-09)
Scheduled Sampling for Sequence Prediction with Recurrent Neural Networks
arXiv:1511.06732 [cs.LG] (Published 2015-11-20)
Sequence Level Training with Recurrent Neural Networks
arXiv:1604.03640 [cs.LG] (Published 2016-04-13)
Bridging the Gaps Between Residual Learning, Recurrent Neural Networks and Visual Cortex