SynthBio: A Case Study in Faster Curation of Text Datasets

Ann Yuan, Daphne Ippolito, Vitaly Nikolaev, Chris Callison-Burch, Andy Coenen, Sebastian Gehrmann

TL;DR

The paper introduces SynthBio, a novel method for efficiently curating high-quality text datasets by combining large language models (LLMs) with human editors. This approach generates synthetic data that is less noisy, more balanced, and better suited for evaluating LLMs than existing datasets like WikiBio, which suffer from real-world biases and noise.

What Problem Does This Paper Address?

The field of Natural Language Generation (NLG) is hungry for high-quality, labeled text datasets. Creating these datasets is a bottleneck: human annotation is expensive and time-consuming, while automatically collected datasets from the web (like WikiBio) are often noisy, contain biases, and risk "contaminating" model training by including data that models might have already seen. This contamination is a growing concern with large pre-trained models. Existing datasets also tend to be biased towards certain demographics (e.g., male, Western individuals) and may not adequately represent the full spectrum of language phenomena. The authors aim to address these issues by developing a more efficient and controlled method for dataset curation.

Methods

The core of the paper's contribution is a hybrid human-AI workflow for dataset curation. Instead of humans writing data from scratch, LLMs generate initial "seed" examples, which human raters then edit. This shifts the task from "writing" to "editing," which is significantly faster.

The process involves:

  1. Synthesizing Attribute Lists: An LLM (specifically, a fine-tuned version called LLM-DIALOG) is used to generate initial attribute lists for fictional individuals. These lists are then revised by human annotators for factual plausibility, appropriateness, and formatting.
  2. Synthesizing Biographies: The revised attribute lists are fed into another LLM to generate draft biographies.
  3. Human Revision of Biographies: Human raters then edit these biographies for faithfulness to the attribute list, fluency, and formatting.

This iterative process, where humans refine LLM-generated content, aims to balance efficiency with high quality and control over dataset properties.

Datasets

  • WikiBio: This is the existing structure-to-text dataset used as a benchmark. It consists of attribute lists (from Wikipedia infoboxes) mapped to natural language biographies of real people. The paper highlights its noise, biases, and potential for training-test contamination.
  • SynthBio: This is the new dataset introduced by the authors. It's a synthetic evaluation set for WikiBio, comprising 2,249 infoboxes describing fictional individuals and 4,692 biographies. SynthBio is designed to be less noisy, more balanced in terms of gender and nationality, and to include a wider range of notability types (including rarer ones) compared to WikiBio.

Key Insights and Ideas

  • Editing is Faster Than Writing: The core hypothesis that human editing of LLM-generated content is more efficient than human writing from scratch is validated. This is a crucial insight for scaling dataset creation.
  • Controlling Dataset Properties: The synthetic nature of SynthBio allows for deliberate control over dataset characteristics like gender balance, nationality distribution, and the inclusion of less common notability types. This is a powerful tool for studying model behavior beyond common cases.
  • LLMs as "Seed Generators": LLMs are not used to fully automate dataset creation but rather as sophisticated "seed generators" that provide a strong starting point for human editors, significantly reducing their workload.
  • Synthetic Data for Robust Evaluation: By creating a dataset that is less prone to memorization and real-world biases, SynthBio can provide a more accurate measure of a model's true understanding and generalization capabilities, rather than its ability to recall facts from pre-training data.
  • Human-AI Collaboration is Key: The paper strongly advocates for hybrid workflows, emphasizing that while LLMs are powerful, human oversight and editing are essential for ensuring quality, faithfulness, and mitigating potential harms.

Key Results

  • Improved Faithfulness and Coverage: Human evaluation showed that SynthBio biographies are significantly more faithful to their corresponding attribute lists and have better coverage of attributes compared to WikiBio biographies.
  • Comparable Fluency: SynthBio biographies maintained a high level of fluency, comparable to WikiBio.
  • Reduced Noise and Bias: SynthBio is demonstrably less noisy and more balanced with respect to gender and nationality than WikiBio. For instance, SynthBio shows a more even distribution of gender pronouns.
  • Model Performance Differences: Models trained on WikiBio performed worse on SynthBio, suggesting that SynthBio acts as a more challenging evaluation set that requires deeper understanding rather than memorization.
  • Efficiency Gains: The human-AI editing approach was found to be more efficient than purely manual annotation.

Limitations and Future Work

  • Subtle Biases Remain: Despite efforts to control for biases, the authors acknowledge that subtle correlations introduced by the LLM seed data and potential unconscious biases from human annotators might still exist. For example, SynthBio may show more non-Western birthplaces than expected for certain nationalities.
  • Geographic and Notability Distribution: While improved, the dataset doesn't perfectly represent the global distribution of all notability types or countries.
  • Language Limitation: The dataset is currently only in English.
  • Future Work: The authors suggest further research into controlling dataset properties, exploring more sophisticated human-AI collaboration techniques, and investigating the use of synthetic datasets for tasks beyond evaluation, such as finetuning to address model bias. They also encourage the creation of more synthetic datasets with controlled properties.

Summary updated

BibTeX
@inproceedings{yuan2021synthbio,
  author = {Ann Yuan and Daphne Ippolito and Vitaly Nikolaev and Chris Callison-Burch and Andy Coenen and Sebastian Gehrmann},
  title = {{SynthBio: A Case Study in Faster Curation of Text Datasets}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=Fkpr2RYDvI1},
}
Figure