[Paper Review] Wider and Deeper, Cheaper and Faster: Tensorized LSTMs for Sequence Learning
This paper proposes Tensorized LSTMs, a novel architecture that uses tensorized hidden states and cross-layer convolutions to widen and deepen LSTMs without increasing parameters or runtime significantly. By sharing parameters across tensor dimensions and merging deep computations into temporal processing, the model achieves improved sequence modeling capacity with efficient training and inference, outperforming standard and deep LSTMs on five sequence tasks.
Long Short-Term Memory (LSTM) is a popular approach to boosting the ability of Recurrent Neural Networks to store longer term temporal information. The capacity of an LSTM network can be increased by widening and adding layers. However, usually the former introduces additional parameters, while the latter increases the runtime. As an alternative we propose the Tensorized LSTM in which the hidden states are represented by tensors and updated via a cross-layer convolution. By increasing the tensor size, the network can be widened efficiently without additional parameters since the parameters are shared across different locations in the tensor; by delaying the output, the network can be deepened implicitly with little additional runtime since deep computations for each timestep are merged into temporal computations of the sequence. Experiments conducted on five challenging sequence learning tasks show the potential of the proposed model.
Motivation & Objective
- To address the trade-off between model capacity and computational cost in RNNs and LSTMs, particularly when widening (increasing units) or deepening (adding layers) the network.
- To overcome the quadratic parameter growth in widening LSTMs and the linear runtime increase in deepening them via standard stacking.
- To enable efficient widening without additional parameters by using parameter sharing across tensor dimensions in hidden states.
- To enable deepening with minimal runtime overhead by merging deep computations into temporal computations through delayed output.
- To improve long-range dependency modeling by introducing a memory cell convolution that supports multi-directional information flow.
Proposed method
- Tensorizing the hidden state vector into a higher-dimensional tensor (e.g., 2D matrix) to enable flexible parameter sharing across spatial dimensions while maintaining full connectivity across channels.
- Applying local convolution across the first dimension of the tensor to share parameters across locations, reducing parameter count while enabling scalable widening.
- Using fully connected operations across the second dimension to allow global information interaction, preserving representational capacity.
- Introducing a cross-layer convolution that operates across hidden states of different timesteps, enabling deep computations to be merged into temporal processing.
- Delaying the output by L-1 timesteps to allow deep computations to be performed implicitly over time, minimizing additional runtime.
- Extending the tensorized RNN framework to an LSTM by integrating a novel memory cell convolution that supports bidirectional and multi-directional gradient flow.
Experimental results
Research questions
- RQ1Can tensorized hidden states enable efficient widening of LSTMs without increasing the number of parameters?
- RQ2Can deep computations in LSTMs be merged into temporal computations to reduce runtime overhead during inference?
- RQ3How does the proposed memory cell convolution improve gradient flow and long-range dependency learning compared to standard or stacked LSTMs?
- RQ4Can the tensorized LSTM maintain or improve performance on diverse sequence learning tasks while reducing computational cost?
- RQ5How does the model’s capacity scale with tensor size and depth, and what is the trade-off between efficiency and representational power?
Key findings
- The Tensorized LSTM achieves significantly wider and deeper representations than standard LSTMs without increasing the number of parameters, due to parameter sharing across tensor dimensions.
- The model enables deep computations to be performed with minimal additional runtime by merging them into temporal processing, making it suitable for real-time applications.
- Experiments on five challenging sequence learning tasks demonstrate that the Tensorized LSTM outperforms standard and stacked LSTMs in terms of accuracy and efficiency.
- The attention maps in the model show that different tensor locations encode distinct, time-shifted features, indicating effective long-range dependency modeling.
- The memory cell convolution enables multi-directional information flow, improving gradient stability and performance on long sequences compared to unidirectional gated mechanisms.
- The model maintains high performance even when the input is a single vector (non-structured), unlike convolutional LSTMs that require structured inputs to benefit from parallelization.
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.