Controllable and Diverse Data Augmentation with Large Language Model for Low-Resource Open-Domain Dialogue Generation

Zhenhua Liu, Tong Zhu, Jianxiang Xiang, Wenliang ChenarXiv 2024

TL;DR

Summary-based Dialogue Augmentation (SDA) is a novel framework that uses dialogue summaries as a "planning tool" to guide Large Language Models (LLMs) in generating high-quality, diverse training data for low-resource dialogue systems. By bootstrapping summaries rather than raw text, the method achieves superior semantic diversity and better matches the original data distribution compared to traditional augmentation or direct prompting.

What Problem Does This Paper Address?

Training effective open-domain dialogue models requires massive amounts of high-quality, semantically diverse data. However, in niche scenarios (like counseling or empathetic chat), data is scarce and expensive to annotate.

Traditional Data Augmentation (DA) methods, such as word-swapping or back-translation, often produce "shallow" variations that lack semantic novelty. Conversely, while LLMs are great at generating diverse text via In-Context Learning (ICL), they often suffer from distribution shift—generating dialogues that drift too far from the style or topic of the original "seed" data—and lack controllability. The authors aim to bridge this gap: how can we use LLMs to generate data that is both highly diverse and strictly relevant to the target domain?

Methods

The authors propose a three-step pipeline called SDA, leveraging the In-Context Learning capabilities of LLaMA-7B:

  1. Seed Dialogue Summarization: Every dialogue in the small seed dataset is converted into a concise summary that captures its main topics and flow.
  2. Summary Augmentation: The LLM is prompted to generate new dialogue summaries based on the seed summaries. This "bootstrapping" approach allows the model to explore new topics while maintaining the structural "feel" of the original data.
  3. Dialogue Generation with Summary: Finally, the augmented summaries act as a blueprint. The LLM generates a full multi-turn dialogue by iteratively following the plan laid out in the summary.
Figure 2: Main framework of our method. The process is in three steps: (1) First, summarizing the seed dialogue into dialogue summary. (2) Secondly, we leverage the seed dialogue summary to generate more dialogue summaries with a wide diversity of topics. (3) Finally, we convert the augmented dialogue summary back into dialogue. All these steps are performed by LLM.

To ensure quality, the authors include Data Filtering steps:

  • Summary Filtering: Uses ROUGE-L to ensure new summaries aren't just copies of the seeds.
  • Dialogue Filtering: Uses sentence embeddings and cosine similarity to prune dialogues that are too similar to existing ones in the pool.

Crucially, they also introduce a new metric, SEMANTICDIVERSITY (SD). Unlike standard metrics like "Distinct-n" which look at word-level repetition, SD uses K-Means clustering in the embedding space to measure how sparsely the augmented data is distributed relative to the seed data.

Datasets

The researchers evaluated their method using DAILYDIALOG, a high-quality human chit-chat dataset. To simulate a low-resource environment, they sampled a tiny "seed" set of just 100 dialogues for training, comparing SDA against baselines like Masked Language Modeling (MLM) and standard In-Context Learning (ICL).

Key Insights and Ideas

  • Summaries as Semantic Anchors: The core "aha" moment is that summaries provide a higher level of abstraction than raw text. By augmenting at the summary level, the LLM can innovate on topics without losing the structure of a natural conversation.
  • Controllability via Planning: Direct prompting often leads to unexpected or "hallucinated" dialogue flows. Using a summary as a plan forces the LLM to stay on track, significantly reducing distribution shift.
  • Word-level vs. Semantic Diversity: The results show that a dataset can have high word-level diversity (lots of unique words) but low semantic diversity (all talking about the same thing). The new SD metric provides a more meaningful way to evaluate if an augmentation method is actually adding "new information" to the training set.

Key Results

SDA consistently outperformed traditional and direct LLM-based augmentation methods across multiple dimensions:

  • Fluency: SDA achieved the lowest Perplexity (PPL) of 3.58, indicating the most natural-sounding text.
  • Diversity: SDA reached the highest SEMANTICDIVERSITY (SD) score of 77.52, significantly higher than standard ICL (75.85) and MLM (61.81).
  • Downstream Performance: When a BART-large model was trained on the augmented data, the SDA-trained version achieved the best SacreBLEU (1.34) and ROUGE-L (12.96) scores, proving that the quality of augmented data translates directly to model performance.
Figure 4: The t-SNE visualization of augmented dia- logues.

Limitations and Future Work

The authors acknowledge several areas for further exploration:

  • Model Scale: Due to hardware constraints, they only tested LLaMA-7B. They hypothesize that larger models (e.g., 70B+) would produce even higher-quality augmentations.
  • Augmentation Limits: The study doesn't define the "saturation point"—the point at which adding more augmented data stops helping the downstream model.
  • Domain Specificity: While successful on DAILYDIALOG, the prompts might need manual tuning for highly specialized domains (e.g., medical or legal dialogue) to ensure the LLM respects specific constraints.

Summary updated

BibTeX
@misc{liu2024controllable,
  author = {Zhenhua Liu and Tong Zhu and Jianxiang Xiang and Wenliang Chen},
  title = {{Controllable and Diverse Data Augmentation with Large Language Model for Low-Resource Open-Domain Dialogue Generation}},
  year = {2024},
  eprint = {2404.00361},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.00361},
}
Figure