Contextual Slot Carryover for Disparate Schemas

Chetan Naik, Arpit Gupta, Hancheng Ge, Lambert Mathias, Ruhi Sarikaya

Abstract

This paper introduces a neural network approach for "contextual slot carryover"—the ability of a voice assistant to remember information (such as a city or restaurant name) across different parts of a conversation. By reframing the problem as a binary "carryover" decision and using label embeddings to bridge different naming conventions (schemas), the authors enable voice assistants to scale to an unbounded number of slot values and work seamlessly across multiple, independently developed domains.

Introduction

In modern conversational AI, "slot-filling" is the process of identifying key pieces of information (slots) like {City: Seattle} or {Cuisine: Mexican}. However, users often refer back to previous information implicitly (e.g., "What's the weather there?" where "there" refers to a city mentioned earlier).

This presents two major hurdles for large-scale systems like Alexa or Google Assistant:

  1. Scalability: Traditional state trackers try to predict values from a fixed list. This fails for "open-ended" slots like dates, times, or specific movie titles that change constantly.
  2. Disparate Schemas: Different domains (Weather, Local Search, Traffic) are often built by different teams or third-party developers. One might call a location City, while another calls it WeatherLocation. Without a unified schema, the system doesn't know these are the same thing.
Example of slot carryover across turns with disparate schemas.

Methodology

The authors propose an encoder-decoder architecture that treats contextual understanding as a classification task: for every slot mentioned in the recent history, should it be "carried over" to the current turn?

Key Components:

  • Candidate Slot Generation: To handle different schemas, they use label embeddings. They represent slot keys by averaging the embeddings of the values associated with them. If two different keys (like City and Town) are associated with similar values (like "San Francisco"), their embeddings will be close in vector space, allowing the system to map them together.
  • Encoder-Decoder Model:
    • Encoders: The model encodes the user's utterance history, the system's response history, the current utterance, the candidate slot (key and value), and "recency" (how many turns ago the slot appeared).
  • Attention Mechanisms: They implement Word-level attention (to find specific words in the text that trigger a carryover, like "there" or "it") and Stream-level attention (to weigh the importance of user turns vs. system turns).
  • The Decision: The decoder takes these encoded features and produces a probability score. If the score is above a threshold (e.g., 0.5), the slot is carried over.
The proposed encoder-decoder architecture for contextual slot carryover.

Experimental Evaluation

The researchers evaluated their model on two datasets:

  1. Commercial Voice Assistant Data: A large internal dataset from a real-world assistant, covering domains like Music, Weather, Local Business, and Video. About 20% of these sessions involved "disparate schemas" (cross-domain interactions).
  2. DSTC2 (Dialog State Tracking Challenge): A standard public benchmark used to compare against existing literature, though the authors note this dataset is much simpler than real-world multi-domain traffic.

Results and Discussion

By treating carryover as a decision rather than a prediction, the system can handle an infinite variety of slot values without needing a massive output layer. Furthermore, using word embeddings to represent slot labels allows the model to generalize across domains it hasn't seen before. The word-level attention mechanism effectively "learns" anaphora resolution, removing the need for complex, hand-coded linguistic rules.

The neural model significantly outperformed traditional baselines on the multi-domain dataset:

  • Rule-Based Baseline: Achieved an F1 score of 77.53.
  • Proposed Encoder-Decoder: Reached an F1 of 83.20.
  • With Word Attention: The performance climbed to 84.16.
  • Cross-Domain Performance: While the model was highly accurate within a single domain (86.09% precision), it still maintained a respectable 72.19% F1 score when carrying slots across different schemas, proving the effectiveness of the label embedding approach.

On the public DSTC2 dataset, the model achieved a near-perfect F1 of 97.42, showing it handles simpler, single-domain tasks with ease.

Conclusion

The authors found that "stream attention" (distinguishing between user and system turns) did not significantly improve results, likely because the "recency" feature already captures that information. They also noted a significant imbalance in real-world data, where the number of "negative" candidates far outweighs the "positive" ones. Future work suggests refining how distance and recency are encoded to better handle longer conversations where a slot might need to be "resurrected" after several unrelated turns.

Summary updated

BibTeX
@inproceedings{naik2018contextual,
  author = {Chetan Naik and Arpit Gupta and Hancheng Ge and Lambert Mathias and Ruhi Sarikaya},
  title = {{Contextual Slot Carryover for Disparate Schemas}},
  booktitle = {Interspeech},
  year = {2018},
  doi = {10.21437/interspeech.2018-1035},
}
Figure