Attention-based Contextual Language Model Adaptation for Speech Recognition

Richard Diehl Martinez, Scott Novotney, Ivan Bulyko, Ariya Rastrow, Andreas Stolcke +1 more
6/2/2021
cs.CLcs.AI

Official code: amazon-science/contextual-attention-nlm (14 stars, Python, last commit 2023-07-25).

Abstract

Language modeling (LM) for automatic speech recognition (ASR) does not usually incorporate utterance level contextual information. For some domains like voice assistants, however, additional context, such as the time at which an utterance was spoken, provides a rich input signal.

Show full abstract

We introduce an attention mechanism for training neural speech recognition language models on both text and non-linguistic contextual data. When applied to a large de-identified dataset of utterances collected by a popular voice assistant platform, our method reduces perplexity by 7.0% relative over a standard LM that does not incorporate contextual information. When evaluated on utterances extracted from the long tail of the dataset, our method improves perplexity by 9.0% relative over a standard LM and by over 2.8% relative when compared to a state-of-the-art model for contextual LM.

View on arXivView PDF

Code Implementations(1)

Accompanying code for paper "Attention-Based Contextual Language Model Adaptation for Speech Recognition", submitted to ACL 2021.

144PythonMay 21, 20213 years agoNOASSERTION

Similar Papers

Cite this paper

@article{martinez2021attentionbased,
  title  = {Attention-based Contextual Language Model Adaptation for Speech Recognition},
  author = {Richard Diehl Martinez and Scott Novotney and Ivan Bulyko and Ariya Rastrow and Andreas Stolcke and Ankur Gandhe},
  year   = {2021},
  eprint = {2106.01451},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.01451}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.01451.svg)](https://codeofpaper.com/paper/2106.01451)

Discussion