Abstract
Spurred by recent advances in Large Language Models (LLMs), virtual assistants are poised to take a leap forward in their dialogue capabilities. However, a major bottleneck remains the scarcity of high-quality, complex task-oriented dialogue (TOD) data. Existing datasets often lack realistic conversational phenomena and detailed labeling. We introduce LUCID, a modularized and highly automated LLM-driven data generation system that produces realistic, diverse, and challenging dialogues. Using LUCID, we generated a seed dataset of 4,277 conversations across 100 intents, with human review finding consistently high-quality labels (99% accuracy).
Introduction
Building effective virtual assistants requires massive amounts of TOD data. However, existing datasets suffer from three major flaws: limited complexity (focusing on "happy paths"), scaling bottlenecks (expensive human annotation), and labeling gaps for challenging phenomena. LUCID aims to solve these by automating the entire pipeline—from intent creation to final validation—while ensuring the output remains linguistically sophisticated and accurately labeled.
Methodology: The 14-Stage Pipeline
The core of LUCID is a modularized pipeline of 14 individual LLM calls. Instead of asking one LLM to generate a complex dialogue in a single step, the system breaks the task into manageable components.
Key stages include:
- Intent & Schema Generation: Creating a "mock back-end" for 100 different intents across 13 domains.
- Conversation Planner: Deciding the sequence of intents and injecting "challenging phenomena."
- Turn-by-Turn Generation: A "User LLM" and a "System LLM" interact, with the System LLM calling the mock back-end to update states.
- Validation: Multiple LLM-based validators ensure state tracking accuracy. If independent predictions do not match perfectly, the conversation is discarded.
The LUCID Dataset and "Unhappy Paths"
The LUCID dataset consists of 4,277 conversations covering 100 intents and 501 unique slots. Unlike predecessors, LUCID explicitly labels nine types of challenging phenomena, including ASR errors, irrelevant answers, and overheard background speech.
By forcing the "User LLM" to be difficult (e.g., interrupting a movie review to discipline a child), the researchers created a dataset that tests the limits of modern models' ability to maintain context and track goals under pressure.
Key Results and Insights
- Diversity: LUCID contains significantly more slots per domain (7.7) than SGD (2.3) or MultiWOZ (1.6), indicating a much richer variety of information exchange.
- Model Performance: Baseline models (T5 and Flan-T5) achieved high intent accuracy (~98%) but saw a significant drop in Joint Goal Accuracy (JGA) on unseen intents—from ~69% down to ~45%. This gap demonstrates that LUCID is a challenging and effective test for model generalization.
- Quality: A manual review of 200 dialogues found that automated labels were correct 99% of the time, rivaling the quality of human-annotated datasets.
Conclusion and Future Work
LUCID demonstrates that modularization is superior to simple prompting for generating high-quality synthetic data. By compartmentalizing logic, the system achieves extremely low labeling error rates. Future work will focus on reducing the cost of closed-source LLMs, auditing the realism of random slot combinations, and improving the consistency between internal system labels and natural language generation.
Summary updated