Skip to main content
QUICK REVIEW

[Paper Review] Independent language modeling architecture for end-to-end ASR

Van Tung Pham, Haihua Xu|arXiv (Cornell University)|Nov 25, 2019
Speech Recognition and SynthesisComputer Science26 references6 citations
TL;DR

This paper proposes a decoupled language modeling architecture for end-to-end automatic speech recognition (ASR) that separates the decoder subnet from the encoder output, enabling independent pre-training with external text data. By decoupling the language model, the method achieves 9.3% relative character error rate reduction on Mandarin HKUST and 22.8% on English NSC, with improved generalization across varying amounts of labeled data and compatibility with external language models.

ABSTRACT

The attention-based end-to-end (E2E) automatic speech recognition (ASR) architecture allows for joint optimization of acoustic and language models within a single network. However, in a vanilla E2E ASR architecture, the decoder sub-network (subnet), which incorporates the role of the language model (LM), is conditioned on the encoder output. This means that the acoustic encoder and the language model are entangled that doesn't allow language model to be trained separately from external text data. To address this problem, in this work, we propose a new architecture that separates the decoder subnet from the encoder output. In this way, the decoupled subnet becomes an independently trainable LM subnet, which can easily be updated using the external text data. We study two strategies for updating the new architecture. Experimental results show that, 1) the independent LM architecture benefits from external text data, achieving 9.3% and 22.8% relative character and word error rate reduction on Mandarin HKUST and English NSC datasets respectively; 2)the proposed architecture works well with external LM and can be generalized to different amount of labelled data.

Motivation & Objective

  • To address the limitation in vanilla end-to-end ASR where the language model is entangled with the acoustic encoder, preventing independent training with external text data.
  • To enable effective pre-training of the language model component using large-scale external text corpora without requiring transcribed speech data.
  • To mitigate catastrophic forgetting during joint fine-tuning of the E2E model after LM pre-training.
  • To evaluate the generalization of the proposed architecture across varying amounts of labeled data and with integration of external language models.

Proposed method

  • Propose a new architecture (A2) that decouples the decoder subnet from the encoder output, allowing the decoder to function as an independent language model.
  • Modify the attention mechanism so that the context vector is computed from the encoder output and the current decoder hidden state, rather than conditioning the decoder on the context vector.
  • Introduce two training strategies: Strategy 1 pre-trains the decoder subnet on external text data before joint fine-tuning; Strategy 2 alternates between pre-training and joint fine-tuning with a weighted loss combining ASR and language modeling objectives.
  • Use a weighted loss function with hyperparameter α to balance the contribution of labeled ASR data and external text data during training.
  • Apply gradient clipping and AdaDelta optimization to stabilize training, especially during catastrophic forgetting mitigation.
  • Integrate an external RNN-LM during inference to evaluate the synergy between the independent LM and pre-trained external language models.

Experimental results

Research questions

  • RQ1Can decoupling the language model from the encoder output enable effective pre-training using only external text data in end-to-end ASR?
  • RQ2How does the proposed architecture compare to vanilla E2E ASR in terms of performance when only labeled data is used?
  • RQ3What training strategies best mitigate catastrophic forgetting while leveraging external text data for language model improvement?
  • RQ4Does the proposed architecture generalize across different amounts of labeled data?
  • RQ5Can the independent LM be further enhanced by integrating an external pre-trained language model?

Key findings

  • The proposed A2 architecture outperforms the vanilla A1 architecture by 1.8% relative character error rate (from 49.2% to 48.3%) and 4.3% relative word error rate (from 39.9% to 38.2%) on the HKUST and NSC datasets when trained only on labeled data.
  • Using external text data with Strategy 2 (pre-training followed by joint fine-tuning at α=0.7), the A2 model achieves 9.3% relative character error rate reduction on HKUST and 22.8% relative word error rate reduction on NSC.
  • The A2 architecture with Strategy 2 achieves the best performance across all settings, outperforming both A1 and A2 with Strategy 1 when external text is used.
  • The integration of an external RNN-LM further improves the A2-Strategy2-0.7 model by 0.2% absolute CER and 4.5% absolute WER on the NSC corpus with 20 hours of labeled data.
  • The proposed architecture generalizes well across different amounts of labeled data, showing consistent improvements on the NSC dataset from 20 to 60 hours of training data.
  • The method successfully mitigates catastrophic forgetting through careful training scheduling, enabling effective joint optimization after pre-training on external text.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.