GASL: Guided Attention for Sparsity Learning in Deep Neural Networks
arXiv:1901.01939
Abstract
The main goal of network pruning is imposing sparsity on the neural network by increasing the number of parameters with zero value in order to reduce the architecture size and the computational speedup. In most of the previous research works, sparsity is imposed stochastically without considering any prior knowledge of the weights distribution or other internal network characteristics. Enforcing too much sparsity may induce accuracy drop due to the fact that a lot of important elements might have been eliminated. In this paper, we propose Guided Attention for Sparsity Learning (GASL) to achieve (1) model compression by having less number of elements and speed-up; (2) prevent the accuracy drop by supervising the sparsity operation via a guided attention mechanism and (3) introduce a generic mechanism that can be adapted for any type of architecture; Our work is aimed at providing a framework based on interpretable attention mechanisms for imposing structured and non-structured sparsity in deep neural networks. For Cifar-100 experiments, we achieved the state-of-the-art sparsity level and 2.91x speedup with competitive accuracy compared to the best method. For MNIST and LeNet architecture we also achieved the highest sparsity and speedup level.
References in corpus (19)
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- Deep Learning in Neural Networks: An Overview
- Distilling the Knowledge in a Neural Network
- Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
- Playing Atari with Deep Reinforcement Learning
- On the difficulty of training Recurrent Neural Networks
- Attention-Based Models for Speech Recognition
- Do Deep Nets Really Need to be Deep?
- Exploiting Linear Structure Within Convolutional Networks for Efficient Evaluation
- Recurrent Models of Visual Attention
- Speeding up Convolutional Neural Networks with Low Rank Expansions
- Convolutional neural networks with low-rank regularization
- Bayesian Compression for Deep Learning
- Learning Sparse Neural Networks through Regularization
- Structured Bayesian Pruning via Log-Normal Multiplicative Noise
- Memory Bounded Deep Convolutional Networks
- Attention Correctness in Neural Image Captioning
- Supervised Attentions for Neural Machine Translation
- Neural Machine Translation with Supervised Attention