Introduction
Automatic Speech Recognition (ASR) has reached impressive levels of accuracy, yet it remains vulnerable to out-of-domain (OOD) vocabulary, background noise, and specific Named Entities (NEs). Generative Error Correction (GEC) has emerged as a promising post-processing step where a Large Language Model (LLM) is fine-tuned to correct ASR outputs. However, GEC models often suffer from a "lazy learner" problem: if the base ASR system performs too well on training data, the corrector lacks sufficient exposure to errors, leading to poor generalization on difficult test cases or new domains.
To address these challenges, we present DARAG (Data- and Retrieval-Augmented Generative Error Correction). DARAG improves robustness by training on realistic synthetic failures and decoupling named entity knowledge through a retrieval mechanism.
Methodology
The DARAG framework is built upon two primary components designed to overcome error scarcity and the hallucination of rare terms.
1. Synthetic Training Data Augmentation
To provide the GEC model with a diverse set of errors to learn from, we implement a "failing forward" strategy. Instead of relying solely on the limited errors in the original training set, we generate synthetic ASR hypotheses. By using an LLM to generate diverse transcripts and converting them to audio via Text-to-Speech (TTS) with voice cloning, we can simulate realistic phonetic and semantic errors when these audios are passed through the target ASR model.
2. Retrieval-Augmented Correction (RAC)
To mitigate the risk of the LLM "hallucinating" names or technical terms, DARAG utilizes a Retrieval-Augmented Correction (RAC) module. A datastore of named entities is constructed from the training corpus. During inference, the system uses SentenceBERT to retrieve the most similar entities based on the ASR's initial hypothesis. These retrieved entities are then provided as explicit context in the LLM's prompt, acting as a "lookup table" for correct spellings.
Experimental Evaluation
We evaluated DARAG across five benchmark datasets: LibriSpeech (audiobooks), SPGISpeech (financial), VoxPopuli (parliamentary), Gigaspeech (diverse web audio), and TED-LIUM (talks). This selection allows for testing both in-domain (ID) and out-of-domain (OOD) performance.
Key Results
- Word Error Rate (WER) Reduction: DARAG achieved relative WER improvements of 8%–30% in ID scenarios and 10%–33% in OOD scenarios compared to baseline ASR and standard GEC models.
- Named Entity Accuracy: On the VoxPopuli dataset, which is rich in specific names, DARAG significantly boosted the F1-score for entity transcription.
- Acoustic Consistency: Ablation studies confirmed that phonetic consistency is crucial; removing voice cloning from the TTS pipeline significantly degraded the corrector's performance, as the synthetic errors no longer matched real-world ASR confusion patterns.
Conclusion and Future Work
DARAG demonstrates that deliberately introducing synthetic errors and providing external knowledge via retrieval can significantly enhance the robustness of ASR error correction. While the current implementation uses semantic retrieval, future iterations could benefit from phoneme-aware retrieval to better handle phonetic confusions. Additionally, addressing the computational overhead of real-time retrieval remains a key area for optimization.
Summary updated