[Paper Review] Compressing Recurrent Neural Networks with Tensor Ring for Action Recognition
This paper proposes TR-LSTM, a compact Long Short-Term Memory network that uses Tensor Ring Decomposition (TRD) to compress the input-to-hidden weight matrix in RNNs, significantly reducing parameters while maintaining high accuracy. The method achieves a compression ratio over 34,000 on UCF11 and outperforms standard LSTM, TT-LSTM, and BT-LSTM in action recognition with end-to-end training.
Recurrent Neural Networks (RNNs) and their variants, such as Long-Short Term Memory (LSTM) networks, and Gated Recurrent Unit (GRU) networks, have achieved promising performance in sequential data modeling. The hidden layers in RNNs can be regarded as the memory units, which are helpful in storing information in sequential contexts. However, when dealing with high dimensional input data, such as video and text, the input-to-hidden linear transformation in RNNs brings high memory usage and huge computational cost. This makes the training of RNNs unscalable and difficult. To address this challenge, we propose a novel compact LSTM model, named as TR-LSTM, by utilizing the low-rank tensor ring decomposition (TRD) to reformulate the input-to-hidden transformation. Compared with other tensor decomposition methods, TR-LSTM is more stable. In addition, TR-LSTM can complete an end-to-end training and also provide a fundamental building block for RNNs in handling large input data. Experiments on real-world action recognition datasets have demonstrated the promising performance of the proposed TR-LSTM compared with the tensor train LSTM and other state-of-the-art competitors.
Motivation & Objective
- To address the high parameter count and computational cost of input-to-hidden transformations in RNNs when processing high-dimensional video data.
- To overcome the limitations of tensor train decomposition (TTD), such as rigid rank constraints and sensitivity to core ordering.
- To develop a stable, low-rank RNN architecture that maintains performance while drastically reducing model size.
- To enable end-to-end training of compressed RNNs using a differentiable tensor ring layer as a plug-in building block.
- To demonstrate superior compression and accuracy compared to state-of-the-art low-rank RNN methods on real-world action recognition benchmarks.
Proposed method
- The input-to-hidden weight matrix in standard LSTMs is reshaped into a high-order tensor and factorized using Tensor Ring Decomposition (TRD).
- TRD decomposes the weight tensor into a circular chain of low-rank core tensors, enabling efficient parameter sharing and modeling of inter-parameter correlations.
- The TR layer is differentiable and integrates seamlessly into the LSTM computation graph, allowing end-to-end backpropagation.
- The method uses a circular connection between the first and last core tensors, which alleviates the strict rank constraints of tensor train decomposition.
- The model is trained end-to-end on video action recognition datasets, with hyperparameters like TR-ranks optimized for performance and compression.
- The approach is generalizable and can be applied to vanilla RNNs and GRUs, not just LSTMs.
Experimental results
Research questions
- RQ1Can tensor ring decomposition effectively compress the input-to-hidden weight matrix in RNNs while preserving model performance?
- RQ2How does TR-LSTM compare to TT-LSTM and BT-LSTM in terms of compression ratio and accuracy on action recognition tasks?
- RQ3Does the TR-LSTM model maintain stability and generalization under extreme parameter compression?
- RQ4Can the TR layer be effectively used in end-to-end training of RNNs without performance degradation?
- RQ5Is the TR-LSTM architecture suitable as a plug-in module for existing LSTM-based models in video understanding?
Key findings
- TR-LSTM achieved a compression ratio of over 34,000 compared to standard LSTM on the UCF11 dataset, significantly outperforming TT-LSTM and BT-LSTM.
- On UCF11, TR-LSTM reached an accuracy of 86.9%, surpassing standard LSTM (68.1%), TT-LSTM (80.3%), and BT-LSTM (85.6%) in end-to-end training.
- When using features from InceptionV3 as input, TR-LSTM achieved 63.8% accuracy with only 0.7M parameters, compared to 25M parameters in I3D, while outperforming other methods.
- The TR-LSTM model maintained high stability and generalization, even under extreme compression, due to the robustness of TRD's circular core structure.
- The TR layer demonstrated strong expressiveness and flexibility, enabling better performance than TT-LSTM despite lower parameter counts.
- The method is extensible and can be integrated into advanced RNN architectures, such as two-stream LSTMs, as a fundamental building block.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.