Abstract
Automatic Speech Recognition (ASR) systems frequently struggle with Named Entities (NEs)—proper nouns such as specific people, places, or technical terms—particularly when they are rare or out-of-vocabulary. While post-processing ASR output with Large Language Models (LLMs) through Generative Error Correction (GEC) has shown promise, these models often fail to recover rare entities not present in the original transcript. Retrieval-Augmented Generative Error Correction (RAGEC) attempts to solve this by providing phonetically similar candidates as context; however, the resulting "noise" from phonetic confusion often degrades performance. This paper introduces DeRAGEC, a framework that adds an explicit denoising step to the RAGEC pipeline. By utilizing synthetic reasoning and semantic definitions to filter candidates, DeRAGEC achieves a 28% relative reduction in Word Error Rate (WER) without requiring model fine-tuning.
Introduction
Despite advancements in end-to-end ASR models like Whisper, the "long tail" of Named Entities remains a significant challenge. When an ASR system encounters an unfamiliar name, it typically produces a phonetically similar but incorrect common word. Standard GEC approaches, where an LLM attempts to fix the transcript, are often biased toward high-frequency vocabulary and cannot reliably "guess" a rare entity without external help.
Retrieval-augmented methods address this by fetching potential matches from a large database based on phonetic similarity. Yet, this introduces a new problem: phonetic retrieval is inherently noisy. A query for a specific name might return dozens of candidates that sound identical but are contextually irrelevant. If this noisy list is passed directly to a corrector LLM, the model often becomes confused, leading to "hallucinated" corrections. DeRAGEC addresses this by inserting a "Denoising Gate" that filters these candidates before they reach the final correction stage.
The DeRAGEC Framework
DeRAGEC operates as a multi-stage pipeline designed to transition from raw audio to a highly accurate, entity-aware transcript.
1. ASR and Entity Identification
The process begins with a standard ASR model (e.g., Whisper-large-v3-turbo) generating the top-5 hypotheses. A Named Entity Recognition (NER) model then identifies potential entity spans within the primary hypothesis to serve as phonetic queries.
2. Phonetic Retrieval and Enrichment
Using the identified spans, the system retrieves the top-10 phonetically similar entities from a massive database containing over 3 million entries (compiled from Wikipedia and media datasets). To move beyond simple sound-matching, each candidate is enriched with:
- Phonetic Similarity Scores: Quantitative measures of how closely the candidate matches the ASR output.
- Wikipedia Definitions: A one-line semantic description to provide context (e.g., distinguishing between a "royal title" and a "politician").
3. The Denoising Gate
This is the core innovation of DeRAGEC. Rather than overwhelming the final corrector with all ten candidates, an LLM acts as a gatekeeper to select the single most likely entity. To improve the LLM's decision-making, the authors employ Synthetic Rationale Generation.
By using high-reasoning models (such as OpenAI o1) to generate "Chain-of-Thought" explanations for training data, the authors created a set of rationales that demonstrate how to weigh phonetic scores against semantic definitions. During inference, the denoising LLM uses these rationales via In-Context Learning (ICL) to "think" through the selection process before outputting its choice.
4. Final Correction
The selected entity and its associated rationale are passed to a final GEC model. This model integrates the verified entity into the full transcript, ensuring grammatical and contextual consistency.
Experimental Results
The framework was evaluated on two major benchmarks: CommonVoice (CV) for free-form speech and STOP for spoken language commands.
Performance Metrics
- Word Error Rate (WER): DeRAGEC achieved a 28% relative reduction in WER compared to the baseline Whisper-large-v3-turbo. Crucially, it outperformed standard RAGEC (without denoising) by approximately 6% relatively.
- Named Entity Accuracy: The "NE Hit Ratio"—the frequency with which the correct entity appears in the final output—rose to 0.831 on CommonVoice, a significant jump from the baseline ASR's 0.751.
- Denoising Precision: The denoising step reached a precision of 0.139, approaching the theoretical "Oracle" upper bound of 0.166. This indicates that the LLM is highly effective at discarding irrelevant phonetic matches.
Key Insights
The Necessity of Explicit Denoising
Most RAG systems assume the final model can implicitly ignore noise. DeRAGEC demonstrates that in the specific domain of ASR—where candidates are phonetically indistinguishable—implicit denoising is insufficient. An explicit selection step prevents the corrector from being led astray by "phonetic decoys."
Semantic Context via Definitions
Phonetic similarity alone cannot distinguish between names like "Samraj Singh" and "Samresh Singh." The inclusion of a one-line Wikipedia definition provides the semantic "anchor" necessary for the LLM to determine which entity fits the surrounding sentence context.
Training-Free Implementation
Because DeRAGEC relies on In-Context Learning and synthetic rationales, it does not require expensive model fine-tuning. It can be implemented using off-the-shelf models like Llama 3.1 or GPT-4o-mini, making it highly adaptable to different domains.
Limitations and Future Directions
While effective, the multi-step nature of DeRAGEC (Retrieval -> Denoising -> Correction) increases computational latency and API costs. Furthermore, the system is dependent on the initial NER model; if the NER fails to flag a word as a potential entity, the retrieval process is never triggered. Future work may focus on "internalizing" the denoising logic into smaller, fine-tuned models to reduce latency and exploring the framework's efficacy in low-resource languages where Wikipedia coverage may be sparse.
Summary updated