Compressing RNNs for IoT devices by 15-38x using Kronecker Products

By Urmish Thakker, Jesse G. Beu, Dibakar Gope, Chu Zhou, Igor Fedorov, Ganesh S. Dasika, Matthew Mattina. 2019

36 citations recorded by the source corpus.

Recurrent Neural Networks (RNN) can be large and compute-intensive, making them hard to deploy on resource constrained devices. As a result, there is a need for compression technique that can significantly compress recurrent neural networks, without negatively impacting task accuracy. This paper introduces a method to compress RNNs for resource constrained environments using Kronecker products. We call the RNNs compressed using Kronecker products as Kronecker product Recurrent Neural Networks (KPRNNs). KPRNNs can compress the LSTM[22], GRU [9] and parameter optimized FastRNN [30] layers by 15 - 38x with minor loss in accuracy and can act as in-place replacement of most RNN cells in existing applications. By quantizing the Kronecker compressed networks to 8 bits, we further push the compression factor to 50x. We compare the accuracy and runtime of KPRNNs with other state-of-the-art compression techniques across 5 benchmarks spanning 3 different applications, showing its generality. Additionally, we show how to control the compression factors achieved by Kronecker products using a novel hybrid decomposition technique. We call the RNN cells compressed using Kronecker products with this control mechanism as hybrid Kronecker product RNNs (HKPRNN). Using HKPRNN, we compress RNN Cells in 2 benchmarks by 10x and 20x achieving better accuracy than other state-of-the-art compression techniques.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Hardware and Architecture, Efficiency & Compression

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. Sheng Shen
  2. Eric Wallace
  3. Kurt Keutzer
  4. Joseph E. Gonzalez
  5. Mohit Bansal
  6. Daniel Klein
  7. Kevin Lin
  8. Matt Gardner

In Computer Vision and Pattern Recognition

  1. Kurt Keutzer
  2. Sheng Shen
  3. Joseph E. Gonzalez
  4. Eric Wallace
  5. Trevor Darrell
  6. Daniel Klein
  7. Luc Van Gool
  8. Jesse G. Beu

In Hardware and Architecture

  1. Kurt Keutzer
  2. Eric Wallace
  3. Joseph E. Gonzalez

In Efficiency & Compression

  1. Sheng Shen
  2. Joseph E. Gonzalez
  3. Kurt Keutzer
  4. Eric Wallace
  5. Jesse G. Beu
  6. Zhuohan Li
  7. Jin Tao
  8. Ganesh S. Dasika

Citations in the corpus