Skip to main content
QUICK REVIEW

[Paper Review] Language model fusion for streaming end to end speech recognition

Rodrigo Cabrera, Xiaofeng Liu|arXiv (Cornell University)|Apr 9, 2021
Speech Recognition and SynthesisComputer Science15 references8 citations
TL;DR

This paper proposes novel language model fusion techniques—extending shallow and cold fusion, and introducing early fusion variants—for streaming end-to-end speech recognition using Recurrent Neural Network Transducers (RNNT). It demonstrates that cold fusion significantly improves streaming RNNT performance, achieving up to 8.5% relative WER reduction by integrating unpaired text data via a pre-trained language model, especially benefiting low-resource and long-tail linguistic phenomena.

ABSTRACT

Streaming processing of speech audio is required for many contemporary practical speech recognition tasks. Even with the large corpora of manually transcribed speech data available today, it is impossible for such corpora to cover adequately the long tail of linguistic content that's important for tasks such as open-ended dictation and voice search. We seek to address both the streaming and the tail recognition challenges by using a language model (LM) trained on unpaired text data to enhance the end-to-end (E2E) model. We extend shallow fusion and cold fusion approaches to streaming Recurrent Neural Network Transducer (RNNT), and also propose two new competitive fusion approaches that further enhance the RNNT architecture. Our results on multiple languages with varying training set sizes show that these fusion methods improve streaming RNNT performance through introducing extra linguistic features. Cold fusion works consistently better on streaming RNNT with up to a 8.5% WER improvement.

Motivation & Objective

  • To address the challenge of recognizing rare or out-of-vocabulary linguistic phenomena (e.g., proper nouns, numerics) in streaming end-to-end ASR systems.
  • To extend language model fusion techniques—originally developed for non-streaming models—into the streaming RNNT setting.
  • To investigate whether fusion gains observed in non-streaming attention-based models (e.g., LAS) can be replicated in streaming RNNT models.
  • To evaluate the impact of fusion placement (before or after the joint network) and model capacity on performance across multiple low- and medium-resource languages.

Proposed method

  • Applies shallow fusion by combining RNNT and language model scores during inference using a weighted sum of log-probabilities.
  • Implements cold fusion by jointly fine-tuning the RNNT and language model with a shared loss, enabling parameter co-adaptation.
  • Introduces early shallow fusion and early cold fusion, where the language model is fused before the joint network to allow earlier integration of linguistic context.
  • Defines the language model’s probability for the blank symbol as equal to the RNNT’s blank probability during fusion to maintain consistency in the transduction process.
  • Uses RNN-based language models trained exclusively on unpaired text data to provide linguistic priors without requiring paired speech-text data.
  • Employs wordpiece tokenization and optimizes blank penalty during decoding to improve alignment and output quality.

Experimental results

Research questions

  • RQ1Can language model fusion techniques developed for non-streaming ASR models be effectively adapted to streaming RNNT architectures?
  • RQ2Does cold fusion outperform shallow fusion in streaming RNNT settings, especially in low-resource scenarios?
  • RQ3How does the placement of fusion (before or after the joint network) affect recognition performance and model flexibility?
  • RQ4To what extent does the size of the training data influence the effectiveness of language model fusion in streaming RNNT systems?
  • RQ5Can fusion with unpaired text data improve recognition of rare or long-tail linguistic phenomena such as proper nouns and numerics in streaming ASR?

Key findings

  • Cold fusion achieved up to 8.5% relative WER reduction on Norwegian, significantly outperforming shallow fusion and baseline models.
  • Cold fusion consistently improved performance across all three languages tested (Norwegian, Greek, Sinhala), while shallow fusion showed no improvement on Greek and Sinhala.
  • The largest WER gains from cold fusion occurred in low-resource settings (e.g., Norwegian), suggesting that fusion is most effective when the ASR model is data-constrained.
  • Early fusion variants (early shallow and early cold fusion) achieved comparable performance to standard fusion, indicating that the fusion point can be flexibly placed before or after the joint network.
  • Example analysis showed that cold fusion correctly recognized out-of-vocabulary terms like 'Range Rover' and 'Andrianopolis' that were absent in the training data but present in the LM’s text corpus.
  • The performance gap between models was attributed to data scarcity in low-resource languages, as Sinhala showed minimal gains due to overfitting and domain mismatch in the LM.

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.