Skip to main content
QUICK REVIEW

[Paper Review] Class LM and word mapping for contextual biasing in End-to-End ASR

Rongqing Huang, Ossama Abdel‐Hamid|arXiv (Cornell University)|Jul 10, 2020
Speech Recognition and SynthesisComputer Science24 references7 citations
TL;DR

This paper proposes a two-pronged approach to improve end-to-end ASR for rare and user-specific named entities: (1) injecting context-aware finite-state transducers (FSTs) during beam search with score normalization to reduce WER by 57%, and (2) mapping rare words to more common pronunciations via a G2P model, reducing WER by an additional 31%. The method achieves 70.6% overall WER reduction on named entity utterances with minimal impact on regular speech.

ABSTRACT

In recent years, all-neural, end-to-end (E2E) ASR systems gained rapid interest in the speech recognition community. They convert speech input to text units in a single trainable Neural Network model. In ASR, many utterances contain rich named entities. Such named entities may be user or location specific and they are not seen during training. A single model makes it inflexible to utilize dynamic contextual information during inference. In this paper, we propose to train a context aware E2E model and allow the beam search to traverse into the context FST during inference. We also propose a simple method to adjust the cost discrepancy between the context FST and the base model. This algorithm is able to reduce the named entity utterance WER by 57% with little accuracy degradation on regular utterances. Although an E2E model does not need pronunciation dictionary, it's interesting to make use of existing pronunciation knowledge to improve accuracy. In this paper, we propose an algorithm to map the rare entity words to common words via pronunciation and treat the mapped words as an alternative form to the original word during recognition. This algorithm further reduces the WER on the named entity utterances by another 31%.

Motivation & Objective

  • To address the poor performance of end-to-end ASR models on rare, user-specific named entities such as contacts and app names.
  • To enable dynamic contextual biasing in E2E ASR during inference, despite the model's lack of explicit language model or pronunciation dictionary.
  • To reduce the cost discrepancy between the base model and contextual FST paths to improve beam search accuracy.
  • To improve recognition of out-of-vocabulary (OOV) words by mapping them to more common pronunciations using existing lexicons.
  • To maintain high accuracy on regular, non-named-entity utterances while boosting performance on challenging personal content.

Proposed method

  • The authors train a LAS-MOCHA model with BPE tokenization and inject class language model (Class LM) tags (e.g., @contact# and #contact@) into transcriptions during training to mark named entity boundaries.
  • During inference, a weighted finite-state transducer (WFST) is constructed from user-specific context lists and integrated into the beam search, allowing the model to traverse into the context FST.
  • A score normalization technique is applied to balance the log-probability scores between paths in the base model and those in the contextual FST, using scaling factors λc and λb.
  • For rare words, a bi-LSTM-based grapheme-to-phoneme (G2P) model generates pronunciations, and words are mapped to more common phonetic forms to improve recognition likelihood.
  • The mapped word sequences are used to construct an alternative FST path, which is combined with the original context FST to enhance robustness.
  • The method is evaluated using WER on named entity and regular utterance sets, with ablation studies on normalization and word mapping.

Experimental results

Research questions

  • RQ1Can injecting user-specific context FSTs during beam search significantly reduce WER on named entity utterances in end-to-end ASR?
  • RQ2Does score normalization between the base model and contextual FST paths improve recognition accuracy without degrading performance on regular utterances?
  • RQ3Can pronunciation-based word mapping reduce WER on rare or OOV named entities by transforming them into more common, recognizable forms?
  • RQ4What is the combined effect of contextual FST injection and word mapping on overall WER reduction, particularly on challenging named entity inputs?
  • RQ5How does the method perform across utterances with varying numbers of named entities?

Key findings

  • The use of context FSTs with score normalization reduced WER on named entity utterances from 18.1% to 9.0%, representing a 50% relative reduction and a 57% relative WER improvement.
  • The addition of pronunciation-based word mapping reduced WER on the same set from 6.5% (with original FST) to 4.5%, achieving a 31% relative reduction over the FST-only baseline.
  • The overall WER reduction on named entity utterances reached 70.6% when combining both techniques compared to the no-FST baseline.
  • The method caused only a minimal 0.1% increase in WER on regular utterances (from 8.4% to 8.5%), indicating strong robustness on non-target inputs.
  • The WER reduction was consistent across utterances with different numbers of bias phrases, as shown in Fig. 1, indicating broad applicability.
  • Sample cases in Table 4 confirmed that rare words like 'Yvanna' and 'Vandendriessche' were correctly recognized after word mapping, with the model producing correct transcriptions such as 'ivana' and 'vandendraci'.

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.