[Paper Review] Personalized Query Rewriting in Conversational AI Agents
This paper proposes a personalized query rewriting framework for conversational AI agents that leverages user-specific interaction memories to correct errors from automatic speech recognition (ASR) and natural language understanding (NLU). Using a pointer-generator network with hierarchical attention and neural retrieval, the model outperforms baselines by significantly improving rewrite accuracy and intent recovery, especially when incorporating ASR n-best outputs and user history.
Spoken language understanding (SLU) systems in conversational AI agents often experience errors in the form of misrecognitions by automatic speech recognition (ASR) or semantic gaps in natural language understanding (NLU). These errors easily translate to user frustrations, particularly so in recurrent events e.g. regularly toggling an appliance, calling a frequent contact, etc. In this work, we propose a query rewriting approach by leveraging users' historically successful interactions as a form of memory. We present a neural retrieval model and a pointer-generator network with hierarchical attention and show that they perform significantly better at the query rewriting task with the aforementioned user memories than without. We also highlight how our approach with the proposed models leverages the structural and semantic diversity in ASR's output towards recovering users' intents.
Motivation & Objective
- To reduce user frustration in conversational AI agents caused by ASR and NLU errors during recurrent interactions.
- To improve query rewriting performance by leveraging users’ historically successful interactions as a form of personalized memory.
- To compare the effectiveness of retrieval-based and generative (pointer-generator) neural models for query rewriting under ASR uncertainty.
- To investigate how ASR n-best outputs and user memory jointly enhance intent recovery and rewrite quality.
- To develop a scalable, end-to-end framework that integrates user memory and ASR uncertainty without additional downstream overhead.
Proposed method
- A neural retrieval model encodes both ASR n-best hypotheses and user memory utterances using bi-LSTMs, then applies attention from memory to ASR outputs to generate context-aware representations.
- A pointer-generator network with hierarchical attention attends first on ASR n-best, then on user memory, enabling the model to copy or generate parts of the rewrite from either source.
- The pointer network uses a coverage mechanism to prevent redundant copying and improves generalization by composing new utterances from components in ASR n-best and memory.
- The model is trained on a large-scale dataset of ~1 million anonymized rephrase pairs from Alexa, where the first utterance is ASR-failed and the second is a successful rephrasing.
- ASR n-best outputs are used as input to incorporate uncertainty, and the model is trained to rewrite the original ASR hypothesis to match the successful rephrasing.
- The framework is designed to be extensible to dialogue context and future integration with ASR lattices for richer hypothesis space.
Experimental results
Research questions
- RQ1Can user-specific interaction memories significantly improve query rewriting performance in conversational AI systems?
- RQ2How does incorporating ASR n-best outputs affect the robustness and accuracy of query rewriting models?
- RQ3Does a generative pointer-network approach outperform a retrieval-based baseline in personalized query rewriting?
- RQ4To what extent can the model recover correct intent when the ASR output is semantically or phonetically incorrect?
- RQ5How does the model handle cases where the user changes intent between turns, and what impact does this have on evaluation?
Key findings
- The pointer-generator network with hierarchical attention achieved higher recall than the retrieval model while maintaining a precision of 90%, indicating better generalization and intent recovery.
- The pointer network was five times less likely to make intent errors compared to the retrieval model, demonstrating superior understanding of semantic intent.
- The model successfully rewrote partial errors, such as correcting 'launch room' to 'laundry room', even when the exact rephrase was not in memory, by composing new utterances from ASR n-best and memory components.
- Incorporating ASR n-best outputs improved performance for both models, as it provided additional signals for learning correct rewrites.
- The retrieval model was limited to matching exact or similar phrases in memory, while the pointer network could generate novel, correct rewrites by copying from multiple sources.
- The framework achieved state-of-the-art performance on the query rewriting task by leveraging both user memory and ASR uncertainty, with no additional downstream cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.