Abstract
Automatic Speech Recognition (ASR) systems, while advanced, frequently produce errors due to acoustic challenges like noise or accents. ASR Error Detection (AED) is a vital post-processing step that identifies these mistakes. We present RED-ACE (Robust Error Detection with Confidence Embeddings), which enhances BERT-based error detection by incorporating word-level confidence scores. By transforming these scores into learned embeddings, RED-ACE achieves a 5-10% F1-score improvement over text-only models and shows superior robustness across diverse audio qualities.
Introduction
Despite the proliferation of high-quality ASR systems from major providers, transcription errors remain a persistent hurdle. These errors are particularly problematic when ASR is used as a "black box" via APIs, preventing developers from fine-tuning the underlying acoustic models. ASR Error Detection (AED) addresses this by flagging potential errors for human review or downstream filtering.
Traditional Transformer-based AED models typically rely solely on the transcribed text, ignoring the rich acoustic metadata—specifically confidence scores—provided by ASR engines. RED-ACE bridges this gap by effectively fusing linguistic context with acoustic certainty signals.
Methodology
RED-ACE adapts a pre-trained BERT model for sequence tagging, where each token is classified as either ERROR or NOTERROR. The central innovation is the ASR Confidence Embedding (ACE) layer, which integrates acoustic signals directly into the Transformer architecture.
The process involves three main steps:
- Quantization: Continuous ASR confidence scores (0.0 to 1.0) are "binned" into discrete integers (e.g., 10 or 100 bins).
- Joint Encoding: In standard BERT, a token's representation is the sum of token, position, and segment embeddings. RED-ACE introduces a fourth component: the Confidence Embedding.
- Learned Representations: The model treats confidence bins as a vocabulary, learning dense vectors that represent different levels of ASR certainty. This allows the model to learn non-linear relationships between linguistic anomalies and acoustic doubt.
This embedding-based approach was found to be significantly more effective than simpler methods, such as concatenating raw scores to the final hidden states, as it allows the Transformer to "reason" about the relationship between text and acoustic evidence.
Experimental Setup
To evaluate RED-ACE, the authors developed a new benchmark dataset using 1,000 hours of the LibriSpeech corpus. Audio was processed through two distinct Google Cloud ASR models ("default" and "video") to generate realistic hypotheses. Errors were labeled by aligning ASR output with ground-truth text via minimum edit distance. The dataset includes both "clean" and "other" (noisy/lower quality) audio pools to test cross-domain robustness.
Key Insights and Results
The experiments yielded several critical findings:
- Acoustic Evidence is Essential: Text-only models often fail to detect "hallucinations"—grammatically correct but factually incorrect transcriptions. Confidence scores provide the necessary evidence to flag these.
- Performance Gains: RED-ACE outperformed text-only BERT by 4.9% F1 on clean data and 7.4% F1 on noisier data. It also significantly outperformed "Confidence Only" thresholding and Masked Language Model (MLM) approaches.
- Robustness to Audio Quality: In cross-pool evaluations (e.g., training on clean, testing on noisy), RED-ACE maintained higher performance than text-only baselines, indicating that confidence scores are a stable signal across varying acoustic environments.
- The "Black Box" Advantage: RED-ACE is highly practical for developers using third-party APIs, as it only requires the final transcript and confidence scores, not internal ASR weights or lattices.
Limitations and Future Work
While highly effective, RED-ACE currently cannot detect "isolated deletions"—instances where the ASR skips a word entirely without affecting the confidence of surrounding words. Future research may explore ASR Error Correction to not only flag but also rectify errors, and the integration of richer signals like N-best hypotheses or phoneme-level features.
Conclusion
RED-ACE demonstrates that integrating acoustic confidence scores via learned embeddings significantly improves the reliability of ASR error detection. By providing a robust, model-agnostic framework, it offers a powerful tool for improving the quality of speech-to-text pipelines in real-world applications.
Summary updated