Abstract
Data augmentation has recently seen increased interest in NLP due to more work in low-resource domains, new tasks, and the popularity of large-scale neural networks that require large amounts of training data. Despite this recent upsurge, this area is still relatively underexplored, perhaps due to the challenges posed by the discrete nature of language data. In this paper, we present a comprehensive and unifying survey of data augmentation for NLP by summarizing the literature in a structured manner. We first introduce and motivate data augmentation for NLP, and then discuss major methodologically representative approaches. Next, we highlight techniques that are used for popular NLP applications and tasks. We conclude by outlining current challenges and directions for future research. Overall, our paper aims to clarify the landscape of existing literature in data augmentation for NLP and motivate additional work in this area. We also present a GitHub repository with a paper list that will be continuously updated at https://github.com/styfeng/DataAug4NLP
Introduction
In the era of massive neural networks, data has become the most valuable currency for model performance. While Computer Vision (CV) has long benefited from simple data augmentation (DA) tricks like flipping or rotating images, NLP faces a unique challenge: language is discrete. Unlike an image, where a slight rotation preserves the semantic label, changing even a single character or word can completely flip the meaning of a sentence or render it ungrammatical.
Because of this discrete nature, maintaining label invariance—ensuring the augmented sentence still means the same thing—is difficult. This survey addresses the lack of a unified framework for NLP DA, summarizing the literature to help researchers navigate how to increase training diversity without explicitly collecting expensive new human-labeled data.
Methodological Taxonomy
The survey categorizes DA techniques into three primary methodological "buckets," ranging from simple heuristic rules to sophisticated generative models.
1. Rule-Based Techniques
Rule-based methods involve "easy-to-compute" transformations that do not require an auxiliary trained model. These are often the most accessible techniques for practitioners.
- Easy Data Augmentation (EDA): Operations like random insertion, deletion, or swapping of tokens.
- Dependency Tree Morphing: This involves swapping children of the same parent node in a sentence's grammatical structure to create valid syntactic variations while maintaining core semantic meaning.
2. Example Interpolation-Based
Inspired by the "Mixup" technique in CV, these methods interpolate the inputs and labels of two or more real examples.
- Feature Space DA: Instead of mixing raw text, these methods interpolate hidden embeddings or representations within the model's internal layers.
- Seq2Mixup: A generalization for sequence-to-sequence tasks that can "softly" interpolate between two different sequences.
3. Model-Based Techniques
These leverage pre-trained models to generate high-quality synthetic data.
- Backtranslation: Translating a sentence into a target language and then back to the source to obtain a natural paraphrase.
- Contextual Augmentation: Using models like BERT or GPT to replace words with others that fit the surrounding context.
- Label-Conditioned Generation: Fine-tuning a model on a specific dataset to generate entirely new, synthetic examples for a specific class.
Comparative Analysis of DA Methods
The landscape of NLP data augmentation is vast, with methods varying by their reliance on external knowledge, pre-training, and the level at which they operate (e.g., input vs. embedding level).
Key Insights and Empirical Findings
- The Regularization Effect: DA primarily works as a regularizer, reducing overfitting by forcing the model to learn robust, invariant features rather than memorizing specific training instances.
- The "Goldilocks" Zone: Effective DA must find a balance. If the augmented data is too similar to the original, the model overfits; if it is too different (e.g., nonsensical), the model learns the wrong distribution.
- Diminishing Returns for Large Models: Simple DA provides minimal benefit for massive pre-trained models (like BERT) on in-domain data, likely because these models have already "seen" similar variations during pre-training. However, DA remains highly effective for these models in low-resource or out-of-domain tasks.
- Low-Resource Success: In generation tasks, techniques like GenAug show that quality improves significantly when the training set is augmented to roughly 3x its original size.
- Bias Mitigation: "Counterfactual DA" (e.g., swapping gendered terms) effectively breaks spurious associations, making it a powerful tool for model fairness.
Future Directions
Despite empirical success, several challenges remain. There is a significant theoretical gap in understanding why DA works in discrete space. Furthermore, NLP lacks a generalized, "online" DA framework similar to those in CV, largely due to the computational cost of generating variations on-the-fly. Finally, DA often fails in specialized fields (like medicine or law) because general-purpose rules do not capture necessary domain-specific constraints.
Summary updated