Skip to main content
QUICK REVIEW

[Paper Review] Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Bias

Yue Yu, Yuchen Zhuang|arXiv (Cornell University)|Jun 28, 2023
Topic ModelingComputer Science72 citations
TL;DR

The paper proposes AttrPrompt, a method that uses diversely attributed prompts with LLMs to generate training data, demonstrating improved model performance and reduced bias over simple prompts across high-cardinality classification tasks, with better data efficiency.

ABSTRACT

Large language models (LLMs) have been recently leveraged as training data generators for various natural language processing (NLP) tasks. While previous research has explored different approaches to training models using generated data, they generally rely on simple class-conditional prompts, which may limit the diversity of the generated data and inherit systematic biases of LLM. Thus, we investigate training data generation with diversely attributed prompts (e.g., specifying attributes like length and style), which have the potential to yield diverse and attributed generated data. Our investigation focuses on datasets with high cardinality and diverse domains, wherein we demonstrate that attributed prompts outperform simple class-conditional prompts in terms of the resulting model's performance. Additionally, we present a comprehensive empirical study on data generation encompassing vital aspects like bias, diversity, and efficiency, and highlight three key observations: firstly, synthetic datasets generated by simple prompts exhibit significant biases, such as regional bias; secondly, attribute diversity plays a pivotal role in enhancing model performance; lastly, attributed prompts achieve the performance of simple class-conditional prompts while utilizing only 5\% of the querying cost of ChatGPT associated with the latter. The data and code are available on \url{https://github.com/yueyu1030/AttrPrompt}.

Motivation & Objective

  • Investigate whether attributing prompts (e.g., length, location, style) yields more diverse and informative generated data than simple class-conditional prompts (SimPrompt).
  • Quantify biases and diversity in LLM-generated data across high-cardinality, multi-domain classification tasks.
  • Evaluate data efficiency (cost) and compatibility across model sizes and LLM-as-data-generator approaches.
  • Provide a semi-automated workflow for attribute dimension identification and value filtering to reduce ambiguity.
  • Release generated data and prompts to facilitate future research.

Proposed method

  • Identify attribute dimensions and values per dataset using interactive human-AI collaboration with ChatGPT.
  • Generate attributed prompts (AttrPrompt) by randomly combining attribute dimensions/values to create diverse prompts.
  • Compare AttrPrompt against SimPrompt and Gold data using standard fine-tuning of BERT-family classifiers.
  • Apply Class-Dependent Attribute Value Filtering (CAF) to prevent ambiguity for class-dependent attributes.
  • Evaluate lexical and structural diversity using metrics like vocabulary size, cosine similarity, APS, and INGF.
  • Assess data efficiency by comparing performance versus query cost across multiple LLMs and model sizes.
  • Demonstrate plug-in compatibility by integrating AttrPrompt with other data-generation methods.

Experimental results

Research questions

  • RQ1Does using diversely attributed prompts improve downstream model performance compared to simple class-conditional prompts on high-cardinality tasks?
  • RQ2How do attribute diversity and CAF affect data bias, diversity, and model performance?
  • RQ3What is the cost and data efficiency trade-off when using AttrPrompt versus SimPrompt across different datasets and models?
  • RQ4Can AttrPrompt enhance existing data-generation approaches and benefit multi-label classification?
  • RQ5How does attribute diversity influence performance in low-data versus high-data regimes?

Key findings

  • AttrPrompt consistently outperforms SimPrompt by a margin of approximately 6–10 points on several datasets.
  • AttrPrompt achieves similar performance to SimPrompt at only about 5% of the ChatGPT querying cost.
  • Attribute diversity is crucial; one-fixed-others-random configurations underperform random configurations, and selecting individually best attributes hurts performance.
  • AttrPrompt yields more balanced attribute distributions than Gold or SimPrompt in location attributes for NYT, reducing regional bias.
  • Diversity metrics show AttrPrompt has higher lexical diversity than SimPrompt and closer to Gold, though both are below Gold in diversity.
  • AttrPrompt improves performance when merged with original training data and serves as a valuable plug-in for other data-generation methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.