Textual Data Augmentation for Efficient Active Learning on Tiny Datasets

Husam Quteineh, Spyridon Samothrakis, Richard F. E. SutcliffeEMNLP 2020

Abstract

Active Learning (AL) typically relies on a large pool of unlabeled data to identify informative samples for human labeling. However, in many real-world "cold-start" scenarios, such a pool does not exist. This paper proposes a novel approach using Monte Carlo Tree Search (MCTS) to guide a pre-trained language model (GPT-2) in generating highly informative synthetic examples from scratch. By optimizing for uncertainty and diversity, the method significantly boosts classifier performance on tiny datasets, achieving up to a 26% absolute increase in accuracy on benchmark tasks.

Introduction: The Challenge of Tiny Datasets

Active Learning is a powerful strategy for training models when labeling is expensive. Traditionally, an algorithm selects the most "informative" examples from a vast unlabeled pool for human annotation. The bottleneck arises when this pool is unavailable—a common situation in niche domains or early-stage research. Manual data collection is slow, and standard augmentation techniques often lack the linguistic complexity required to challenge and improve a model. This research addresses the challenge of generating a high-quality unlabeled pool from a "tiny" initial seed set.

Methodology: MCTS-Guided Generation

The core innovation is the use of Monte Carlo Tree Search (MCTS) to steer text generation toward informative regions of the feature space. Rather than sampling randomly from a language model, the authors treat sentence construction as an optimization problem.

  1. Language Model Backbone: A small GPT-2 model is fine-tuned on the initial tiny dataset to learn the basic domain structure.
  2. Search Tree Navigation: MCTS explores the vast space of word combinations. Each node in the tree represents a token, and paths represent potential sentences.
  3. Reward-Driven Search: The search is guided by a reward function designed to maximize information gain. Two primary rewards were evaluated:
  4. Uncertainty-Based: Rewards sentences that maximize the entropy of the current classifier, targeting areas where the model is most confused.
  5. Diversity-Based: Penalizes sentences similar to existing data (using cosine similarity) to ensure broad coverage of the feature space.
Visualization of the MCTS-guided text generation process, where the red path highlights a selected informative sequence.

The iterative loop involves generating candidates via MCTS, ranking them by reward, obtaining human labels for the top $n$ samples, and retraining the classifier.

Experimental Setup

The approach was evaluated on two NLP benchmarks modified for "tiny" starts:

  • TREC-6 (Question Classification): Started with only 5 examples per label (30 total).
  • SST-2 (Sentiment Analysis): Started with 10 examples per label (20 total).

The method was compared against Non-Guided Data Generation (NGDG), which generates text based solely on the language model's probability distribution without an informative search objective.

Key Results and Discussion

The results demonstrate that guided generation is significantly more effective than both the baseline and unguided generation.

Performance metrics for the TREC-6 dataset across multiple Active Learning runs, showing MCTS variants outperforming NGDG.

On the TREC-6 dataset, accuracy rose from a baseline of 65% to 91% using MCTS—a 26% absolute improvement. On SST-2, accuracy increased from 73% to 83%. Notably, MCTS consistently outperformed NGDG, suggesting that the "steering" provided by the search algorithm is crucial for identifying the most beneficial training samples.

A key insight is the role of pre-trained knowledge. Even when fine-tuned on minimal data, GPT-2 leverages its internal world knowledge to introduce new concepts (e.g., specific professions or topics) not present in the initial seed set, facilitating "cross-type" learning.

Limitations and Future Directions

While effective, the approach faces certain challenges. Searching for high-entropy samples can sometimes lead to "noisy" or ungrammatical sentences, as gibberish often confuses classifiers. Future work could integrate a "sentence quality" metric into the reward function. Additionally, MCTS is computationally intensive compared to simple sampling. Scaling to larger models like Llama 3 or GPT-4 may further improve coherence and diversity, potentially reducing the need for human intervention through semi-supervised techniques.

Summary updated

BibTeX
@inproceedings{quteineh2020textual,
  author = {Husam Quteineh and Spyridon Samothrakis and Richard F. E. Sutcliffe},
  title = {{Textual Data Augmentation for Efficient Active Learning on Tiny Datasets}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.600},
}
Figure