Abstract
The capabilities of pretrained language models have opened opportunities to explore new application areas, but applications involving human-human interaction are limited by the fact that most data is protected from public release for privacy reasons. Problem-solving human dialogues in real applications can be much more complex than existing Wizard-of-Oz collections, preventing successful domain transfer. To support information extraction (IE) for a private call center dataset, we introduce a human-in-the-loop dialogue generation framework capable of synthesizing realistic dialogues. In IE experiments with auto insurance call center dialogues, we observe 25% relative improvement in $F_1$ after augmenting a small set of real human conversations with synthetic data. We release code and our synthetic dataset to illustrate the complexity of real-world call center conversations and encourage development of complex dialogue datasets that are more representative of natural data.
Introduction
In high-stakes fields like healthcare, finance, and insurance, human-human dialogues (such as call center recordings) contain vital information for automation. However, researchers face two primary obstacles: privacy restrictions that prevent the public release of real-world data, and a "complexity gap." Existing public datasets, often collected via "Wizard-of-Oz" simulations, are typically shorter and more linear than actual human speech, which is frequently messy, repetitive, and non-linear.
While Large Language Models (LLMs) can generate text, they often struggle with long-term coherence or produce overly sanitized dialogues. To bridge this gap, we present DIALGEN, a collaborative human-in-the-loop framework that leverages LLMs to synthesize complex, realistic dialogues for data-scarce domains.
Methodology: The DIALGEN Framework
DIALGEN treats dialogue generation as a collaborative effort between an LLM (e.g., ChatGPT) and a human expert. The process is structured into a multi-stage pipeline designed to ensure both complexity and factual consistency.
- Prompt Creation: The process begins with an expert-defined ontology (e.g., slots like "Damage Part" or "Car Motion"). The system samples "triplets" (Entity, Slot, Value) and prompts the LLM to create a narrative "story" and distinct personalities for the caller and agent.
- Iterative Subdialogue Generation: Rather than generating a full call in one pass, the LLM generates "sub-dialogues." A human reviewer validates these segments, editing or requesting regenerations if the model hallucinates or loses coherence.
- Annotation and State Tracking: Final dialogues are annotated to handle real-world nuances like updates (e.g., a caller correcting the number of passengers). For Information Extraction (IE), we utilized T5 and Long-T5 architectures, specifically a T5-SC (State Change) variant that tracks updates to the dialogue state efficiently over long contexts.
Datasets
We evaluated our framework using two primary datasets:
- AIC (Auto Insurance Claims): A private dataset of 34 real-world transcribed calls, averaging a massive 197 turns per call.
- DIALGEN-AIC: Our synthetic dataset consisting of 235 dialogues. While shorter than the real calls (averaging 46 turns), they are significantly more complex than standard benchmarks like MultiWOZ (14 turns).
Key Results and Insights
Our experiments demonstrate that synthetic data generated via DIALGEN significantly enhances model performance on real-world tasks. By augmenting the small AIC dataset with DIALGEN-AIC data, we achieved a 25% relative improvement in $F_1$ score for information extraction.
Key findings include:
- Human-in-the-Loop is Essential: 58% of LM-generated turns required human editing, and 20% were deleted, indicating that current LLMs cannot yet generate high-fidelity task-oriented dialogues autonomously.
- Synthetic Data Density: We found that approximately 2.1 turns of synthetic data match the informational value of 1 turn of real human data. Given the lower cost of generation compared to manual collection, this is a highly favorable trade-off.
- Handling Updates: By prompting the LLM to include "corrections" (e.g., misremembered details), the resulting models learned to handle value updates more robustly, a critical feature for real-world applications.
Conclusion
DIALGEN demonstrates that human-LM collaboration can produce high-quality synthetic data that effectively bridges the gap between simple simulated datasets and complex, private human-human conversations. By releasing our code and the DIALGEN-AIC dataset, we hope to encourage the community to tackle the challenges of long-form, multi-entity dialogue understanding.
Summary updated