TL;DR
This paper introduces two novel techniques to improve contextual speech recognition (ASR) systems, which aim to boost the accuracy of recognizing rare words and named entities. By injecting contextual information earlier in the neural network and augmenting training data with text perturbations, the authors achieve state-of-the-art performance on several benchmarks, significantly reducing rare word error rates.
What Problem Does This Paper Address?
Automatic Speech Recognition (ASR) systems, while impressive, often struggle with recognizing words that are infrequent in their training data, such as proper nouns, technical jargon, or specialized vocabulary. This limitation hinders their usefulness in real-world applications where such words are common. Traditional ASR models primarily rely on acoustic information, neglecting the rich contextual cues humans naturally use to disambiguate and understand speech.
Existing "contextual ASR" approaches attempt to bridge this gap by incorporating external information, often in the form of lists of biasing words. These methods can be broadly categorized into "shallow biasing" (where context is primarily used during decoding) and "deep biasing" (where context is integrated directly into the neural network's internal representations). While deep biasing shows promise, prior work often injects context only at the final stages of the model, potentially limiting its influence. Furthermore, ASR models can sometimes overfit their training data, making it difficult for them to effectively learn from contextual information, especially when the training data itself doesn't contain many instances of rare words needing correction. This paper aims to address these limitations by proposing more effective ways to inject context and train models to leverage it.
Methods
The paper proposes two key techniques to enhance neural biasing in contextual ASR:
- Early Context Injection: Instead of injecting contextual information only into the final layers of the encoder (as is common in many deep biasing approaches), this method injects context into earlier layers of the encoder. The intuition is that by influencing the model's internal representations at an earlier stage, the context can have a more profound and far-reaching impact on the subsequent processing of acoustic features. This is achieved by using cross-attention mechanisms to integrate contextual embeddings with intermediate encoder outputs. The authors note that while this might seem computationally expensive, they found the overhead to be negligible, especially for moderately sized biasing lists.
- Text Perturbation with Alternative Spellings: To combat model overfitting and encourage better utilization of contextual information during training, the authors propose perturbing the reference transcriptions. This involves replacing rare words with phonetically similar, alternative spellings. For example, "Klein" might be replaced with "Klane." This forces the ASR model to rely more heavily on the provided contextual biasing words to correctly predict the intended word, rather than simply memorizing common transcriptions. The authors used a set of hand-crafted linguistic rules for this perturbation.
Datasets
The paper utilizes the following datasets:
- LibriSpeech [33]: A widely used ASR corpus for training and evaluation.
- SPGISpeech [34]: A larger dataset containing financial audio, used for training and evaluation.
- ConEC [35]: A newly introduced real-world dataset comprising earnings calls and their associated supplementary materials (presentations, news releases, participant lists). This dataset is notable for using actual contextual information rather than synthesized contexts.
For training, artificial biasing lists were generated, defining rare words as those outside the top 5k/3k most frequent words for LibriSpeech/SPGISpeech, respectively. These lists also included distractors.
Key Insights and Ideas
- Early context matters: Injecting contextual information earlier in the encoder's processing pipeline significantly improves the model's ability to leverage that context, leading to better recognition of rare words. This suggests that context isn't just a final-stage correction but can fundamentally shape the acoustic representation.
- Perturbation as a training aid: Text perturbation, by introducing plausible misspellings of rare words, acts as a powerful data augmentation technique. It effectively forces the model to learn to rely on the provided context, preventing it from simply relying on the most common transcription.
- Balancing performance and overhead: The proposed early context injection, despite initial concerns about computational cost, was found to be efficient, with minimal runtime overhead for typical biasing list sizes.
- Real-world context is crucial: The evaluation on the ConEC dataset highlights the importance of using genuine, real-world contextual information, which often differs from synthesized contexts derived from ground truth.
Key Results
- LibriSpeech: The proposed techniques achieved a 60% relative reduction in rare word error rate (B-WER) compared to no biasing and a 25% reduction compared to shallow fusion. This resulted in new state-of-the-art performance on this benchmark.
- SPGISpeech and ConEC: The methods also demonstrated significant improvements over baselines on these datasets, including better recognition of named entities on ConEC.
- Runtime: The overhead for early context injection was found to be negligible, with decoding times only slightly increasing compared to non-contextual models.
Limitations and Future Work
- Sensitivity to Distractors: The paper notes that neural biasing can be sensitive to the number of distractors included in the biasing lists.
- Alternative Spelling Generation: While hand-crafted rules were used for text perturbation, the authors suggest that more advanced alternative spelling generators (e.g., grapheme-to-grapheme models) could further enhance their approach.
- Biasing List Size: For very large biasing lists, the authors suggest exploring methods to shorten them or applying light-weight algorithms.
- Future Directions: The authors propose exploring advanced alternative spelling generators, shortening biasing lists, and reducing the sensitivity of contextual ASR models to distractors as avenues for future research.
Summary updated