Block-Sparse Recurrent Neural Networks

By Sharan Narang, Eric Undersander, G. Diamos. 2017

147 citations recorded by the source corpus.

Recurrent Neural Networks (RNNs) are used in state-of-the-art models in domains such as speech recognition, machine translation, and language modelling. Sparsity is a technique to reduce compute and memory requirements of deep learning models. Sparse RNNs are easier to deploy on devices and high-end server processors. Even though sparse operations need less compute and memory relative to their dense counterparts, the speed-up observed by using sparse operations is less than expected on different hardware platforms. In order to address this issue, we investigate two different approaches to induce block sparsity in RNNs: pruning blocks of weights in a layer and using group lasso regularization with pruning to create blocks of weights with zeros. Using these techniques, we can create block-sparse RNNs with sparsity ranging from 80% to 90% with a small loss in accuracy. This technique allows us to reduce the model size by roughly 10x. Additionally, we can prune a larger dense network to recover this loss in accuracy while maintaining high block sparsity and reducing the overall parameter count. Our technique works with a variety of block sizes up to 32x32. Block-sparse RNNs eliminate overheads related to data storage and irregular memory accesses while increasing hardware efficiency compared to unstructured sparsity.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Electrical and Electronic Engineering, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yoshua Bengio
  2. Quoc V. Le
  3. Mohit Bansal
  4. Kurt Keutzer
  5. Jianfeng Gao
  6. Kyunghyun Cho
  7. Aaron C. Courville
  8. Ruslan Salakhutdinov

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Jitendra Malik
  4. Trevor Darrell
  5. Ming-Hsuan Yang
  6. Xiaogang Wang
  7. Andrew Zisserman
  8. Andrea Vedaldi

In Electrical and Electronic Engineering

  1. Aaron C. Courville
  2. Yoshua Bengio
  3. Kurt Keutzer
  4. A. Gholami
  5. Michael W. Mahoney
  6. Zi-Mei Yao
  7. Gabriele Prato
  8. Ella Charlaix

In Model Architectures

  1. Yoshua Bengio
  2. Aaron C. Courville
  3. Quoc V. Le
  4. Kyunghyun Cho
  5. Ruslan Salakhutdinov
  6. Aäron van den Oord
  7. Koray Kavukcuoglu
  8. Kurt Keutzer

Citations in the corpus