Skip to main content
QUICK REVIEW

[Paper Review] Deep context: end-to-end contextual speech recognition

Golan Pundak, Tara N. Sainath|arXiv (Cornell University)|Aug 7, 2018
Speech Recognition and SynthesisComputer Science19 references9 citations
TL;DR

This paper proposes Contextual-LAS (CLAS), an end-to-end neural ASR model that jointly optimizes speech recognition with learned embeddings of contextual phrases, enabling dynamic, context-aware transcription without external rescoring. CLAS outperforms traditional shallow-fusion methods by up to 68% relative WER reduction on OOV-heavy datasets, while supporting out-of-vocabulary terms and eliminating the need for hyperparameter tuning.

ABSTRACT

In automatic speech recognition (ASR) what a user says depends on the particular context she is in. Typically, this context is represented as a set of word n-grams. In this work, we present a novel, all-neural, end-to-end (E2E) ASR sys- tem that utilizes such context. Our approach, which we re- fer to as Contextual Listen, Attend and Spell (CLAS) jointly- optimizes the ASR components along with embeddings of the context n-grams. During inference, the CLAS system can be presented with context phrases which might contain out-of- vocabulary (OOV) terms not seen during training. We com- pare our proposed system to a more traditional contextualiza- tion approach, which performs shallow-fusion between inde- pendently trained LAS and contextual n-gram models during beam search. Across a number of tasks, we find that the pro- posed CLAS system outperforms the baseline method by as much as 68% relative WER, indicating the advantage of joint optimization over individually trained components. Index Terms: speech recognition, sequence-to-sequence models, listen attend and spell, LAS, attention, embedded speech recognition.

Motivation & Objective

  • To address the limitation of traditional ASR systems that rely on separately trained language models and external rescoring for context integration.
  • To develop an end-to-end, all-neural framework that jointly optimizes acoustic, language, and contextual components for better performance.
  • To enable effective recognition of out-of-vocabulary (OOV) terms in context-aware speech recognition without requiring prior knowledge of context phrases during training.
  • To overcome scalability issues in handling large numbers of context phrases, which degrade performance in standard attention-based context modeling.

Proposed method

  • CLAS extends the Listen, Attend and Spell (LAS) architecture by introducing a context encoder that embeds input context phrases into fixed-dimensional vectors using a shared embedding layer.
  • Contextual embeddings are processed via an attention mechanism that attends over the context representations at each decoding step, dynamically modulating the decoder's predictions.
  • The model is trained end-to-end with a joint objective that optimizes both ASR and context modeling, allowing the system to learn context-dependent representations without external rescoring.
  • For scalability, the paper introduces bias-conditioning, where context phrases are split into prefixes and suffixes, reducing the number of unique context segments and minimizing embedding correlation.
  • The method supports variable-length context phrases during inference and can handle OOV terms by learning their representations from subword units.
  • The system avoids the need for manual tuning of rescoring weights by integrating context directly into the model's attention mechanism.

Experimental results

Research questions

  • RQ1Can an end-to-end neural model jointly optimize speech recognition and context-aware language modeling more effectively than traditional shallow-fusion approaches?
  • RQ2How does the performance of a jointly trained context-aware ASR model scale with increasing numbers of context phrases, especially when OOV terms are present?
  • RQ3What are the limitations of attention-based context modeling when the number of context phrases grows large, and how can they be mitigated?
  • RQ4Can bias-conditioning techniques improve the scalability of context-aware ASR models without sacrificing accuracy?

Key findings

  • CLAS outperforms the traditional LAS + OTF rescoring baseline by up to 68% relative WER reduction on the Songs and Contacts test sets, which contain high OOV rates.
  • On the Songs test set, CLAS achieves a WER of 6.9% compared to 9.4% for LAS + OTF rescoring, demonstrating significant gains in OOV-heavy scenarios.
  • On the Talk-To set with thousands of context phrases, standard CLAS degrades due to high correlation between context embeddings, resulting in a WER of 14%.
  • Bias-conditioning reduces the number of unique context segments from 3,255 to 225 while increasing the total number of phrase segments by only 10%, significantly improving scalability.
  • Combining bias-conditioning with OTF rescoring reduces the WER on the Talk-To set to 5.6%, outperforming both standalone CLAS and LAS + OTF baselines.
  • The ablation study confirms that both bias-conditioning and OTF rescoring independently improve CLAS performance, with the strongest gains when used together.

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.