TL;DR
This paper introduces a neural architecture for contextual slot carryover, the process of resolving references to previous conversation topics (e.g., "send directions to it") in multi-domain dialog systems. By reformulating the problem as a binary carryover decision and using label embeddings to bridge disparate schemas (like mapping WeatherLocation to City), the authors achieve significant performance gains over traditional rule-based systems in large-scale, real-world scenarios.
What Problem Does This Paper Address?
In conversational AI, "slot-filling" is the task of identifying key information—like a city name or a cuisine type—within a user's request. A major challenge arises when users refer back to previously mentioned information implicitly (using pronouns like "it" or "there") or explicitly. This is known as contextual understanding.
Existing approaches struggle with two main issues:
- Scalability: Traditional dialog state trackers often try to predict values from a fixed vocabulary, which fails for open-ended slots like "Song Name" or "Movie Title."
- Disparate Schemas: In large systems like Alexa, different domains (e.g., Weather vs. Local Search) are developed independently. One might label a location as
WeatherLocationwhile another calls itCity. Without a central registry, carrying information across these domain boundaries is difficult.
Methods
The authors propose a neural encoder-decoder architecture that treats contextual understanding as a carryover decision. Instead of predicting a new state from scratch, the model looks at a list of "candidate slots" from the recent history and decides for each one: "Should this be carried over to the current turn?"
Key Components:
- Candidate Slot Generation: To handle disparate schemas, the model uses slot key embeddings. By averaging the embeddings of values associated with a slot, the system can mathematically determine if two differently named slots (like
TownandCity) are semantically similar enough to be candidates for carryover. - Encoder-Decoder Architecture: The model encodes several streams of information:
- Utterance History: LSTMs process the sequence of words from both the user and the system.
- Candidate Slot: The specific key-value pair being considered.
- Metadata: The current user intent and "recency" (how many turns ago the slot was mentioned).
- Two-Level Attention:
- Word-Level Attention: Allows the model to focus on specific words in the conversation that might trigger a carryover (e.g., the word "there" in "send directions there").
- Stream-Level Attention: Helps the model weigh the importance of user history versus system history.
Datasets
The researchers evaluated their model on two datasets:
- Commercial Voice Assistant Dataset: A large-scale internal dataset from a real-world assistant (likely Alexa), featuring over 16,000 training sessions across domains like Music, Weather, and Home Automation. Notably, 20% of these sessions involved disparate schemas.
- DSTC2 (Dialog State Tracking Challenge 2): A standard public benchmark used to compare the task's complexity against the commercial dataset.
Key Insights and Ideas
- Binary Reformulation: By turning state tracking into a binary "Carry/No Carry" classification for each candidate, the model becomes agnostic to the actual value of the slot. This allows it to handle an unbounded set of values (like unique song titles) effortlessly.
- Implicit Coreference: Unlike traditional systems that require a separate "mention detection" step to find pronouns, this model learns to resolve references implicitly through word-level attention.
- Schema Mapping via Embeddings: The use of label embeddings provides a data-driven way to bridge different developer schemas without requiring a manual, hard-coded mapping between every possible domain.
Key Results
The neural model significantly outperformed both a naive baseline (which just carries everything from the last turn) and a sophisticated rule-based system.
- Multi-Domain Performance: On the commercial dataset, the Encoder-Decoder with word attention achieved an F1 score of 84.16, compared to just 77.53 for the rule-based baseline.
- Complexity Benchmark: The model achieved a very high F1 of 97.42 on the public DSTC2 dataset. The authors note that the much lower scores on the commercial dataset highlight how much more difficult real-world, multi-domain carryover is compared to standard research benchmarks.
Limitations and Future Work
- Stream Attention: Interestingly, adding "stream attention" (to distinguish between user and system turns) actually slightly degraded the overall F1 score. The authors speculate that the "recency" feature might already capture this information, or there wasn't enough data to train this specific component effectively.
- Cross-Domain Gap: While the model handles disparate schemas well, there is still a performance gap. The precision for "Within-Domain" carryover was ~78%, while "Cross-Domain" precision dropped to ~61%. Future work could focus on narrowing this gap to make cross-domain interactions even more seamless.
Summary updated