A Likelihood Ratio based Domain Adaptation Method for E2E Models

Chhavi Choudhury, Ankur Gandhe, Xiaohan Ding, Ivan Bulyko

Introduction

End-to-End (E2E) Automatic Speech Recognition (ASR) models, particularly Recurrent Neural Network Transducers (RNN-T), have become the standard for voice assistants due to their ability to jointly optimize acoustics, pronunciation, and language modeling. However, their monolithic architecture presents a significant challenge: domain mismatch. These models often struggle to recognize niche entities or rapidly evolving vocabulary (e.g., new song titles or app names) because they are heavily biased toward the distribution of their training data. Traditional adaptation methods often require expensive paired audio-text data, which is not always feasible for fast-moving domains.

Methodology: Likelihood Ratio Based Boosting

To address this, researchers have developed a lightweight, non-stochastic "boosting" method that surgically biases the E2E model toward out-of-domain (OOD) entities during the first pass of decoding. The core of this approach is the Likelihood Ratio (LLR).

The LLR Framework

We construct two n-gram statistical language models: a "General" model ($P_{GEN}$) representing the RNN-T's training distribution, and an "Out-of-Domain" model ($P_{OOD}$) containing the target entities. For any n-gram $G$, the LLR is defined as:

$$LLR(G) = \log(p_{OOD}(G)) - \log(p_{GEN}(G))$$

A high positive LLR indicates that a phrase is significantly more likely in the new domain than in the general training data. To prevent over-boosting common functional words (e.g., "the", "play"), a threshold $T$ is applied. Only n-grams exceeding this threshold are included in a sparse "boosting" model, which is then integrated into the RNN-T's decoding process via shallow fusion.

Example of LLR calculation and selective boosting for OOD vs. general utterances.

Two-Pass Synergy

This first-pass biasing is designed to work in tandem with a second-pass Neural Language Model (NLM) rescorer. By improving the quality of the n-best candidate list in the first pass—essentially improving the "Oracle WER"—the second-pass rescorer has a much higher probability of selecting the correct rare entity.

Experimental Setup

The method was evaluated using over 200,000 hours of de-identified Alexa interactions for training. Testing focused on entity-heavy domains: ArtistName, AlbumName, SongName, and ItemName. The evaluation utilized synthetic audio generated via text-to-speech for specific carrier phrases and a "Control Testset" of 160k general utterances to monitor for regressions in general performance.

Results and Discussion

The proposed method demonstrated significant improvements in Word Error Rate (WER) across all target domains without compromising general traffic performance.

Word Error Rate Reduction (WERR) across different test sets and model configurations.

Key Findings

  • Surgical Precision: The LLR-based approach effectively targets "surprising" n-grams, achieving a ~10% relative improvement in 1-best WER.
  • Complementary Gains: As shown in the results table, combining first-pass boosting with second-pass NLM rescoring yields the best performance, with relative WERR reaching between 15% and 21%. This confirms that biasing the first pass provides a better pool of candidates for the second pass to exploit.
  • Safety and Scalability: The control testset showed negligible degradation (ranging from -0.2% to 0.5%), indicating the model does not "hallucinate" OOD words into general requests. The sparse nature of the boosting model also ensures computational efficiency and scalability across hundreds of small domains.

Conclusion

This likelihood ratio-based domain adaptation method provides a robust and scalable solution for improving E2E ASR performance on rare and out-of-domain entities. By focusing on the "delta" between general and specific distributions, the approach achieves significant accuracy gains with minimal impact on general-purpose recognition. Future work will explore the sensitivity of hyperparameters such as the threshold $T$ and boosting weight $\lambda$, and extend this framework to other E2E architectures like Attention Encoder-Decoders.

Summary updated

BibTeX
@inproceedings{choudhury2022likelihood,
  author = {Chhavi Choudhury and Ankur Gandhe and Xiaohan Ding and Ivan Bulyko},
  title = {{A Likelihood Ratio based Domain Adaptation Method for E2E Models}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp43922.2022.9746480},
}
Figure