Abstract
Hybrid Autoregressive Transducer (HAT) models offer a promising path for integrating external language models into end-to-end speech recognition by disentangling blank and label probabilities. However, these models can be sensitive to decoding hyperparameters when trained with standard Negative Log-Likelihood (NLL) loss. This paper explores the application of Minimum Word Error Rate (MWER) training to HAT. We demonstrate that MWER training not only improves overall accuracy but also significantly enhances robustness to decoding beam size and length normalization, facilitating more efficient and reliable inference.
Introduction
End-to-end (E2E) speech recognition models, such as the RNN-Transducer (RNN-T), have become standard for streaming applications. However, their integrated nature often makes them "black boxes," complicating the process of swapping language models (LMs) or adapting to specific domains. The Hybrid Autoregressive Transducer (HAT) was proposed to address this by disentangling label and blank probabilities, allowing for the estimation of an "internal LM" score. Despite this structural advantage, HAT models trained with standard Negative Log-Likelihood (NLL) can be highly sensitive to inference-time hyperparameters, particularly length normalization.
Methodology
This research combines the architectural benefits of HAT with the performance optimization of MWER training:
- HAT Architecture: Unlike RNN-T, HAT uses a Bernoulli distribution to predict blank symbols and a separate Softmax for labels, enabling clear internal LM estimation.
- MWER Training: Instead of maximizing the probability of the ground truth (NLL), MWER minimizes the expected word-level edit distance across an N-best list of hypotheses generated during training. This aligns the training objective directly with the evaluation metric.
- Experimental Setup: The models were trained on 30,000 hours of transcribed Microsoft data and evaluated on a diverse set of 260,000 utterances across multiple domains, including both read and conversational speech.
Results and Analysis
Accuracy and Robustness to Normalization
MWER training consistently outperforms NLL training across all configurations. A key finding is that MWER acts as a stabilizer for HAT models. While HAT is naturally more sensitive to length normalization than RNN-T, MWER training significantly narrows the performance gap between decoding with and without normalization, as shown in the table below.
Efficiency and Beam Size
MWER-trained models demonstrate superior robustness to decoding beam size. As illustrated in the following figure, the MWER-trained model maintains high accuracy even with a very small beam size (e.g., 2), whereas the NLL-trained model's performance degrades sharply. This robustness allows for faster inference and reduced computational costs in production environments without sacrificing significant accuracy.
External LM Fusion
By leveraging HAT's ability to subtract internal LM scores, the authors achieved more effective external LM fusion. The combination of MWER and HAT resulted in an 8% relative WER reduction compared to a baseline system without an external LM, outperforming standard shallow fusion approaches.
Conclusion
This work demonstrates that MWER training is a vital component for making HAT models practical for real-world deployment. It provides significant gains in both accuracy and operational robustness, making the models more suitable for environments where inference efficiency is critical. Future research will focus on the theoretical reasons for HAT's sensitivity and the potential for incorporating external LMs directly into the MWER training loop to further improve performance.
Summary updated