Skip to main content
QUICK REVIEW

[Paper Review] "What's The Context?" : Long Context NLM Adaptation for ASR Rescoring in Conversational Agents.

Ashish Shenoy, Sravan Bodapati|arXiv (Cornell University)|Apr 21, 2021
Topic ModelingComputer Science2 citations
TL;DR

This paper proposes context-aware neural language models (NLMs) for automatic speech recognition (ASR) rescoring in task-oriented dialogues by integrating multi-turn dialogue history using LSTM and Transformer-XL architectures. It enhances performance via attention over lexical metadata, feature-based augmentation with dialogue acts, and fusion with pre-trained masked language model encodings, achieving relative WER reductions of 1.6–9.1% and a 4% F1 improvement in slot labeling over non-contextual baselines.

ABSTRACT

Neural Language Models (NLM), when trained and evaluated with context spanning multiple utterances, have been shown to consistently outperform both conventional n-gram language models and NLMs that use limited context. In this paper, we investigate various techniques to incorporate turn based context history into both recurrent (LSTM) and Transformer-XL based NLMs. For recurrent based NLMs, we explore context carry over mechanism and feature based augmentation, where we incorporate other forms of contextual information such as bot response and system dialogue acts as classified by a Natural Language Understanding (NLU) model. To mitigate the sharp nearby, fuzzy far away problem with contextual NLM, we propose the use of attention layer over lexical metadata to improve feature based augmentation. Additionally, we adapt our contextual NLM towards user provided on-the-fly speech patterns by leveraging encodings from a large pre-trained masked language model and performing fusion with a Transformer-XL based NLM. We test our proposed models using N-best rescoring of ASR hypotheses of task-oriented dialogues and also evaluate on downstream NLU tasks such as intent classification and slot labeling. The best performing model shows a relative WER between 1.6% and 9.1% and a slot labeling F1 score improvement of 4% over non-contextual baselines.

Motivation & Objective

  • To improve ASR rescoring in task-oriented dialogues by leveraging long-context neural language models that incorporate multi-turn dialogue history.
  • To address the 'sharp nearby, fuzzy far away' problem in contextual NLMs by introducing attention over lexical metadata for better context weighting.
  • To enhance feature-based augmentation by integrating structured dialogue information such as bot responses and system dialogue acts from an NLU model.
  • To adapt contextual NLMs to user-specific speech patterns by fusing representations from a pre-trained masked language model with a Transformer-XL-based NLM.
  • To evaluate the proposed models not only on ASR metrics but also on downstream NLU tasks like intent classification and slot labeling.

Proposed method

  • Adapts recurrent (LSTM) and Transformer-XL-based NLMs to process context spanning multiple dialogue turns, enabling long-range dependency modeling.
  • Introduces an attention mechanism over lexical metadata (e.g., dialogue acts, system responses) to dynamically weight contextual features and mitigate the 'fuzzy far away' issue.
  • Augments NLM inputs with embeddings from a pre-trained masked language model (e.g., BERT) to capture user-specific speech patterns and improve robustness.
  • Performs late fusion between the pre-trained masked language model encodings and the Transformer-XL NLM to enhance context representation without retraining the base NLM.
  • Uses N-best ASR hypothesis rescoring to evaluate model performance, with decoding guided by the contextual NLM scores.
  • Evaluates the final model on both ASR (WER) and downstream NLU tasks (intent classification, slot labeling) to validate generalization.

Experimental results

Research questions

  • RQ1Can integrating multi-turn dialogue context into NLMs significantly reduce ASR word error rate (WER) in task-oriented dialogues?
  • RQ2How does attention over lexical metadata improve the modeling of long-context dependencies in NLMs compared to standard context aggregation?
  • RQ3To what extent does feature-based augmentation with dialogue acts and bot responses enhance NLM performance in ASR rescoring?
  • RQ4Can fusion with pre-trained masked language model encodings improve robustness to user-specific speech patterns in end-to-end ASR systems?
  • RQ5Does the proposed contextual NLM architecture yield consistent improvements across both ASR and downstream NLU tasks?

Key findings

  • The best-performing model achieves a relative word error rate (WER) reduction of 1.6% to 9.1% compared to non-contextual baselines in ASR rescoring.
  • The model improves slot labeling F1 score by 4 percentage points over non-contextual NLM baselines, demonstrating enhanced understanding of dialogue semantics.
  • Attention over lexical metadata significantly mitigates the 'fuzzy far away' problem, leading to more accurate context weighting in long-turn dialogues.
  • Feature-based augmentation with dialogue acts and bot responses contributes to improved NLM performance, especially in complex, multi-turn interactions.
  • Fusion with pre-trained masked language model encodings enhances robustness to user-specific speech patterns, particularly in low-resource or out-of-domain settings.
  • The proposed contextual NLMs deliver consistent gains across both ASR and downstream NLU tasks, validating their generalization capability in conversational AI systems.

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.