TL;DR
This paper tackles the challenge of Automatic Speech Recognition (ASR) errors in goal-oriented conversational AI, which often disrupt user interactions. They introduce a novel method that leverages Large Language Models (LLMs) and dialogue context to re-rank ASR hypotheses, significantly improving correction accuracy and user experience, especially in domains with linguistic flexibility.
What Problem Does This Paper Address?
Conversational AI systems that rely on speech input (ASR) frequently encounter errors. These errors, ranging from misrecognized words to entirely wrong phrases, can derail the user's intended goal, leading to frustration and a poor user experience. While existing ASR error correction methods often depend on prior user data or specific named entities, this paper addresses the need for robust correction in scenarios lacking such data, particularly in goal-oriented dialogues where users might express themselves with lexical and syntactic variations. The core problem is how to effectively correct ASR errors when the user's intent is clear but the transcribed speech is imperfect, especially when dealing with flexible language use.
Methods
The proposed method enhances ASR error correction by re-ranking the "n-best" ASR hypotheses (the top several most likely transcriptions) using contextual information. The core innovation lies in how this context is leveraged:
- Dialogue State as Context: The system first identifies the current dialogue state to predict likely user responses. This "narrow context" is derived from system-provided options or voice commands.
- LLM-Augmented Task List: To handle linguistic variations, they augment the list of supported tasks with lexical and syntactic variations generated by an LLM (GPT-3.5-turbo). This expands the potential correction space beyond exact matches.
- Two-Stage Re-ranking:
- Lexical and Semantic Similarity: The system re-ranks ASR hypotheses based on their similarity to the dialogue context. If a narrow context isn't sufficient, it performs an indexed search across all tasks to find lexically overlapping ones.
- Phonetic Similarity: If re-ranking based on text alone fails, the system ranks context options based on phonetic similarity to the best ASR hypothesis, using Longest Common Subsequences (LCS) of phoneme sequences. This helps correct errors where the transcribed word is phonetically close but lexically different.
- Triggering Correction: The correction mechanism is strategically triggered only in specific dialogue states to minimize false positives.
Datasets
- Private Dataset: The authors used a private dataset of dialogues collected from their Alexa Skills, which support home improvement and cooking tasks.
- Public wikiHow Dataset: A public wikiHow dataset (230K instances) was used to broaden the range of potential correction scenarios.
- Manual Annotation: A subset of dialogues was manually annotated to identify ASR errors and provide correct transcripts for evaluation.
Key Insights and Ideas
- Context is King (Especially Dialogue Context): The paper strongly emphasizes that leveraging the immediate dialogue context (what was just said, what options are available) is crucial for effective ASR correction, even more so than just relying on general language models.
- LLMs as "Variation Generators": LLMs are not used for direct correction but as powerful tools to generate diverse phrasings of tasks, making the system more robust to variations in user speech.
- Phonetics as a Fallback: The inclusion of phonetic similarity as a secondary ranking strategy is a clever way to catch errors that text-based similarity might miss, especially when dealing with homophones or near-homophones.
- Balancing Precision and Recall: The work highlights the trade-off between correction accuracy (precision) and the ability to catch errors (recall). Their method aims to improve recall significantly while maintaining reasonable precision and minimizing false positives.
- Real-World Impact: The study moves beyond offline evaluation to real-world deployment, showing that their method improves user ratings when corrections are accurate and has minimal negative impact even with occasional false positives.
Key Results
- Improved Correction Metrics: The proposed method achieved a 36% higher recall and 17% higher F1 score compared to the baseline method.
- User Experience Boost: In real-world deployment, users rated conversations .8-1 point higher (out of 5) when the correction method worked properly, with no significant decrease in ratings due to false positives.
- Search Intent Dominance: The method showed particular strength in the search intent, where linguistic variations are more common.
- Reduced False Positives: While precision was slightly lower overall, the false positive rate (FPR) was managed effectively, especially when compared to the baseline.
Limitations and Future Work
- Dependency on ASR Quality: The effectiveness of the correction method is still dependent on the quality of the underlying ASR system and the phonetic information it provides.
- LLM Latency: While their method is designed to be lightweight, the reliance on LLMs for augmentation could introduce latency in some scenarios.
- Over-Correction: The paper acknowledges the risk of over-correction and plans to explore multiple candidate considerations and varied selection criteria.
- Low-Resource Languages: The method's effectiveness might be limited for low-resource languages due to potential biases and performance issues in ASR and LLMs for these languages.
- Broader Domains and Open Chat: Future work includes evaluating the approach in more domains, adapting it for open-ended chat scenarios, and exploring more advanced grapheme-to-phoneme conversion models.
Summary updated