Abstract
Goal-oriented dialog systems enable users to complete specific goals like requesting information about a movie or booking a ticket. Typically, the dialog system pipeline contains multiple machine learning (ML) models, including natural language understanding, state tracking, and action prediction. These models require large, labeled, domain-specific datasets, which are expensive and time-consuming to collect via human involvement. In this paper, we propose an approach for automatically creating a large corpus of annotated dialogs from a few seed dialogs and a domain schema. Our approach includes a novel goal-sampling technique and a dialog simulation technique using heuristic interplay between a User Agent and a System Agent. We achieve 18–50% relative accuracy improvements on held-out test sets compared to baselines, validating that our approach effectively generates novel dialog flow variations.
Introduction
Building a conversational agent, such as Alexa or Siri, to handle tasks like booking flights or ordering food presents a significant "cold start" challenge. Training the underlying ML models for Natural Language Understanding (NLU) and dialogue policy requires thousands of labeled examples. Traditionally, researchers rely on "Wizard-of-Oz" (WoZ) setups, where humans simulate the AI to collect data. However, WoZ is difficult to scale across hundreds of domains. Existing automated methods often focus on lexical variety (swapping entity names) but fail to capture the non-linear, messy nature of human conversation, such as mid-sentence corrections or sub-goal jumping. This research aims to bridge that gap by generating logical flow variations alongside lexical diversity.
Methodology
The proposed simulator is structured as two interacting agents: a User Agent and a System Agent. The process involves three core components:
- Goal Representation: A goal is defined as a sequence of intents (e.g.,
FindMovie→SelectShow→BookTickets) and associated entity values. - Goal Sampling: To ensure diversity, two techniques are used. The Golden Goal Sampler samples directly from seed dialogs, while the Markov Goal Sampler uses a generative model to create novel goal sequences based on transition probabilities, allowing the system to imagine valid conversations not present in the seeds.
- User-System Interplay: The agents "play" through the goal. The User Agent reveals needs incrementally, while the System Agent calls simulated APIs. Crucially, the system injects realistic variations such as user corrections ("Actually, make that two tickets") and proactive system offers.
Experimental Results
The researchers evaluated the approach across five task domains, using a small set of 10–50 seed dialogs and a domain schema. Models were tested against a held-out set of 50 dialogs professionally annotated via a WoZ paradigm to ensure ground-truth human behavior.
The simulator was compared against a baseline that only varied language and entities without changing conversation flow. The results demonstrated significant improvements across three key metrics:
- Named Entity Recognition (NER): Achieved an 18.5% relative improvement in F1-score.
- Action Prediction (AP): Improved accuracy by 20.9%.
- Action Signature Prediction (ASP): The most complex task, predicting the correct API call with all necessary arguments, saw a 52.8% relative accuracy boost.
Data efficiency analysis showed that performance improved sharply up to 1,000 synthetic examples and continued to climb through 30,000+ examples, proving that the simulator's diversity effectively prevents model over-fitting.
Conclusion and Future Work
This approach demonstrates that logical flow variety is as critical as vocabulary diversity for training robust conversational models. By simulating user corrections and non-linear paths, models become significantly more resilient to real-world human behavior. While currently reliant on hand-crafted heuristics for agent interplay and templates for natural language generation, future work will explore using advanced neural policies for the agents to further reduce manual effort and improve the naturalness of the generated dialogue.
Summary updated