NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Data Boost: Text Data Augmentation Through Reinforcement Learning Guided Conditional Generation

Ruibo Liu, Guangxuan Xu, Chenyan Jia, Weicheng Ma, Lili Wang, Soroush Vosoughi

In computer vision, data augmentation is often considered a "free lunch"—simple transformations like flipping or cropping images create new training samples while preserving labels. In Natural Language Processing (NLP), however, the lunch is rarely free. Subtle changes in word choice or order can flip a sentiment from positive to negative or render a sentence nonsensical.

To address this, researchers from Dartmouth and UT Austin developed Data Boost, a framework that leverages reinforcement learning (RL) to "steer" pre-trained language models (LMs) toward generating high-quality, label-consistent synthetic data.

The Challenge of Text Augmentation

The primary hurdle in text augmentation is balancing diversity and integrity. Naive methods like random word swapping often break grammar or remove label-defining keywords. Back-translation, while fluent, often suffers from "lexical shrinkage," where models converge on common words, reducing dataset diversity. While training task-specific conditional LMs from scratch is an option, it is computationally expensive and requires the very labeled data that researchers are trying to augment.

Methodology: RL-Guided Decoding

Data Boost utilizes a pre-trained GPT-2 model as its foundation. Instead of costly fine-tuning, the framework modifies the decoding stage using Reinforcement Learning.

Comparison of generation strategies: (a) Unconditional, (b) standard Conditional, and (c) the proposed RL-guided Conditional Generation.

The process involves an RL loop where every generated token is evaluated by a reward function:

  1. Salience Gain: A "salient lexicon" is built for each class based on word frequency. Generating words strongly correlated with the target label (e.g., "adorable" for positive sentiment) yields higher rewards.
  2. KL Penalty: To maintain readability and prevent the model from outputting repetitive keywords, a Kullback–Leibler (KL) divergence penalty ensures the output distribution remains close to the original GPT-2's natural language distribution.

This "nudging" approach allows for dynamic control over the strength of class guidance versus linguistic fluency.

Key Results and Empirical Performance

The framework was evaluated across three tweet-based classification tasks: offense detection, sentiment analysis, and irony classification.

F1 performance on Irony Classification comparing normal training data vs. data boosted with synthetic examples, highlighting gains in low-resource scenarios.

Data Boost demonstrated its greatest impact in low-resource settings. When only 10% of training data was available, it improved F1 scores by an average of 8.7%. In extreme cases with only 1% data, absolute F1 increases reached up to 12.4%. Furthermore, the synthetic data proved robust across various architectures, including CNNs, Bi-LSTMs, and Transformers (BERT/XLNet).

Human evaluation confirmed the quality of the generated text. In a study with 178 evaluators, Data Boosted text was rated as having comparable readability to original human-written tweets.

Insights and Limitations

A significant finding of this work is that lexical salience is a sufficient signal for RL agents to guide models effectively, often outperforming more complex discriminator-based methods. By generating entirely new sentences rather than just substituting words, Data Boost introduces substantial linguistic variety.

However, the reliance on a salient lexicon introduces a limitation: the framework struggles with tasks where labels depend on complex syntax or abstract concepts (e.g., metaphor or sarcasm) rather than specific vocabulary. Future research aims to incorporate syntactic and positional features into the reward function to better capture these nuances.

Summary updated

BibTeX
@inproceedings{liu2020data,
  author = {Ruibo Liu and Guangxuan Xu and Chenyan Jia and Weicheng Ma and Lili Wang and Soroush Vosoughi},
  title = {{Data Boost: Text Data Augmentation Through Reinforcement Learning Guided Conditional Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  url = {https://openreview.net/forum?id=qLpXXAT0WXm},
}
Figure