Learning the Structure of Task-Driven Human-Human Dialogs

Srinivas Bangalore, Giuseppe Di Fabbrizio, Amanda StentACL 2006

Abstract

Traditional task-oriented dialog systems rely on rigid, hand-crafted scripts that struggle with the variability of natural human conversation. This paper investigates methods for automatically inducing the structure of task-driven dialogs from human-human corpora. We compare flat, chunk-based models against hierarchical, parse-based models to predict dialog acts and subtask sequences. Our findings suggest that while dialog is inherently hierarchical, relatively simple data-driven models incorporating local context and well-formedness constraints can effectively model task-oriented interactions, achieving significant error reductions over baseline approaches.

Introduction

Building conversational agents, such as customer service bots, has historically been a labor-intensive process. Developers typically define "brittle" systems using flowcharts or complex plan-based logic. These systems often fail when users deviate from the expected path. This research addresses the challenge of dialog modeling: inferring the underlying structure of a conversation from transcripts of human-human interaction. Specifically, the goal is to predict Dialog Acts (the intent of an utterance) and Subtask Structure (the current phase of the task, such as "Payment" or "Shipping Info").

Methodology

The researchers developed a multi-stage pipeline to analyze and model dialog structure.

Utterance Processing

Initial steps involve utterance segmentation and syntactic annotation. Spoken language is cleaned of disfluencies (e.g., "um", "uh"), and "supertags" are used to identify the grammatical structure of each sentence. A Maximum Entropy (MaxEnt) classifier is then employed for Dialog Act tagging.

Subtask Modeling

The core of the study compares two distinct structural approaches:

  1. Chunk-based Model: This model treats dialog as a linear sequence of blocks, focusing on precedence (the order of subtasks).
  2. Parse-based Model: This model views dialog as a tree structure, focusing on dominance (how subtasks are nested within larger tasks).
Hierarchical structure of a dialog, illustrating the levels from the overall dialog down to individual clauses.

The models utilize "static features," such as word trigrams from current and previous utterances, ensuring they are suitable for real-time systems by avoiding reliance on future conversational data.

Datasets

The study evaluates these models across three corpora:

  • Catalog Ordering Domain: 915 transcribed telephone dialogs between customers and agents, serving as the primary task-oriented dataset.
  • Maptask: A corpus of direction-giving dialogs.
  • Switchboard-DAMSL: A large collection of spontaneous telephone speech used as a benchmark for dialog act tagging.

Key Insights

A central finding is the relationship between hierarchy and sequence. While task-oriented dialogs have a logical structure, the hierarchical "parse-based" model did not significantly outperform the simpler "chunk-based" model. This suggests that many task-oriented structures are "tail-recursive"—where one subtask simply follows another—making flat models highly efficient.

An example of a hierarchical subtask structure for an 'Order Placement' task, showing how specific info like 'Shipping' is nested under broader categories.

Furthermore, the research highlights that:

  • Context is Critical: Incorporating the previous 1–3 utterances significantly improves accuracy. Adding just one utterance of history reduced error rates by 10% absolute.
  • Well-Formedness Constraints: Forcing the model to follow a logical grammar (e.g., a subtask must have a clear beginning and end) substantially improved performance.

Results

On the Catalog domain, the Dialog Act tagging model achieved an error rate of 42.2% with context. On the Switchboard dataset, it achieved a 16.5% error rate, surpassing previous benchmarks.

For subtask prediction:

  • Baseline (No constraints): 54.4% error rate.
  • Sequence Constraint (Chunk-based): 42.0% error rate.
  • Contextual Sequence (3 previous utterances): 24.7% error rate.
  • Parser-based Model: 24.7% error rate.

The identical performance of the parser and chunk-based models with context suggests that for this domain, the added complexity of a hierarchical model is not strictly necessary for accurate state tracking.

Conclusion and Future Work

While the results are promising, the authors note limitations regarding the use of clean transcripts versus noisy Automated Speech Recognition (ASR) output and the relatively small size of the Catalog domain dataset. Future work will focus on transitioning from dialog analysis to dialog generation, using these learned structures to drive system responses in real-time conversational agents.

Summary updated

BibTeX
@inproceedings{bangalore2006learning,
  author = {Srinivas Bangalore and Giuseppe Di Fabbrizio and Amanda Stent},
  title = {{Learning the Structure of Task-Driven Human-Human Dialogs}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2006},
  doi = {10.3115/1220175.1220201},
}
Figure