Controllable Data Augmentation for Few-Shot Text Mining with Chain-of-Thought Attribute Manipulation

Letian Peng, Yuwei Zhang, Jingbo Shang
7/14/2023
cs.CL

No official code found. Best implementation: KomeijiForce/CoTAM (18 stars, last commit 2024-05-18).

Abstract

Prompting large language models (LLMs) for data augmentation has recently become a common practice in few-shot NLP tasks. In this paper, we propose Chain-of-Thought Attribute Manipulation (CoTAM), a novel approach that generates new data from existing examples by only tweaking in the user-provided, task-specific attribute, e.g., sentiment polarity or topic in movie reviews. Instead of conventional latent representation controlling, we leverage the chain-of-thought prompting to directly edit the text in three steps, (1) attribute decomposition, (2) manipulation proposal, and (3) sentence reconstruction. Extensive results on various tasks, such as text (pair) classification, aspect-based sentiment analysis, and conditional text generation, verify the superiority of CoTAM over other LLM-based augmentation methods with the same number of training examples for both fine-tuning and in-context learning. Remarkably, the 2D visualization of the augmented dataset using principal component analysis revealed a human-recognizable decision boundary that is likely hinted by the attribute manipulation, demonstrating the potential of our proposed approach.

View on arXivView PDF

Code Implementations(1)

KomeijiForce/CoTAMCommunity100%

Official Implementation of the ACL2024 Findings paper "Controllable Data Augmentation for Few-Shot Text Mining with Chain-of-Thought Attribute Manipulation"

181PythonJul 15, 20232 years ago
large-language-modelsnatural-language-generationnatural-language-inferencenatural-language-processingquestion-answering+3 more

Similar Papers

Cite this paper

@article{peng2023controllable,
  title  = {Controllable Data Augmentation for Few-Shot Text Mining with Chain-of-Thought Attribute Manipulation},
  author = {Letian Peng and Yuwei Zhang and Jingbo Shang},
  year   = {2023},
  eprint = {2307.07099},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.07099v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.07099.svg)](https://codeofpaper.com/paper/2307.07099)

Discussion