PromDA: Prompt-based Data Augmentation for Low-Resource NLU Tasks

Yufei Wang, Can Xu, Qingfeng Sun, Huang Hu, Chongyang Tao, Xiubo Geng, Daxin Jiang

Abstract

Data scarcity remains a significant hurdle for Natural Language Understanding (NLU) tasks. Traditional data augmentation techniques often struggle in extreme low-resource settings, either producing ungrammatical samples or causing generative models to overfit and memorize small training sets. We present PromDA (Prompt-based Data Augmentation), a novel framework that leverages frozen Large Language Models (LLMs) and soft prompt tuning to generate high-quality, diverse synthetic data. By restricting model updates to a small set of prompt vectors and employing a dual-view generation strategy with consistency filtering, PromDA effectively "hallucinates" useful training signals. Our evaluation across sequence labeling and classification benchmarks shows that PromDA significantly outperforms existing baselines, achieving over 10% F1 improvement in 10-shot scenarios.

Introduction: The Data Scarcity Challenge

Deep learning's success in NLU is largely predicated on the availability of massive labeled datasets. However, in specialized domains or emerging tasks, obtaining such data is often prohibitively expensive or impossible. This "low-resource" bottleneck has led to various augmentation strategies. Heuristic methods like Easy Data Augmentation (EDA) often compromise linguistic integrity through random swaps or deletions. Conversely, generative approaches that fine-tune models like T5 on a handful of examples frequently suffer from catastrophic overfitting; instead of learning the underlying distribution, the model simply memorizes and regurgitates the training samples.

PromDA addresses these issues by decoupling the generation process from the underlying model's parameters. By using soft prompts to steer a frozen, knowledge-rich Pre-trained Language Model (PLM), PromDA preserves the model's general reasoning capabilities while adapting it to specific NLU tasks.

The PromDA Framework

PromDA treats data augmentation as a controlled generation task. The framework is built upon four pillars designed to maximize quality and diversity while minimizing overfitting.

1. Soft Prompting as a Regularizer

To prevent the model from memorizing the limited training data (e.g., 10–100 samples), PromDA freezes the entire PLM (such as T5-Large). It only trains a small set of continuous "soft prompt" vectors prepended to the input at every layer. This constraint acts as a powerful regularizer, forcing the model to use its broad, pre-trained "common sense" to generate text rather than overfitting to specific training instances.

2. Task-Agnostic Prompt Pre-training

Initializing prompts randomly often leads to poor performance in extreme low-resource settings. PromDA introduces a pre-training phase on a general corpus (C4) using a "Keyword-to-Sentence" task. The prompt learns to reconstruct original sentences from a jumble of keywords and their synonyms. This teaches the prompt the mechanics of coherent sentence construction before it ever encounters the specific NLU task.

3. Dual-View Generation

To maximize the diversity of the synthetic data, PromDA generates samples from two distinct perspectives:

  • Output View: The model generates a sentence based on a target label (e.g., "Generate a Positive movie review").
  • Input View: The model generates a sentence based on keywords extracted from the original training data.

By combining these views, the framework produces a wider variety of linguistic structures and vocabulary than single-view methods.

4. Iterative Consistency Filtering

Not all generated data is beneficial. PromDA employs an iterative loop where an NLU model (the "filter," such as BERT) predicts labels for the synthetic samples. Only samples where the NLU model’s prediction matches the generator’s intended label are added to the training set. This ensures that the synthetic data provides a clear and consistent signal for the final model.

The PromDA framework: (Left) Frozen PLM with soft prompts, (Middle) Dual-view generation examples, (Right) Iterative consistency filtering loop.

Experimental Evaluation

The researchers evaluated PromDA on four major benchmarks across two types of NLU tasks:

  • Sequence Labeling (NER): CoNLL03 (news) and Wikiann (Wikipedia).
  • Sentence Classification: SST-2 (sentiment) and RT (Rotten Tomatoes reviews).

The models were tested in extreme few-shot settings, specifically with only 10 labeled examples per class.

Key Results and Analysis

Performance in Extreme Low-Resource Settings

PromDA demonstrated massive gains in the "shot-10" setting. On classification tasks (SST-2 and RT), it improved F1 scores by over 10% compared to standard baselines. It consistently outperformed both rule-based methods (EDA, SDANER) and full-model generative methods like LAMBADA, which often failed due to memorization.

Diversity and Novelty

Analysis of the generated text showed that PromDA produces significantly more "Novel Mentions" (words not found in the original training set) than other augmentation methods. This suggests that the frozen PLM is successfully leveraging its pre-trained knowledge to expand the vocabulary of the training set.

Synergy with Real Data

Surprisingly, PromDA-generated data performed as well as—and sometimes better than—actual unlabeled in-domain data used in state-of-the-art semi-supervised models. Furthermore, when PromDA was combined with actual unlabeled data, performance improved by an additional 2.0%, proving that synthetic data and real unlabeled data provide complementary information.

Conclusion and Future Work

PromDA demonstrates that restricting a model's "trainable surface area" through soft prompting is a powerful strategy for low-resource data augmentation. By keeping the PLM frozen, the framework preserves general linguistic capabilities while adapting to specific tasks. While the iterative filtering process is computationally intensive, the resulting high-quality data provides a significant boost to NLU performance where labeled data is scarce. Future work will explore expanding PromDA to more complex tasks like Question Answering and improving the efficiency of the prompt-tuning architecture.

Summary updated

BibTeX
@inproceedings{wang2022promda,
  author = {Yufei Wang and Can Xu and Qingfeng Sun and Huang Hu and Chongyang Tao and Xiubo Geng and Daxin Jiang},
  title = {{PromDA: Prompt-based Data Augmentation for Low-Resource NLU Tasks}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.292},
}
Figure