Dialogue Meaning Representation for Task-Oriented Dialogue Systems

Xiangkun Hu, Junqi Dai, Hang Yan, Yi Zhang, Qipeng Guo, Xipeng Qiu, Zheng Zhang

Introduction

Task-Oriented Dialogue (TOD) systems are designed to help users achieve specific goals, such as ordering food or booking a flight. Traditionally, these systems have relied on a "flat intent-slot" framework. In this model, an utterance like "I want a large coke" is parsed into an intent (OrderFood) and specific slots (Drink: coke, Size: large). While efficient for simple requests, this approach struggles with the inherent complexity of natural human language, including logical conjunctions, negations, and references to previous parts of the conversation.

To address these limitations, researchers from Amazon and Fudan University have introduced Dialogue Meaning Representation (DMR). DMR is a graph-based framework designed to capture nested semantics and complex relationships within task-oriented dialogues. Alongside this framework, the researchers released DMR-FastFood, a large-scale dataset, and GNNCoref, a specialized model for resolving cross-turn references.

The Limitations of Flat Schemas

Human conversation is rarely linear or simple. We frequently use:

  • Conjunctions: "I want a coke and a burger."
  • Negation: "I want a burger but no onions."
  • Cross-turn Coreference: Turn 1: "I'll take the burger." Turn 2: "Actually, add cheese to it."

Flat schemas often fail to link modifiers to the correct entities in these scenarios. While hierarchical tree structures have been proposed as an alternative, they often struggle with coreference, where a node in the current turn must point back to a specific entity mentioned several turns prior. DMR addresses this by utilizing a graph-based structure that can naturally represent these multi-directional links.

The DMR Framework

DMR represents an utterance as a rooted Directed Acyclic Graph (DAG). This structure is composed of several key elements:

  • Nodes: These are categorized into Intents (the goal), Entities (the objects), Operators (logic like 'and' or 'reference'), and Keywords (such as '-' for negation).
  • Inheritance Hierarchy: A significant design feature of DMR is its use of inheritance. Domain-specific entities (e.g., Pizza) inherit properties from general types (e.g., FoodItem). This hierarchy makes the system more extensible, allowing it to adapt to new domains without requiring a complete overhaul of the underlying schema.

Two-Stage Natural Language Understanding (NLU)

The researchers implement DMR through a two-stage process:

  1. DMR Parsing: A Sequence-to-Sequence (Seq2Seq) model, such as BART, converts natural language text into a linearized graph string.
  2. Coreference Resolution (GNNCoref): Since parsing alone cannot always resolve what "it" refers to in a long dialogue, the team developed GNNCoref. This Relational Graph Convolutional Network (R-GCN) treats the entire dialogue history as a massive graph, allowing the system to reason over previous turns to identify the correct referent.

The DMR-FastFood Dataset

To benchmark this new framework, the study introduces DMR-FastFood, a re-annotation of the MultiDoGO dataset. This dataset is notable for its scale and semantic richness:

  • Scale: 7,194 dialogues and 70,328 utterances.
  • Complexity: It contains over 16,000 conjunctions and 7,000 cross-turn references.
  • Comparison: Unlike existing datasets like SMCalFlow or TOP, DMR-FastFood provides a high density of explicit negation and conjunction annotations, making it a rigorous test for compositional semantics.

Key Insights and Results

The researchers' evaluation yielded several critical insights into the performance of graph-based NLU:

  • Superiority of Graphs: By using a graph structure rather than a tree, DMR successfully represents coreference by allowing edges to point to nodes established in previous turns.
  • Model Performance: The BART-base model achieved an 83.39% exact match score on the parsing task, significantly outperforming BiLSTM and RoBERTa baselines. This suggests that BART’s denoising pre-training objective is highly effective for mapping natural language to formal graph syntax.
  • Coreference Accuracy: The novel GNNCoref model achieved 79.01% accuracy, vastly outperforming standard Multi-Layer Perceptron (MLP) approaches (70.42%) and simple heuristic rules (21.19%).
  • Context Sensitivity: Parsing accuracy was found to peak when the model was provided with 1 or 2 turns of previous context. Interestingly, performance dipped slightly with longer histories, suggesting a "sweet spot" for dialogue context before noise begins to interfere.
  • The Compositional Bottleneck: Error analysis revealed that "Compositional Errors"—getting the complex nested structure wrong—account for nearly half of all failures, identifying a key area for future improvement.

Conclusion and Future Directions

While DMR represents a significant step forward in capturing the nuances of task-oriented dialogue, the authors note several areas for future work. Currently, the rich annotations are limited to the fast-food domain; expanding this to areas like travel or banking is necessary to test the scalability of the inheritance hierarchy. Additionally, because graph-based annotation is more labor-intensive than flat slot-filling, few-shot or transfer learning will be essential for broader adoption. Finally, integrating DMR into a complete end-to-end system—including Dialogue State Tracking and Policy Management—remains a primary goal for the evolution of this framework.

Summary updated

BibTeX
@inproceedings{hu2022dialogue,
  author = {Xiangkun Hu and Junqi Dai and Hang Yan and Yi Zhang and Qipeng Guo and Xipeng Qiu and Zheng Zhang},
  title = {{Dialogue Meaning Representation for Task-Oriented Dialogue Systems}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.17},
}
Figure