Abstract
Statistical language models (LM) play a key role in Automatic Speech Recognition (ASR) systems used by conversational agents. These ASR systems should provide a high accuracy under a variety of speaking styles, domains, vocabulary and argots. In this paper, we present a DNN-based method to adapt the LM to each user-agent interaction based on generalized contextual information, by predicting an optimal, context-dependent set of LM interpolation weights. We show that this framework for contextual adaptation provides accuracy improvements under different possible mixture LM partitions that are relevant for both (1) Goal-oriented conversational agents where it’s natural to partition the data by the requested application and for (2) Non-goal oriented conversational agents where the data can be partitioned using topic labels that come from predictions of a topic classifier. We obtain a relative WER reduction of 3% with a 1-pass decoding strategy and 6% in a 2-pass decoding framework, over an unadapted model. We also show up to a 15% relative WER reduction in recognizing named entities which is of significant value for conversational ASR systems.
Introduction
Standard Automatic Speech Recognition (ASR) systems often rely on "n-gram" language models (LMs) trained on massive, generic datasets. While effective, these models are often "one-size-fits-all," struggling to account for the vast differences in how people speak depending on whether they are asking for the weather, shopping, or engaging in a casual chat with a bot.
The core challenge is contextual adaptation: how can an ASR system quickly pivot its "expectations" of what a user might say next based on the current situation? Previous methods relied on manual labels or slow algorithms that weren't suitable for real-time, high-stakes conversational agents. This research proposes a framework to dynamically adjust language models based on conversation history and metadata.
Methodology
The authors propose a framework that represents the final Language Model as a mixture of component LMs (specialized "experts" for different topics or applications). The core of this system is a DNN-based adaptation model that predicts the optimal interpolation weights ($\lambda$) for these experts on the fly.
Key technical components include:
- Component Partitioning: For goal-oriented tasks, data is split by application. For open-ended chatbots, a topic classifier groups data into 26 distinct topics.
- DNN Architecture: A two-layer network takes contextual features as input and outputs a probability distribution (via softmax) over the component LMs.
- Training Objectives: The model experiments with minimizing Cross-Entropy (Xent) (predicting the correct topic label) and minimizing Perplexity (PPL) (predicting the actual words in the utterance).
- Contextual Features: Inputs include embeddings of previous user turns (
prev), metadata like time of day (meta), and, for 2-pass decoding, the initial guess of the current utterance (cur).
Experimental Setup
The study utilized three primary data sources:
- Goal-oriented interaction data: Millions of real-world, far-field utterances from Alexa interactions (Music, Shopping, Weather, etc.).
- Chatbot interaction data: Hundreds of thousands of turns from the Alexa Prize competition, representing non-goal-oriented, free-form dialog.
- External text datasets: Billions of words from news and web crawls to bolster the chatbot's topical knowledge.
Results and Discussion
The system achieved a 3% relative WER reduction in 1-pass (real-time) decoding and up to 6% in 2-pass (rescoring) decoding compared to an unadapted baseline.
Key insights from the evaluation include:
- Context Matters More for Chatbots: Adaptation provided a larger boost for chatbots than for goal-oriented agents, as chatbot conversations are more prone to unpredictable topic shifts.
- Temporal Decay: For long chatbot conversations, implementing an exponentially decaying weighted average for past word embeddings significantly improved performance by focusing the model on the most recent context.
- Named Entity Recognition: The most striking finding was the improvement in recognizing "Named Entities" (people, places, song titles). The error rate for recognizing entities dropped by up to 15.32% for chatbots, as the contextual model was much better at "expecting" topic-specific terms than a generic model.
- PPL vs. Xent: Training the DNN to minimize Perplexity (PPL) generally outperformed the Cross-Entropy (Xent) approach, likely because PPL captures the nuances of the text more directly without requiring explicit manual labels.
Conclusion
This research demonstrates that dynamic, DNN-based contextual adaptation significantly enhances ASR performance for conversational agents, particularly in recognizing named entities. While the 2-pass system provides the best results, it introduces additional latency. Future directions include incorporating multimodal information and exploring unsupervised clustering to define "expert" LMs more organically.
Summary updated