Abstract
Despite its proven efficiency in other fields, data augmentation is less popular in the context of natural language processing (NLP) due to its complexity and limited results. In this paper, we investigate whether data-driven augmentation scheduling and the integration of a wider set of transformations can lead to improved performance where fixed and limited policies were unsuccessful. Our results suggest that, while this approach can help train better models in some settings, the improvements are unsubstantial. This negative result is meant to help researchers better understand the limitations of data augmentation for NLP.
Introduction
In computer vision, simple transformations like flipping an image or adjusting brightness are standard "label-preserving" techniques that significantly improve model generalization. In NLP, however, data augmentation (DA) is considerably more challenging because language is discrete; a single word change can fundamentally alter a sentence's meaning.
While previous research indicates that simple, fixed DA policies offer little benefit to pretrained transformers, this study explores a different angle: Is the limitation inherent to the augmentations themselves, or is it a matter of how they are applied? We investigate whether learning a dynamic schedule—adjusting the type and intensity of transformations throughout the training process—can unlock the latent potential of DA for text classification.
Methodology: Population-Based Augmentation for NLP
To explore dynamic scheduling, the authors adapted Population-Based Augmentation (PBA), an algorithm that has seen success in vision tasks. The approach involves two main components:
- A Diverse Search Space: The study utilized 11 distinct transformations, including word replacement (synonyms, hypernyms, contextual BERT-based augmentation), noising (random deletion, swapping, insertion, and embedding noise), and back-translation.
- The PBA Algorithm: PBA trains a population of models in parallel. Periodically, underperforming models "exploit" the weights of top performers and "explore" new augmentation hyperparameters (probability and magnitude). This creates a non-stationary schedule tailored to different stages of the training cycle.
Experimental Results
The methodology was evaluated on two benchmarks from the GLUE suite: SST-2 (sentiment classification) and MNLI (natural language inference). To assess performance in data-constrained environments, the models were tested on subsets of $N = \{1500, 2000, 3000\}$ samples, as well as the full datasets.
SST-2 Performance
On the SST-2 dataset, the learned schedules provided a consistent but marginal improvement over the baseline. Accuracy gains ranged from +0.42% to +0.80%, as shown in the table below.
MNLI Performance
In contrast, the results for MNLI were largely negative. Applying the learned augmentation schedules actually led to a decrease in performance compared to using no augmentation at all, with accuracy dropping by as much as -1.39%.
Discussion and Key Insights
The primary takeaway from this study is the "negative result": even with sophisticated automated scheduling, DA provides negligible benefits for modern NLP models like BERT. Several factors contribute to this outcome:
- DA as a Weak Regularizer: The authors observed that different search runs yielded wildly different "optimal" schedules that resulted in nearly identical performance. This suggests DA acts more as a noisy, inconsistent regularizer than a method for teaching semantic invariance.
- Transformer Invariance: Pretrained transformers are trained on massive datasets and may already be invariant to the types of noise introduced by standard DA. Essentially, the model has already "learned" these variations during its initial pretraining phase.
- The Validation Paradox: PBA requires a significant amount of data to be set aside for validation to evolve the schedule. In genuine low-resource settings, the data lost to the validation set might be more valuable for direct training than for finding an augmentation policy.
Conclusion
This research suggests that for BERT-style models performing standard classification, the computational cost of learning complex data augmentation schedules is likely not justified by the marginal gains. Future work may find more success in generative data augmentation—using large language models to synthesize entirely new training examples—rather than the transformative approaches explored here.
Summary updated