Multi-Task Language Modeling for Improving Speech Recognition of Rare Words

Chao-Han Huck Yang, Linda Liu, Ankur Gandhe, Yile Gu, Anirudh Raju, Denis Filimonov, Ivan Bulyko

Introduction

End-to-end (E2E) automatic speech recognition (ASR) systems, such as the RNN-Transducer (RNN-T), have become industry standards due to their streamlined architectures and strong average performance. However, these systems often struggle with the "long-tail" problem: they frequently misidentify rare words, including specific names, technical jargon, or niche brands. While older hybrid systems leveraged external lexicons to mitigate this, modern E2E systems typically rely on a second-pass rescoring step where a larger language model (LM) re-evaluates the top hypotheses from the first pass.

Standard rescoring LMs focus primarily on word sequence probabilities. This paper proposes a novel approach that incorporates semantic intent to better disambiguate rare words in context. By teaching a language model to "understand" meaning while it learns to predict text, researchers from Amazon and Georgia Tech have significantly improved ASR performance for rare utterances.

Methodology: Multi-Task Language Modeling

The core innovation is the Multi-Task Language Model (mtLM) designed for second-pass rescoring. Unlike traditional LMs, the mtLM is trained to perform three tasks simultaneously:

  1. Language Modeling (LM): Predicting the next word in a sequence.
  2. Intent Detection (ID): Classifying the overall goal of the utterance (e.g., PlayMusicIntent).
  3. Slot Filling (SF): Labeling specific entities within the sentence (e.g., identifying "The Beatles" as an artist).
The ASR-LM system architecture, showing the integration of the RNN-T first pass with the Multi-Task LM (mtLM) second-pass rescoring.

Technical Implementation

The model utilizes shared LSTM layers to extract features, which are then fed into task-specific "heads." This architecture forces the shared layers to develop semantically rich representations. To balance the three distinct loss functions, the authors employed the Randomized Weighted Majority Algorithm (RWMA), which dynamically adjusts task weights during training to prevent any single objective from dominating the learning process.

Furthermore, for the Natural Language Understanding (NLU) tasks (ID and SF), the authors implemented a projected-attention mechanism. This allows the model to focus on the most relevant parts of the hidden state sequence, providing a more robust signal for the ASR rescoring process.

Experimental Results

The study evaluated the mtLM using a massive dataset, including ~23,000 hours of audio for the first-pass RNN-T and ~11,000 hours of NLU-annotated text. The results demonstrate that semantic constraints effectively improve phonetic recognition; for instance, knowing an utterance belongs to the "Music" domain helps the model correctly identify a rare artist's name rather than a common, phonetically similar word.

Comparison of normalized perplexity (PPL) and Word Error Rate Reduction (WERR) across different LM models and test sets.

As shown in the results table, the multi-task approach consistently outperformed single-task baselines. Key highlights include:

  • Perplexity Reduction: The mtLM reduced normalized perplexity from 1.0 to 0.982 on general data.
  • General WERR: On standard test sets, the mtLM provided a 1.4% relative improvement over a standard rescoring LM.
  • Rare Word Performance: The most significant gains were seen in the "long-tail" distribution. The best mtLM configuration achieved a 4.6% relative WER reduction on rare words compared to a standard RNN-T system without rescoring.

Conclusion and Future Directions

This research demonstrates that NLU signals can serve as a powerful training signal for ASR, rather than just being a downstream consumer of ASR output. While the method currently relies on high-quality NLU annotations and introduces some computational overhead during inference, it provides a clear path forward for making voice assistants more robust to rare vocabulary. Future work may involve moving beyond rescoring to directly bias the first-pass decoder using NLU predictions or scaling training data through automated "teacher" models.

Summary updated

BibTeX
@inproceedings{yang2020multi,
  author = {Chao-Han Huck Yang and Linda Liu and Ankur Gandhe and Yile Gu and Anirudh Raju and Denis Filimonov and Ivan Bulyko},
  title = {{Multi-Task Language Modeling for Improving Speech Recognition of Rare Words}},
  booktitle = {ASRU},
  year = {2020},
  doi = {10.1109/asru51503.2021.9688282},
}
Figure