TL;DR
This paper introduces TarGEN, a novel, seedless method for generating high-quality synthetic datasets using Large Language Models (LLMs). By employing a multi-step prompting strategy with a self-correction module, TarGEN creates diverse and complex datasets that improve LLM performance, even outperforming existing methods like Self-Instruct.
What Problem Does This Paper Address?
The rapid advancement of LLMs has created a growing need for robust evaluation benchmarks. However, creating high-quality, domain-specific datasets is a time-consuming and labor-intensive process. Existing synthetic data generation methods often rely on specific task instances or seed examples, limiting their applicability to novel or niche domains. This paper addresses the challenge of efficiently generating diverse, high-quality synthetic datasets that can be used to train and evaluate LLMs, especially for tasks where existing data is scarce or non-existent.
Methods
TarGEN employs a four-step, multi-prompting strategy:
- Context Generation: Creates diverse semantic contexts (e.g., "geopolitical news," "book review") to inject variety.
- Instance Seed Generation: Generates atomic linguistic components (passages, sentences) that form the basis of instances, crucially without being input exemplars themselves.
- Label-Constrained Instance Generation: Uses the "instance seeds" and task descriptions to generate data instances, guided by a specific label. This is framed as an inverse generation function.
- Self-Correction Module: An LLM-based module that reviews generated instances and their labels, rectifying any mislabeled data to ensure label reliability and reduce noise.
This approach is "seedless," meaning it doesn't require pre-existing task instances for generation, making it highly adaptable.
Datasets
The authors used the SuperGLUE benchmark to emulate eight tasks for creating their synthetic datasets. They generated synthetic versions of tasks like RTE (Recognizing Textual Entailment), AXg (Gender Diagnostics), BoolQ, WiC (Word-in-Context), CB (CommitmentBank), COPA (Choice of Plausible Alternatives), ReCoRD (Reading Comprehension with Commonsense Reasoning), and WSC (Winograd Schema Challenge). These synthetic datasets were used to train and evaluate various language models.
Key Insights and Ideas
- Seedless Generation is Key: TarGEN's ability to generate data without needing specific task examples is a significant advantage, opening doors for novel and domain-specific applications where data is scarce.
- Self-Correction Boosts Quality: The integrated self-correction module is crucial for improving label accuracy and overall dataset quality, particularly for complex tasks.
- Synthetic Data Can Outperform Original: Models trained on TarGEN's synthetic data consistently matched or even slightly outperformed models trained on original datasets, demonstrating the effectiveness of the generated data.
- Diversity and Complexity: TarGEN-generated datasets exhibit comparable or higher levels of complexity and semantic diversity than their original counterparts, which is vital for robust model evaluation.
Key Results
- Models trained on TarGEN's synthetic SuperGLUE dataset performed 1-3% higher on average than models trained on the original SuperGLUE datasets.
- When pre-finetuned on TarGEN's synthetic SuperGLUE dataset, Llama2 (7B) surpassed the model trained on the Self-Instruct dataset by 2.62% points on the OpenLLM leaderboard.
- Human evaluation indicated that TarGEN-generated datasets had comparable or higher dataset difficulty, semantic diversity, and similar levels of bias compared to original datasets.
- The self-correction module significantly improved performance, leading to an average increase of 5.9% across datasets for T5-3B.
Limitations and Future Work
- LLM Dependency: TarGEN currently relies on ChatGPT for synthesis, and the authors plan to explore other LLMs like GPT-4, Llama2, and Falcon.
- Multilingual and Cross-Benchmark Evaluation: The authors suggest evaluating TarGEN in a multilingual context and on additional benchmarks like BigBench, LILA, and HELM.
- Human Supervision: While TarGEN aims to reduce human supervision, the current evaluation process still involves human assessment. Future work could explore more automated evaluation methods.
Summary updated