TL;DR
This paper introduces a novel 2D Long Short-Term Memory (2DLSTM) architecture for automatic speech recognition (ASR) that completely replaces the traditional attention mechanism. By processing input audio and output text sequences jointly in a 2D grid, the model achieves word error rates competitive with standard attention-based sequence-to-sequence models while inherently capturing monotonic alignments.
What Problem Does This Paper Address?
Modern automatic speech recognition systems heavily rely on attention-based encoder-decoder models. While effective, the attention mechanism treats input (audio) and output (text) as separate 1D sequences and attempts to align them flexibly.
However, speech is inherently monotonic—the order of spoken words strictly follows the timeline of the audio. Standard attention mechanisms can struggle with this constraint and cannot re-interpret or update encoder states dynamically during decoding. The authors address this by exploring an alternative architecture that eliminates attention entirely, relying instead on a multi-dimensional structure to naturally capture the spatio-temporal alignment between audio features and text.
Methods
The authors propose a 2D sequence-to-sequence model inspired by architectures previously used in machine translation:
- Encoder: A deep 6-layer bidirectional LSTM network scans the audio feature sequence, using max-pooling to downsample the time dimension by a factor of 8.
- 2DLSTM Layer: Instead of an attention layer and a separate LSTM decoder, a single 2DLSTM layer is placed on top of the encoder. This layer operates on a 2D grid where the horizontal axis processes the encoder states (audio context) and the vertical axis predicts the output subwords (text context).
- Dynamic Re-encoding: Unlike standard attention models where encoder states are static once computed, the 2DLSTM repeatedly updates and re-interprets the source representations conditioned on previously generated words.
- Gating Mechanism: The 2DLSTM introduces an additional "lambda gate" ($\lambda_{t,n}$) to balance the vertical and horizontal cell state recurrences.
Datasets
The model was evaluated on the standard Switchboard 300h automatic speech recognition task:
- Training/Dev: The full Hub5'00 dataset, which includes Switchboard (SWB) and Callhome (CH) subsets, was used for development and tuning.
- Evaluation: The Hub5'01 dataset served as the independent test set.
- Text Processing: Byte-pair-encoding (BPE) with 1k merge operations was used to handle open-vocabulary subwords.
Key Insights and Ideas
- Attention-Free Alignment: The 2DLSTM's internal cell states can implicitly capture monotonic alignments and coverage concepts without needing an explicit, computationally separate attention component.
- Dynamic Context: Because the horizontal dimension of the 2DLSTM re-evaluates the encoder states at each step, the model can "re-interpret" the audio context based on the text it has already generated.
- Trade-off in Parallelism: During training, the entire target sequence is known, allowing the 2D grid to be computed efficiently in parallel. However, during inference, decoding must happen row-by-row, introducing a significant computational bottleneck.
Key Results
- The 2DLSTM model achieved competitive Word Error Rates (WER) compared to a strong attention-based baseline.
- On the Hub5'01 test set, the proposed model achieved a 19.0% WER, outperforming the attention baseline (19.4% WER) by 0.4% absolute.
- Perplexity and Frame Error Rates (FER) were highly comparable to the baseline, despite adding only about 3M additional parameters (160M total vs 157M).
Limitations and Future Work
- Decoding Speed: The primary drawback is computational efficiency during inference. The 2DLSTM model is roughly 6 times slower at decoding than the standard attention baseline (taking 26 minutes vs 4 minutes on the development set). This is due to the requirement of row-wise state computation during beam search.
- Lack of Language Model: The current experiments did not integrate an external Language Model (LM) during the search phase; doing so is expected to further improve accuracy.
- Future Directions: The authors aim to develop a fully bidirectional 2DLSTM that functions completely independently of standard standard LSTM layers, and scale testing to larger, more diverse speech tasks.
Summary updated