Compression of Recurrent Neural Networks for Efficient Language Modeling
Artem M. Grachev, Dmitry I. Ignatov, Andrey V. Savchenko

TL;DR
This paper explores various compression techniques for recurrent neural networks, especially LSTM models, to reduce their size and improve inference speed for mobile language modeling applications.
Contribution
It introduces a comprehensive pipeline for selecting and applying effective compression methods, highlighting matrix decomposition as the most efficient approach.
Findings
Matrix decomposition achieves best speed and compression-perplexity trade-off.
Pruning and quantization also reduce model size but with different trade-offs.
Experimental validation on Penn Treebank dataset supports the effectiveness of the proposed methods.
Abstract
Recurrent neural networks have proved to be an effective method for statistical language modeling. However, in practice their memory and run-time complexity are usually too large to be implemented in real-time offline mobile applications. In this paper we consider several compression techniques for recurrent neural networks including Long-Short Term Memory models. We make particular attention to the high-dimensional output problem caused by the very large vocabulary size. We focus on effective compression methods in the context of their exploitation on devices: pruning, quantization, and matrix decomposition approaches (low-rank factorization and tensor train decomposition, in particular). For each model we investigate the trade-off between its size, suitability for fast inference and perplexity. We propose a general pipeline for applying the most suitable methods to compress recurrent…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsSPEED: Separable Pyramidal Pooling EncodEr-Decoder for Real-Time Monocular Depth Estimation on Low-Resource Settings
