Skip to main content
QUICK REVIEW

[Paper Review] Learning Compact Recurrent Neural Networks

Zhiyun Lu, Vikas Sindhwani|arXiv (Cornell University)|Apr 9, 2016
Speech Recognition and SynthesisComputer Science9 references21 citations
TL;DR

This paper proposes a hybrid compression strategy for compacting recurrent neural networks (RNNs) and LSTMs using Toeplitz-like structured matrices in bottom layers and shared low-rank factors in upper layers. The method reduces LSTM parameters by 75% with only a 0.3% increase in Word Error Rate (WER), demonstrating that cell state preservation is critical for performance while recurrent and non-recurrent weights are similarly compressible.

ABSTRACT

Recurrent neural networks (RNNs), including long short-term memory (LSTM) RNNs, have produced state-of-the-art results on a variety of speech recognition tasks. However, these models are often too large in size for deployment on mobile devices with memory and latency constraints. In this work, we study mechanisms for learning compact RNNs and LSTMs via low-rank factorizations and parameter sharing schemes. Our goal is to investigate redundancies in recurrent architectures where compression can be admitted without losing performance. A hybrid strategy of using structured matrices in the bottom layers and shared low-rank factors on the top layers is found to be particularly effective, reducing the parameters of a standard LSTM by 75%, at a small cost of 0.3% increase in WER, on a 2,000-hr English Voice Search task.

Motivation & Objective

  • To investigate redundancy in recurrent architectures to enable efficient model compression without performance loss.
  • To evaluate various compression techniques—low-rank factorization, parameter sharing via hashing, and structured matrices—for RNNs and LSTMs.
  • To determine optimal compression strategies across layers, gates, and weight types in deep LSTM architectures.
  • To develop a hybrid compression framework that balances parameter reduction and recognition accuracy in speech recognition tasks.

Proposed method

  • Applying Toeplitz-like structured matrices with low displacement rank to compress bottom-layer weights in LSTMs, enabling convolutional-like computation.
  • Using shared low-rank factorization in upper layers to reduce parameters via projection matrices with reduced rank.
  • Implementing a hybrid architecture that combines structured matrices in early layers and shared low-rank projections in deeper layers.
  • Evaluating compression on different components: recurrent weights (U), non-recurrent weights (W), and individual gates (input, forget, output, cell state).
  • Training models on a 2,000-hour English Voice Search task and measuring WER to assess performance trade-offs.
  • Using soft labels from full models to guide knowledge distillation in smaller compressed models.

Experimental results

Research questions

  • RQ1Where in the LSTM architecture is the most redundancy for effective compression?
  • RQ2How do different compression techniques—low-rank factorization, hashing-based parameter sharing, and structured matrices—compare in performance and efficiency?
  • RQ3Does compressing recurrent weights (U) or non-recurrent weights (W) yield different performance outcomes?
  • RQ4Which gates (input, forget, output, cell state) are most sensitive to compression, and how should compression be prioritized?
  • RQ5Can a hybrid compression strategy combining structured matrices and shared low-rank projections achieve significant parameter reduction with minimal accuracy loss?

Key findings

  • Using Toeplitz-like structured matrices in bottom layers outperforms hashing and low-rank factorization for aggressive parameter reduction.
  • Shared low-rank factors in upper layers are highly effective for overall parameter compression across the network.
  • A hybrid strategy of Toeplitz-like matrices in bottom layers and shared low-rank projections in upper layers reduces parameters by 75% with only a 0.3% WER increase.
  • Compressing recurrent or non-recurrent weights yields similar performance, indicating no significant difference in compressibility.
  • The cell state is the most critical component to preserve; compressing it causes a 0.4% WER increase, while compressing other gates has smaller but measurable effects.
  • Compressing all gates (input, forget, output) together increases WER by 0.5% with a 0.14m parameter reduction, indicating diminishing returns beyond selective compression.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.