Minimising Biasing Word Errors for Contextual ASR With the Tree-Constrained Pointer Generator

Guangzhi Sun, Chao Zhang, Philip C. Woodland

Introduction

Modern end-to-end (E2E) Automatic Speech Recognition (ASR) systems have reached impressive levels of accuracy on general language tasks. However, they frequently falter when encountering the "long tail" of speech: rare words, proper nouns, and domain-specific terminology. This failure is often attributed to the "internal language model" bias, where models trained on massive datasets naturally favor frequent words over acoustically similar but rare ones. For instance, a model might misinterpret a niche restaurant name like "Vignette" as a more common phonetic neighbor.

To address this, researchers have developed contextual biasing techniques that provide the model with a list of relevant terms at test time. However, integrating these lists efficiently without increasing latency or requiring extensive retraining remains a significant challenge. This paper introduces TCPGen (Tree-Constrained Pointer Generator), a lightweight neural-symbolic hybrid designed to bridge this gap.

The TCPGen Architecture

TCPGen functions as a specialized component that allows an ASR model to "spot" biasing words by organizing them into a symbolic prefix tree (trie) of wordpieces. Unlike flat biasing lists, the prefix tree structure ensures that at each decoding step, the model only considers valid continuations of the current word prefix.

The TCPGen architecture organizes biasing words into a symbolic prefix tree, using an attention mechanism to focus on relevant branches.

This architecture creates a "neural shortcut" via a pointer generator. It calculates a generation probability that allows the system to interpolate between the standard model output and the biasing list. This mechanism enables the model to handle thousands of biasing words with negligible computational overhead, as it only "attends" to the subset of words that are valid given the current context.

Specialized Training and Inference

Beyond the architecture, the authors propose two additional methods to refine performance:

  1. Minimum Biasing Word Error (MBWE) Training: Standard training objectives minimize overall Word Error Rate (WER). MBWE is a specialized loss function that specifically penalizes the model more heavily when it fails to correctly identify a word present in the biasing list. This "forces" the model to rely more on the TCPGen component during training.
  2. Biasing-word-driven Language Model Discounting (BLMD): To combat the stubborn internal bias toward common words during inference, BLMD mathematically discounts the model's internal preferences when TCPGen indicates a high likelihood of a contextual match.
Training and Dev set WER performance across epochs, demonstrating the impact of different MBWE loss weights (μ).

Key Results and Insights

The researchers evaluated TCPGen on the LibriSpeech corpus and the Dialogue State Tracking Challenge (DSTC) dataset. The results demonstrate a significant leap in contextual ASR performance:

  • Rare Word Accuracy: TCPGen achieved a 40% relative reduction in Rare-Word Error Rate (R-WER) compared to baseline models.
  • Zero-Shot Learning: Perhaps most impressively, the system showed a remarkable ability to recognize Out-of-Vocabulary (OOV) words—terms never seen during audio training. For these words, error rates dropped from approximately 75-78% to 37-41% when included in the biasing list.
  • Robustness: The method proved effective across different ASR architectures, including Attention-based Encoder-Decoders (AED) and Recurrent Neural Network Transducers (RNN-T).

Conclusion

TCPGen represents a powerful hybrid approach to ASR, combining the flexibility of neural networks with the efficiency of symbolic constraints. By utilizing prefix trees and specialized training losses like MBWE, the system significantly mitigates the internal bias of E2E models, making them far more reliable for real-world applications involving rare or domain-specific vocabulary. Future work may focus on scaling these techniques to even larger dynamic biasing sources and optimizing them for low-latency streaming environments.

Summary updated

BibTeX
@article{sun2023minimising,
  author = {Guangzhi Sun and Chao Zhang and Philip C. Woodland},
  title = {{Minimising Biasing Word Errors for Contextual ASR With the Tree-Constrained Pointer Generator}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2023},
  doi = {10.1109/taslp.2022.3224286},
}
Figure