TL;DR
This paper tackles the challenge of rare word recognition in neural transducer ASR models by proposing several enhancements to trie-based contextual biasing. They introduce adapter training, a projection layer, and selective biasing to significantly reduce over-biasing on common words while maintaining or improving recognition of rare entities, achieving performance on par with more computationally expensive methods.
What Problem Does This Paper Address?
Modern Automatic Speech Recognition (ASR) systems, particularly those based on neural transducers like RNN-T, achieve impressive accuracy on common words. However, they struggle with recognizing words that appear infrequently in the training data. This is a critical issue for personalized applications like voice assistants, which often need to recognize dynamic content such as contact names, song titles, or playlist names – entities that are inherently rare. Contextual biasing (CB) methods aim to dynamically adapt the ASR model's output to favor a given list of relevant words or phrases. While effective for rare word recognition, existing CB methods can lead to a degradation in accuracy for common words, a problem known as "over-biasing." This paper seeks to mitigate this over-biasing problem while preserving or enhancing the benefits of contextual biasing for rare entities.
Methods
The authors build upon a recently proposed trie-based contextual biasing method. Their key contributions and proposed extensions include:
- Adapter Training: Instead of retraining the entire model, they freeze the baseline ASR model and train only the contextual biasing components as "adapters." This approach is expected to preserve the performance of the original model and reduce the number of trainable parameters.
- Projection Layer: A fully-connected layer with a Swish activation is added after the biasing function. This layer decouples the embedding dimension from the prediction network's hidden state dimension, allowing for potentially smaller embeddings and a non-linear transformation that aids convergence during adapter training.
- Normalized Embeddings: To control the magnitude of the biasing vector, which can grow proportionally to the number of biasing terms, they propose normalizing the summation of embeddings. This is inspired by attention-based methods that use weighted averages.
- Continuation-Only Biasing: They investigate removing the "starts" component of the trie-based biasing, hypothesizing that this constant biasing factor might contribute to over-biasing.
- Selective Biasing (Slot-Triggered): This is a core innovation. The neural transducer is trained to emit special opening and closing tags around words or phrases that should be biased. The contextual biasing adapter is then only activated after an opening tag is detected and deactivated upon encountering a closing tag. This effectively disables biasing when it's not explicitly needed.
- Reduced Embedding Footprint: They explore sharing embeddings with the prediction network's input layer and reducing the embedding dimensionality to decrease memory usage.
Datasets
The experiments were conducted using an in-house American English voice assistant dataset. This dataset comprises audio, transcriptions, and lists of contextual entities. For training, the data was split into "contextual" and "non-contextual" partitions to ensure a balanced representation of biasing-relevant utterances.
For evaluation, two datasets were used:
- A general dataset (35k utterances) to measure performance on everyday speech.
- A named entity (NE) dataset (28k utterances) specifically from the Communication domain, containing entities present in associated biasing catalogs, to measure performance on rare entities.
Key Insights and Ideas
- Over-biasing is a significant problem: The paper clearly demonstrates that while contextual biasing helps rare words, it can actively harm common word recognition.
- Adapter training is effective for personalization: Freezing the main ASR model and training biasing components as adapters is a viable strategy for efficient personalization without compromising the base model.
- Normalization is crucial for large catalogs: Controlling the magnitude of biasing vectors, especially with large lists of entities, is key to preventing degradation on general content.
- Selective biasing is a game-changer for over-biasing: Training the model to explicitly signal when biasing is needed (via slot-triggered tags) is highly effective at preventing unnecessary biasing and thus eliminating over-biasing on common words.
- Trie-based methods can be memory-efficient: By reducing embedding dimensions and sharing parameters, trie-based approaches can become significantly more memory-efficient than attention-based methods.
Key Results
- The proposed trie-based contextual biasing with adapter training, normalization, and selective biasing (specifically ID14 in Table 1) practically eliminates over-biasing on general utterances, achieving a relative Word Error Rate (WERR) of -0.2% compared to the baseline.
- This approach also improves rare word recognition, achieving a relative Slot Word Error Rate (WERR-S) of 40.5% on named entities.
- The selective biasing method (ID13) alone reduced general data degradation to as low as 0.2% WERR.
- The normalized embeddings (ID5) significantly improved WERR-S on named entities from 27.1% to 38.8%.
- Reduced embedding dimensions and shared embeddings led to models with significantly fewer trainable parameters (e.g., 40k parameters in ID11, 200x fewer than the baseline) while maintaining good performance.
- The final proposed trie-based system performs on par with a more computationally expensive attention-based contextual biasing method, but is more memory-efficient and invariant to catalogue size degradation.
Limitations and Future Work
- Memory constraints for attention-based methods: The paper notes that the attention-based approach is more memory-hungry, requiring smaller catalog sizes during training (300 vs. 2500 for trie-based).
- Minor degradation from continuation-only biasing: While beneficial for general data, removing "starts" embeddings led to a minor degradation in WER-S, suggesting that some rare entities might still benefit from start-biased recognition.
- Future work: The authors suggest exploring entity priors (e.g., frequency of played song titles) to further exploit the normalization approach. They also implicitly point towards the effectiveness of their selective biasing approach as a promising direction for future research in personalized ASR.
Summary updated