Abstract
Reliable confidence estimation is essential for the practical deployment of Automatic Speech Recognition (ASR) systems. Traditional End-to-End (E2E) models often suffer from overconfidence and struggle to account for deletion errors. This paper introduces a multi-task learning framework that jointly predicts word-level accuracy, deletion counts, and utterance-level correctness. By incorporating Poisson regression for deletion prediction and a hierarchical attention mechanism for sentence-level scores, the proposed model significantly improves the reliability of confidence metrics. Evaluation on large-scale multi-domain datasets shows that this approach not only enhances confidence estimation but also reduces Word Error Rate (WER) by up to 5% through hypothesis rescoring.
Introduction
End-to-End ASR models, such as RNN-Transducers, have become the standard for speech recognition due to their high accuracy. However, these models often lack well-calibrated confidence scores, frequently exhibiting overconfidence even when producing incorrect transcriptions. This "honesty problem" is particularly problematic for downstream applications, such as voice assistants, where executing a command based on a low-confidence hypothesis can lead to critical errors.
Existing Confidence Estimation Modules (CEMs) typically focus on a single granularity—either word-level or utterance-level—and often ignore deletion errors. Deletions are inherently difficult to handle because there is no hypothesized word to which a confidence score can be attached. This paper addresses these gaps by proposing a multi-task Transformer-based CEM that explicitly models deletions and leverages cross-task signals to improve overall performance.
Methodology
The proposed CEM is a Transformer-based architecture that operates on top of a frozen ASR model. It processes acoustic features and hypothesized text to optimize three simultaneous objectives:
- Word-Level Confidence: A multi-layer perceptron (MLP) predicts whether a hypothesized word is correct, an insertion, or a substitution.
- Deletion Length Prediction: To address missing words, the model uses Poisson regression to estimate the count of deleted words between hypothesized tokens. This allows for a more accurate estimation of the true WER.
- Utterance-Level Confidence: A hierarchical attention mechanism aggregates features to produce a single probability score representing the likelihood that the entire utterance is error-free.
By training these tasks jointly, the model's internal representations benefit from the complementary nature of the objectives. For instance, sentence-level error signals can help the model identify specific regions of word-level uncertainty.
Experimental Evaluation
The models were trained on a massive, anonymized multi-domain dataset encompassing Search, Farfield, Telephony, and YouTube traffic. Performance was evaluated on two primary sets:
- Voice Search (VS): Approximately 14,000 real-world utterances from Google traffic.
- Long-tail Maps: A specialized dataset containing rare proper nouns synthesized via Text-to-Speech (TTS) to test the model's generalization to difficult, unseen vocabulary.
Results and Discussion
The multi-task models (WU: Word + Utterance; WUD: Word + Utterance + Deletion) consistently outperformed single-task baselines across various metrics, including Normalized Cross-Entropy (NCE), AUC-ROC, and Root Mean Squared Error (RMSE).
Key Insights
- Deletion Modeling: Treating deletions as a count via Poisson regression provides a more realistic error estimate than binary classification. This approach makes deletions "visible" to the confidence estimator.
- The Multi-Task Advantage: The "WUD" configuration achieved the best performance, demonstrating that word, utterance, and deletion tasks are highly complementary. Joint learning improves the performance of each individual metric without requiring a significant increase in model parameters (~17M).
- Hypothesis Rescoring: The utterance-level confidence score can be used as a second-pass rescorer. By selecting the best hypothesis from the top 4 candidates, the system reduced WER on Voice Search from 6.4% to 6.1% and on the Long-tail Maps set from 14.0% to 13.6%.
Conclusion
This work demonstrates that multi-task learning is a highly effective strategy for improving ASR confidence estimation. By explicitly modeling deletions and sentence-level correctness, the proposed CEM provides more reliable signals for downstream tasks and offers a "free" reduction in WER through rescoring. Future research may explore the joint training of the ASR and CEM components and the scalability of rescoring to deeper N-best lists.
Summary updated