Skip to main content
QUICK REVIEW

[Paper Review] ChatGPT as Data Augmentation for Compositional Generalization: A Case Study in Open Intent Detection

Yihao Fang, Xianzhi Li|arXiv (Cornell University)|Aug 25, 2023
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes using ChatGPT to generate synthetic paraphrases for data augmentation in open intent detection, improving compositional generalization. By incorporating these generated utterances into BERT fine-tuning via three distinct strategies, the method significantly boosts performance on unseen intent combinations across multiple benchmarks, with gains of up to 10.5% in F1-OOD scores on certain datasets.

ABSTRACT

Open intent detection, a crucial aspect of natural language understanding, involves the identification of previously unseen intents in user-generated text. Despite the progress made in this field, challenges persist in handling new combinations of language components, which is essential for compositional generalization. In this paper, we present a case study exploring the use of ChatGPT as a data augmentation technique to enhance compositional generalization in open intent detection tasks. We begin by discussing the limitations of existing benchmarks in evaluating this problem, highlighting the need for constructing datasets for addressing compositional generalization in open intent detection tasks. By incorporating synthetic data generated by ChatGPT into the training process, we demonstrate that our approach can effectively improve model performance. Rigorous evaluation of multiple benchmarks reveals that our method outperforms existing techniques and significantly enhances open intent detection capabilities. Our findings underscore the potential of large language models like ChatGPT for data augmentation in natural language understanding tasks.

Motivation & Objective

  • To address the challenge of compositional generalization in open intent detection, where models must recognize unseen combinations of language components.
  • To identify limitations in existing benchmarks for evaluating compositional generalization in open intent detection tasks.
  • To develop and evaluate a data augmentation framework using ChatGPT to improve model robustness to out-of-distribution intent compositions.
  • To systematically compare different integration strategies of GPT-generated data into BERT-based training pipelines.

Proposed method

  • Construct compositionally diverse subsets from existing open intent detection benchmarks using Rouge-based similarity clustering to identify and prune redundant instances.
  • Use ChatGPT to generate paraphrases of training utterances, creating synthetic data that preserves intent while varying surface forms.
  • Incorporate the generated paraphrases into BERT fine-tuning using three distinct strategies: early-fusion, late-fusion, and iterative retraining.
  • Apply the DA-ADB framework for open-set classification, combining adaptive decision boundaries with the augmented training data to improve OOD detection.
  • Use iterative training with early stopping based on validation accuracy to optimize model convergence.
  • Evaluate performance across multiple benchmarks (Banking_CG, OOS_CG, StackOverflow_CG) using F1-macro scores for in-distribution and out-of-distribution intents.
(a) Dataset construction
(a) Dataset construction

Experimental results

Research questions

  • RQ1Can synthetic data generated by ChatGPT improve compositional generalization in open intent detection models?
  • RQ2How do different integration strategies of GPT-generated data affect model performance on unseen intent compositions?
  • RQ3Does data augmentation with large language models like ChatGPT lead to measurable improvements in F1-OOD and accuracy across multiple open intent detection benchmarks?
  • RQ4How does the proposed method compare to existing state-of-the-art approaches in terms of robustness to out-of-distribution samples?

Key findings

  • The proposed method achieved a 10.5% absolute improvement in F1-OOD score on the StackOverflow_CG benchmark at 75% training data ratio, reaching 80.47% compared to 69.96% in baseline.
  • On the OOS_CG benchmark, the method achieved a peak F1-OOD of 92.80% at 25% data ratio, significantly outperforming the baseline of 73.64%.
  • The best-performing strategy—iterative retraining with early stopping—consistently improved F1-All and accuracy across all benchmarks and data ratios.
  • The method demonstrated strong generalization, with F1-OOD scores increasing by up to 12.5 percentage points on certain datasets when using 50% of the original training data.
  • The use of compositionally diverse subsets improved model robustness, as evidenced by consistent performance gains even at low data ratios.
  • The results confirm that LLM-generated data augmentation is a viable and effective approach for enhancing compositional generalization in open-world NLU tasks.
(b) ChatGPT data augmentation
(b) ChatGPT data augmentation

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.