[Paper Review] An Online Attention-based Model for Speech Recognition
This paper proposes LC-AMoChA, an online attention-based speech recognition model that replaces the bidirectional encoder and global soft attention in LAS with a latency-controlled bidirectional LSTM and adaptive monotonic chunk-wise attention, achieving only 3.5% relative WER degradation compared to the offline baseline on a Mandarin corpus.
Attention-based end-to-end models such as Listen, Attend and Spell (LAS), simplify the whole pipeline of traditional automatic speech recognition (ASR) systems and become popular in the field of speech recognition. In previous work, researchers have shown that such architectures can acquire comparable results to state-of-the-art ASR systems, especially when using a bidirectional encoder and global soft attention (GSA) mechanism. However, bidirectional encoder and GSA are two obstacles for real-time speech recognition. In this work, we aim to stream LAS baseline by removing the above two obstacles. On the encoder side, we use a latency-controlled (LC) bidirectional structure to reduce the delay of forward computation. Meanwhile, an adaptive monotonic chunk-wise attention (AMoChA) mechanism is proposed to replace GSA for the calculation of attention weight distribution. Furthermore, we propose two methods to alleviate the huge performance degradation when combining LC and AMoChA. Finally, we successfully acquire an online LAS model, LC-AMoChA, which has only 3.5% relative performance reduction to LAS baseline on our internal Mandarin corpus.
Motivation & Objective
- To enable real-time, streaming inference in end-to-end attention-based speech recognition models like LAS.
- To overcome the latency bottleneck introduced by bidirectional encoders and global soft attention mechanisms.
- To develop an attention mechanism that adapts chunk size dynamically to speech properties for better streaming performance.
- To minimize performance degradation when combining latency-controlled encoding with adaptive attention in online ASR.
Proposed method
- Replace the standard bidirectional LSTM encoder in LAS with a latency-controlled (LC) bidirectional LSTM to reduce forward computation delay.
- Introduce adaptive monotonic chunk-wise attention (AMoChA) that uses feedforward networks to predict variable chunk lengths instead of fixed sizes.
- Apply two compensation techniques: (1) averaging future listener features and (2) averaging future attention probabilities to stabilize alignment boundaries.
- Use pre-trained models as initialization to improve convergence and performance when combining LC-BLSTM with AMoChA.
- Implement the AMoChA mechanism by computing energy scores over adaptive chunks and applying soft attention within each chunk.
- Integrate the modified encoder and attention mechanism into a streaming LAS framework with a unidirectional speller.
Experimental results
Research questions
- RQ1Can a latency-controlled bidirectional LSTM reduce encoder delay while preserving ASR performance in an online LAS system?
- RQ2Can adaptive chunk-wise attention (AMoChA) outperform fixed-size chunking in streaming attention-based ASR?
- RQ3What causes significant performance degradation when combining LC-BLSTM with AMoChA, and how can it be mitigated?
- RQ4To what extent can the performance of an online LAS model be preserved relative to its offline counterpart?
Key findings
- The LC-AMoChA model achieves only 3.5% relative word error rate (WER) degradation compared to the offline LAS baseline on a Mandarin speech corpus.
- The combination of LC-BLSTM and AMoChA without compensation methods results in a 13.1% relative WER degradation due to misaligned attention boundaries.
- Applying the second compensation method—averaging future attention probabilities over 10 steps—reduces degradation to 5% relative on the LC-MoChA model.
- Using the same compensation method on LC-AMoChA achieves the best result, with only 3.5% relative degradation, confirming the effectiveness of the proposed approach.
- The attention weight distribution in LC-AMoChA is successfully realigned toward earlier, more relevant encoder states when using future probability averaging.
- The model demonstrates that adaptive chunking with learned length prediction improves alignment stability and performance in streaming ASR.
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.