Frames: A Corpus for Adding Memory to Goal-Oriented Dialogue Systems

Layla El Asri, Hannes Schulz, Shikhar Sharma, Jeremie Zumer, Justin Harris, Emery Fine, Rahul Mehrotra, Kaheer SulemanarXiv 2017

TL;DR

The Frames dataset is a new human-human dialogue corpus designed to move goal-oriented conversational AI beyond simple, linear slot-filling. By introducing the task of frame tracking, the authors provide a framework for systems to maintain multiple semantic states simultaneously, allowing users to compare options, backtrack, and explore complex decision-making processes like vacation planning.

What Problem Does This Paper Address?

Traditional goal-oriented dialogue systems (like those for checking bus schedules or weather) operate on a "sequential slot-filling" model. In these systems, if a user changes a constraint—for example, asking for a different destination—the new information typically overwrites the old. This makes it impossible for a user to say, "Actually, let's go back to the first hotel you mentioned," or "Which of these two flights is cheaper?"

Real-world decision-making, especially in e-commerce and travel, is non-linear. Users want to explore different possibilities and compare them before committing. The authors identify a lack of memory in current architectures as the primary bottleneck and introduce the Frames dataset to facilitate research into tracking multiple dialogue states (frames) at once.

Methods

The researchers employed a Wizard-of-Oz (WOz) setting to collect high-quality human-human data. In this setup, one participant (the user) was given a travel task, while another (the "wizard") acted as the dialogue system, searching a database of vacation packages via a custom GUI.

Frame Tracking

The core technical contribution is the formalization of frame tracking. While standard state tracking compresses dialogue history into a single semantic frame, frame tracking maintains a set of frames. Each frame represents a specific context (e.g., a specific hotel or a set of travel dates).

To support this, the authors developed a novel annotation scheme:

  • Frame IDs: Every offer or suggestion is assigned a unique ID.
  • Switching Rules: The "active frame" changes based on user requests or when the user returns to a previously discussed option.
  • Cross-referencing: They introduced read and write slots to track how information is shared or inherited between different frames (e.g., "I want the same dates, but for a different city").

Datasets

The paper introduces the Frames dataset, which consists of:

  • 1,369 dialogues with a total of 19,986 turns.
  • An average of 15 turns per dialogue.
  • A domain focused on vacation packages (combining flights and hotels), which naturally encourages hierarchical constraints and comparisons.
Overview of the Frames corpus statistics, including dialogue length, acts per turn, user ratings, and act frequency.

Key Insights and Ideas

  • Memory is Multi-Contextual: Memory in dialogue isn't just a history log; it's a structured set of alternatives. The dataset shows that humans naturally create an average of 6.71 frames per dialogue.
  • The Importance of Recommendations: When a search returns no results, human "wizards" don't just say "no." They suggest relaxing specific constraints (e.g., increasing the budget). This follows Grice’s cooperative principle and is a key feature for future AI to emulate.
  • Anaphora is a Major Challenge: Users frequently refer to previous frames using ambiguous language like "the first one" or "that other trip." Resolving these requires the system to look at the raw text and the history of frame creation simultaneously.
  • Multi-Action Turns: Human agents often perform multiple actions in one turn—such as informing the user of a price while simultaneously proposing a new alternative.

Key Results

The authors established baselines for two tasks:

  1. Natural Language Understanding (NLU): Using a bi-GRU model on character trigrams, they achieved F1 scores of 0.78 for Dialogue Acts and 0.79 for Slots.
  2. Frame Tracking: They compared a rule-based tracker against a random baseline.
  3. Frame Creation: The rule-based model achieved 0.49 accuracy.
  4. Frame Identification: The rule-based model achieved 0.24 accuracy, only slightly better than the random baseline (0.18).

These low scores for frame identification underscore that simple, hand-crafted rules are insufficient for managing complex dialogue memory, highlighting a significant opportunity for neural architectures.

Limitations and Future Work

The primary limitation acknowledged is the performance of the baseline models. The low accuracy in frame identification suggests that future models must better handle anaphora resolution and the nuances of how users switch between contexts.

The authors suggest that future work should focus on:

  • Developing more sophisticated neural models specifically for frame tracking.
  • Exploring dialogue management that can handle multiple actions per turn.
  • Scaling the data collection methodology to even more complex, multi-domain scenarios.

Summary updated

BibTeX
@misc{asri2017frames,
  author = {Layla El Asri and Hannes Schulz and Shikhar Sharma and Jeremie Zumer and Justin Harris and Emery Fine and Rahul Mehrotra and Kaheer Suleman},
  title = {{Frames: A Corpus for Adding Memory to Goal-Oriented Dialogue Systems}},
  year = {2017},
  eprint = {1704.00057},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.00057},
}
Figure