A Survey of Data Augmentation Approaches for NLP

Steven Y. Feng, Varun Gangal, Jason Wei, Sarath Chandar, Soroush Vosoughi, Teruko Mitamura, Eduard H. Hovy

Introduction

Modern Natural Language Processing (NLP) relies heavily on large-scale neural networks that are notoriously "data-hungry." While researchers in Computer Vision (CV) have long utilized simple transformations like flipping or cropping images to artificially expand datasets, NLP faces a unique "discrete dilemma." Unlike continuous image data, language is discrete; replacing a single word can fundamentally alter a sentence's sentiment or render it grammatically nonsensical. This survey provides a comprehensive overview of Data Augmentation (DA) for NLP, categorizing the field into three methodological pillars: rule-based, interpolation-based, and model-based approaches.

Methodological Pillars

The authors structure the scattered literature of NLP augmentation into three primary families:

1. Rule-Based Techniques

These "model-free" transformations involve direct manipulation of the text. Common examples include EDA (Easy Data Augmentation)—which utilizes random insertion, deletion, or swapping of words—and more sophisticated structural methods. One such approach is Dependency Tree Morphing, where the grammatical structure of a sentence is rotated or cropped to generate new, valid training examples.

Rule-based augmentation techniques using dependency tree analysis to perform sentence cropping and rotating.

2. Example Interpolation-Based

Inspired by the "Mixup" technique in CV, these methods blend multiple real examples. Because raw words cannot be averaged, these techniques typically operate within the hidden vector space. By creating synthetic embeddings that lie between real data points, these methods help models generalize more effectively.

3. Model-Based Techniques

These leverage auxiliary models to generate new data. Backtranslation—translating a sentence to a pivot language and back to the original—is a prominent example. More recent advancements utilize generative models like GPT-2 to synthesize training examples that correspond to specific labels.

Strategic Insights

The survey identifies several critical nuances in the application of DA for NLP:

  • The Invariance Challenge: In CV, a horizontal flip preserves the "cat-ness" of an image. In NLP, defining what remains invariant during a transformation is significantly harder. DA is essentially a search for transformations that preserve semantic meaning while altering form.
  • The Pretraining Paradox: Surprisingly, DA provides minimal benefit for massive pretrained models like BERT or RoBERTa on standard "in-domain" English text. These models have already encountered sufficient data during pretraining for simple augmentations to offer new information.
  • Optimal Use Cases: DA is most transformative in low-resource settings (rare languages), specialized domains (medical or legal jargon), and for improving adversarial robustness against typos or distractors.

The field has seen a dramatic surge in interest over the last few years. Google Trends data reveals a massive spike in searches for "data augmentation" starting around 2017, aligning with the widespread adoption of Transformer architectures.

Google Trends data showing the rise in interest for "data augmentation" relative to "minibatch" searches since 2016.

Performance-wise, rule-based methods like EDA offer easy-to-implement, incremental improvements. In contrast, model-based methods like Backtranslation yield larger gains but require significantly higher computational resources. Successful DA must balance diversity (how different the new data is) with affinity (how relevant it remains to the original distribution).

Future Directions and Limitations

Despite its growth, the field faces several hurdles:

  • Lack of Unification: NLP lacks a standardized library for augmentation comparable to CV's torchvision.
  • Online Integration: Most DA is currently "offline." There is a need for "online" modules that inject variations directly into the training loop.
  • Theoretical Grounding: There is a "conspicuous lack" of research explaining why DA works in NLP. While CV treats DA as a form of regularization, NLP research remains largely empirical.

The authors maintain a GitHub repository as a living database for researchers to track these evolving techniques and datasets.

Summary updated

BibTeX
@inproceedings{feng2021survey,
  author = {Steven Y. Feng and Varun Gangal and Jason Wei and Sarath Chandar and Soroush Vosoughi and Teruko Mitamura and Eduard H. Hovy},
  title = {{A Survey of Data Augmentation Approaches for NLP}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.findings-acl.84},
}
Figure