Skip to main content
QUICK REVIEW

[Paper Review] Increasing Diversity While Maintaining Accuracy: Text Data Generation with Large Language Models and Human Interventions

John Joon Young Chung, Ece Kamar|arXiv (Cornell University)|Jun 7, 2023
Topic ModelingComputer Science5 citations
TL;DR

This paper proposes a human-AI collaboration framework that combines large language models (LLMs) with targeted human interventions to generate text datasets with high diversity and accuracy. By applying logit suppression and temperature sampling for diversification, and using label replacement to correct misaligned labels—resulting in a 14.4% absolute accuracy gain—models trained on LLM-generated data outperform even GPT-3 few-shot classification.

ABSTRACT

Large language models (LLMs) can be used to generate text data for training and evaluating other models. However, creating high-quality datasets with LLMs can be challenging. In this work, we explore human-AI partnerships to facilitate high diversity and accuracy in LLM-based text data generation. We first examine two approaches to diversify text generation: 1) logit suppression, which minimizes the generation of languages that have already been frequently generated, and 2) temperature sampling, which flattens the token sampling probability. We found that diversification approaches can increase data diversity but often at the cost of data accuracy (i.e., text and labels being appropriate for the target domain). To address this issue, we examined two human interventions, 1) label replacement (LR), correcting misaligned labels, and 2) out-of-scope filtering (OOSF), removing instances that are out of the user's domain of interest or to which no considered label applies. With oracle studies, we found that LR increases the absolute accuracy of models trained with diversified datasets by 14.4%. Moreover, we found that some models trained with data generated with LR interventions outperformed LLM-based few-shot classification. In contrast, OOSF was not effective in increasing model accuracy, implying the need for future work in human-in-the-loop text data generation.

Motivation & Objective

  • Address the challenge of generating high-quality, diverse, and accurate text datasets for downstream classification tasks using LLMs.
  • Investigate how technical diversification methods in LLM text generation affect data quality and downstream model performance.
  • Evaluate the impact of human interventions—specifically label replacement and out-of-scope filtering—on improving accuracy and diversity of LLM-generated datasets.
  • Demonstrate that human-corrected, diversified LLM-generated data can surpass the performance of few-shot GPT-3 classification.
  • Identify limitations in current human-in-the-loop strategies, particularly the ineffectiveness of out-of-scope filtering in improving model accuracy.

Proposed method

  • Apply logit suppression to reduce repetition by suppressing frequently generated tokens during text generation.
  • Use high-temperature sampling to flatten token probability distributions, encouraging the generation of less likely but diverse sequences.
  • Implement label replacement (LR) as a human intervention to correct misaligned labels in LLM-generated data.
  • Apply out-of-scope filtering (OOSF) to remove instances that do not belong to the target domain or lack valid labels.
  • Conduct oracle studies to simulate human corrections and evaluate their impact on model performance using proxy models.
  • Train and evaluate downstream classification models on LLM-generated datasets with and without human interventions to measure accuracy, diversity, and similarity to original datasets.
Figure 1: Examples of Diversification Approaches.
Figure 1: Examples of Diversification Approaches.

Experimental results

Research questions

  • RQ1How do logit suppression and temperature sampling affect the diversity and accuracy of LLM-generated text data?
  • RQ2To what extent does label replacement improve the accuracy of models trained on diversified LLM-generated datasets?
  • RQ3Can out-of-scope filtering effectively improve model accuracy, or does it harm performance by removing potentially useful training instances?
  • RQ4Can LLM-generated datasets, when enhanced with human interventions, outperform few-shot learning with GPT-3?
  • RQ5How do different combinations of diversification and human intervention strategies impact model generalization and data quality metrics?

Key findings

  • Logit suppression and high-temperature sampling successfully increase text diversity but significantly reduce label accuracy and similarity to original datasets.
  • Label replacement increased the absolute accuracy of models trained on diversified LLM-generated data by 14.4% in oracle studies.
  • With 180 label-replaced instances, models trained on LLM-generated data surpassed the performance of GPT-3 few-shot classification.
  • Out-of-scope filtering did not improve model accuracy and sometimes reduced diversity, suggesting it may not be an effective strategy without refined criteria.
  • The combination of diversification and label replacement led to more stable and higher-performing models compared to uncorrected or filtered data.
  • Out-of-scope filtering had minimal impact on data quality metrics, with only subtle or insignificant changes in label accuracy, diversity, and similarity within 95% confidence intervals.
Figure 2: Impact of logit suppression and high temperatures on model accuracy, label accuracy, diversity, and similarity to the oracle dataset, averaged across eight tasks. Bars without hatches start generation without examples while those with hatches start with few-shot generation. Throughout this
Figure 2: Impact of logit suppression and high temperatures on model accuracy, label accuracy, diversity, and similarity to the oracle dataset, averaged across eight tasks. Bars without hatches start generation without examples while those with hatches start with few-shot generation. Throughout this

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.