[Paper Review] Learning Compact Recurrent Neural Networks with Block-Term Tensor Decomposition
This paper proposes Block-Term RNN (BT-RNN), a compact and efficient recurrent neural network architecture that uses Block-Term tensor decomposition to drastically reduce model parameters while improving training efficiency and performance. By replacing dense input-to-hidden weight matrices with low-rank tensor structures, BT-LSTM achieves 17,388× fewer parameters than standard LSTM and improves accuracy by over 15.6% on the UCF11 action recognition dataset.
Recurrent Neural Networks (RNNs) are powerful sequence modeling tools. However, when dealing with high dimensional inputs, the training of RNNs becomes computational expensive due to the large number of model parameters. This hinders RNNs from solving many important computer vision tasks, such as Action Recognition in Videos and Image Captioning. To overcome this problem, we propose a compact and flexible structure, namely Block-Term tensor decomposition, which greatly reduces the parameters of RNNs and improves their training efficiency. Compared with alternative low-rank approximations, such as tensor-train RNN (TT-RNN), our method, Block-Term RNN (BT-RNN), is not only more concise (when using the same rank), but also able to attain a better approximation to the original RNNs with much fewer parameters. On three challenging tasks, including Action Recognition in Videos, Image Captioning and Image Generation, BT-RNN outperforms TT-RNN and the standard RNN in terms of both prediction accuracy and convergence rate. Specifically, BT-LSTM utilizes 17,388 times fewer parameters than the standard LSTM to achieve an accuracy improvement over 15.6\% in the Action Recognition task on the UCF11 dataset.
Motivation & Objective
- Address the high computational cost and parameter explosion in RNNs when processing high-dimensional inputs, especially in video and image sequence tasks.
- Overcome the inefficiency of dense, fully connected operations in standard LSTM by replacing them with a structured, low-rank tensor decomposition.
- Develop a more parameter-efficient and accurate RNN architecture that maintains or improves performance on sequence modeling tasks.
- Enable faster training and better generalization by implicitly pruning redundant connections through tensor decomposition.
Proposed method
- Apply Block-Term Tensor Decomposition (BTD) to decompose the input-to-hidden weight matrices (W*) of LSTM into a sum of low-rank Tucker components, reducing parameter count.
- Represent the input vector xt and weight matrices W* as high-order tensors to exploit latent spatial and feature correlations.
- Use a BTD layer that learns inter-parameter correlations during training, automatically pruning redundant dense connections.
- Integrate the BTD layer into LSTM cells, forming BT-LSTM, which replaces standard matrix-vector multiplication W*·xt with a compact tensor-based operation.
- Optimize the model using standard backpropagation with gradients computed through the BTD decomposition, maintaining end-to-end differentiability.
- Control model capacity via three hyper-parameters: core-order (d), Tucker-rank (R), and CP-rank (N), enabling flexible trade-offs between accuracy and efficiency.
Experimental results
Research questions
- RQ1Can Block-Term tensor decomposition effectively reduce the number of parameters in RNNs without sacrificing performance?
- RQ2How does BT-RNN compare to existing low-rank RNNs like TT-RNN in terms of parameter efficiency and approximation accuracy?
- RQ3Does the proposed BT-LSTM architecture achieve faster convergence and higher accuracy on sequence modeling tasks such as action recognition and image captioning?
- RQ4What is the impact of key hyper-parameters (d, R, N) on model performance and parameter count?
Key findings
- BT-LSTM reduces the number of parameters in LSTM by up to 17,388 times compared to the standard LSTM on the UCF11 action recognition dataset.
- On the UCF11 dataset, BT-LSTM achieves an accuracy improvement of over 15.6% compared to standard LSTM while using far fewer parameters.
- BT-LSTM outperforms both standard LSTM and TT-RNN in both prediction accuracy and convergence speed across three tasks: action recognition, image captioning, and image generation.
- The sensitivity analysis shows that Tucker-rank (R) has an exponential effect on model performance, while CP-rank (N) improves robustness when R is small.
- Increasing core-order (d) beyond a certain point leads to loss of spatial information and deteriorates reconstruction quality, indicating an optimal range for d.
- The BTD-based model captures local correlations in image features more effectively than standard LSTM, as evidenced by improved image captioning quality and visualized weight matrices.
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.