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
- Sheng Shen
- Eric Wallace
- Kurt Keutzer
- Joseph E. Gonzalez
- Mohit Bansal
- Daniel Klein
- Kevin Lin
- Matt Gardner
In Computer Vision and Pattern Recognition
- Kurt Keutzer
- Sheng Shen
- Joseph E. Gonzalez
- Eric Wallace
- Trevor Darrell
- Daniel Klein
- Luc Van Gool
- Jesse G. Beu
In Hardware and Architecture
In Efficiency & Compression
- Sheng Shen
- Joseph E. Gonzalez
- Kurt Keutzer
- Eric Wallace
- Jesse G. Beu
- Zhuohan Li
- Jin Tao
- Ganesh S. Dasika
Citations in the corpus
- Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformers (2020, background): “Instead, we follow past work and report the memory needed to store the model parameters (Thakker et al., 2019; Shen et al., 2020).”
- Skipping RNN State Updates without Retraining the Original Model (2019, methodology): “This could be achieved either using low-rank matrix factorization [2, 7, 12], structured matrix compression [3, 13], pruning [5, 20] or quantization [6, 15, 16, 19].”
- A Survey on Federated Learning for Resource-Constrained IoT Devices (2021, unknown): “The on-device inference problems are solved in [177] and [178], but the on-device training issues are not expounded.”