Independent language modeling architecture for end-to-end ASR

Van Tung Pham, Haihua Xu, Yerbolat Khassanov, Zhiping Zeng, Eng Siong Chng, Chongjia Ni, Bin Ma, Haizhou Li

Abstract

End-to-end (E2E) speech recognition models typically entangle acoustic and language processing, making it difficult to improve the model using text-only data. This paper introduces a novel architecture that decouples the decoder, turning it into an independently trainable language model. This allows the system to easily ingest massive amounts of external text data, significantly reducing word error rates while avoiding catastrophic forgetting.

Introduction

In traditional Automatic Speech Recognition (ASR), the acoustic model (audio-to-phonemes) and the language model (predicting the next word) are separate components. This modularity is advantageous because language models (LMs) can be trained on massive, inexpensive, text-only datasets. Modern E2E ASR systems, however, often use a single neural network—typically an attention-based encoder-decoder—to map audio directly to text. In these "vanilla" setups, the decoder acts as the LM, but its recurrent layers (LSTMs) are directly conditioned on the acoustic output of the encoder. Because these representations are entangled, the decoder cannot be easily trained on text alone, as it expects an acoustic context vector that does not exist in text-only data.

Proposed Architecture

The authors propose a structural modification to the standard attention-based encoder-decoder model to decouple the LM component.

Comparison between the vanilla architecture (A1) and the proposed decoupled architecture (A2).

In the vanilla architecture (A1), the attention context vector $c_i$ is fed directly into the decoder's LSTM at every time step. In the proposed architecture (A2), this connection is removed. The LSTM instead processes only the previous hidden state and the previous text output, effectively becoming an independent LM subnet. The acoustic context is fused with the LSTM's output only at the final stage, just before the softmax projection. This decoupling forces the LSTM to learn a more robust internal language representation.

Training Strategies

Training on external text ($\mathcal{T}$) can lead to catastrophic forgetting of the knowledge gained from labeled audio-text data ($\mathcal{P}$). The authors evaluated two strategies to mitigate this:

  • Strategy 1 (Fine-tuning): The entire model is trained on $\mathcal{P}$, fine-tuned on $\mathcal{T}$, and then fine-tuned again on $\mathcal{P}$.
  • Strategy 2 (Pre-training): The isolated LM subnet is pre-trained on $\mathcal{T}$ first. Then, the entire E2E network is trained jointly using both $\mathcal{T}$ and $\mathcal{P}$ via a combined loss function.

Experimental Results

The approach was evaluated on the HKUST Mandarin Chinese corpus and the National Speech Corpus (NSC) for Singapore English.

Performance comparison (CER/WER) across different datasets and training configurations.

As shown in Figure 4, the decoupled architecture (A2) outperformed the vanilla baseline even without external text data. When external text was integrated using Strategy 2, the model achieved significant error rate reductions: a 9.3% relative reduction in Character Error Rate (CER) on HKUST and a 22.8% relative reduction in Word Error Rate (WER) on NSC. Furthermore, the results demonstrate that the internal LM improvements are complementary to external LMs used during inference, providing cumulative gains in accuracy.

Conclusion

Decoupling the language model within an E2E ASR architecture provides a clean and effective path for leveraging large-scale text-only data. This method significantly improves performance in low-resource scenarios and offers a more modular approach to E2E system design. Future work may explore scaling this approach to even larger text corpora and testing its applicability to other modern architectures like RNN-Transducers.

Summary updated

BibTeX
@inproceedings{pham2020independent,
  author = {Van Tung Pham and Haihua Xu and Yerbolat Khassanov and Zhiping Zeng and Eng Siong Chng and Chongjia Ni and Bin Ma and Haizhou Li},
  title = {{Independent language modeling architecture for end-to-end ASR}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9054116},
}
Figure