Procter: Pronunciation-Aware Contextual Adapter For Personalized Speech Recognition In Neural Transducers

Rahul Pandey, Roger Ren, Qi Luo, Jing Liu, Ariya Rastrow, Ankur Gandhe, Denis Filimonov, Grant P. Strimel, Andreas Stolcke, Ivan Bulyko

Abstract

End-to-end (E2E) speech recognition systems often struggle with "the long tail" of rare, personalized words such as unique names, local landmarks, or custom smart-home device names. This paper introduces PROCTER (PROnunciation-aware ConTextual adaptER), a lightweight adapter for Recurrent Neural Transducer (RNN-T) models. By integrating both textual (graphemic) and pronunciation (phonemic) information through an efficient attention mechanism, PROCTER significantly improves the recognition of personalized entities. Experimental results demonstrate a 57% Word Error Rate Reduction (WERR) on rare personalized entities with only a 1% increase in trainable parameters, while maintaining performance on general speech.

Introduction

Modern speech recognition systems, powered by neural transducers, have achieved remarkable accuracy on common vocabulary. However, they face significant hurdles when encountering personalized entities. These challenges are primarily driven by two factors: sparsity and ambiguity. Personalized words appear infrequently in training data, making it difficult for models to learn their representations. Furthermore, English orthography is often inconsistent; a name like "Jana" may be pronounced in multiple ways (e.g., "Yah-na" or "Jay-na"), creating a gap between the textual representation and the acoustic signal.

While existing "contextual biasing" methods provide the model with a list of relevant words (a "bias list"), they typically rely solely on graphemes. PROCTER addresses this by explicitly incorporating phonemic data, bridging the gap between how a word is written and how it sounds.

System Architecture

PROCTER is designed as an "adapter-style" component that plugs into a standard, pre-trained RNN-T architecture. During training, the massive base RNN-T model remains frozen, and only the small PROCTER components are optimized. This approach is highly efficient, adding only 1% to the total trainable parameters.

Dual-Encoder Mechanism

PROCTER utilizes two separate BiLSTM encoders to process the bias list:

  1. Grapheme Encoder: Processes the spelling of the entity.
  2. Phoneme Encoder: Processes the pronunciation retrieved from a lexicon.

By using both, the model can leverage textual context while relying on phonetic cues to resolve ambiguities. Unlike previous systems that might select a single "best" pronunciation, PROCTER supports multiple pronunciations for a single entity, allowing the attention mechanism to select the one that best matches the incoming audio.

Intermediate Layer Biasing

One of the key innovations in PROCTER is the use of intermediate layers from the audio encoder. Most adapters only interact with the final layer of the audio encoder, which often contains highly abstract representations. PROCTER instead uses a weighted sum of the last, third-to-last, and fifth-to-last layers. These earlier layers retain more "acoustic-phonetic" detail, which is essential for matching specific dictionary pronunciations to the audio signal.

Scaled Dot-Product Attention

The system uses an optimized attention mechanism to "query" the personalized entity list based on the current audio state. This process generates a "bias vector" that is integrated back into the audio representation, guiding the model toward the correct transcription of rare words.

Experimental Setup

The researchers evaluated PROCTER using large-scale, de-identified far-field datasets. The baseline RNN-T was trained on 114,000 hours of audio, while the PROCTER adapter was fine-tuned on a much smaller subset of approximately 290 hours.

Evaluation was conducted across three primary sets:

  • General Set: 16,000 utterances to monitor for regressions in standard speech recognition.
  • Personalized Entity Set: 29,000 utterances containing specific personalized entities.
  • Zero-Shot Device Names: 3,558 utterances involving custom smart-home device names (e.g., "turn on the kitchen-left-lamp") to test generalization to unseen domains.

Results and Discussion

PROCTER demonstrated substantial improvements over the baseline RNN-T and text-only adapters:

  • Personalized Entity Accuracy: The model achieved a 44% overall WERR on personalized entities. On the most difficult subset—rare entities appearing only once in the test set—the improvement reached 57% WERR.
  • Zero-Shot Generalization: In the device name test set, PROCTER achieved a 7% improvement. In contrast, a text-only adapter managed only a 1% improvement, highlighting the importance of phonemic information when the model encounters words outside its specific training domain.
  • Stability: Crucially, the model showed no performance degradation on general, non-personalized speech. This suggests that the adapter can be safely deployed without a "tax" on standard system performance.

Conclusion

PROCTER provides a highly efficient and effective solution for the personalized speech recognition problem. By tapping into intermediate acoustic layers and incorporating phonemic encoders, it allows E2E models to disambiguate rare words that look similar but sound different. Future work will focus on removing the dependency on a static lexicon by integrating neural Grapheme-to-Phoneme (G2P) models and exploring contextual biasing within the decoder component of the transducer.

Summary updated

BibTeX
@inproceedings{pandey2023procter,
  author = {Rahul Pandey and Roger Ren and Qi Luo and Jing Liu and Ariya Rastrow and Ankur Gandhe and Denis Filimonov and Grant P. Strimel and Andreas Stolcke and Ivan Bulyko},
  title = {{Procter: Pronunciation-Aware Contextual Adapter For Personalized Speech Recognition In Neural Transducers}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=kkvmAtBiVR},
}
Figure