Text Augmentation in a Multi-Task View

Jason Wei, Chengyu Huang, Shiqi Xu, Soroush Vosoughi

Abstract

Data augmentation in Natural Language Processing (NLP) is often constrained by the semantic fragility of text. Traditional methods typically replace original training samples with lightly perturbed versions to avoid destroying the underlying signal. We propose the Multi-Task View (MTV), a framework that treats augmented data as an auxiliary task rather than a replacement. By training on both original and noisy data simultaneously, models can leverage significantly higher noise levels to achieve superior performance and robustness across sentiment, subjectivity, and question classification tasks.

Introduction: The Catch-22 of NLP Augmentation

In computer vision, a rotated image of a cat remains a cat. In NLP, however, changing a single word—such as "good" to "bad"—can completely invert a sentence's meaning. This sensitivity has led to "scared" augmentation practices in NLP: using minimal noise and replacing original data in training minibatches. This creates a dilemma: low noise provides little regularization, while high noise risks drowning out the ground truth. The authors of this paper ask: Is it wise to neglect the original training data just to see augmented samples?

Methodology: The Multi-Task View

The proposed Multi-Task View (MTV) reframes data augmentation as a multi-task learning problem. Instead of expanding the input distribution, the model is tasked with two goals:

  1. Primary Task: Classify the original, clean data.
  2. Auxiliary Task: Classify the augmented, noisy data.

This is implemented via a weighted joint loss function: $$J(\theta) = \gamma_O \cdot J_O(\theta) + \gamma_{aug} \cdot J_{aug}(\theta)$$ where $\gamma_O$ and $\gamma_{aug}$ are weights for the original and augmented data, respectively. Traditional augmentation effectively sets $\gamma_O = 0$ and $\gamma_{aug} = 1$, whereas MTV typically balances them (e.g., $\gamma_O = 0.5, \gamma_{aug} = 0.5$). By retaining the original data, the model has a constant "anchor" to the ground truth, allowing it to extract useful features even from highly distorted auxiliary samples.

Experimental Setup

The researchers evaluated MTV using a BERT-base feature extractor paired with a linear SVM. Testing was conducted across three benchmark datasets: SST2 (movie reviews), SUBJ (subjectivity), and TREC (question types). Four augmentation techniques were tested: Token Substitution (synonyms), Pervasive Dropout (word deletion), Token Injection (synonym insertion), and Positional Shuffling (word order swapping).

Key Results and Discussion

The MTV approach consistently outperformed traditional augmentation across all tasks and noise levels.

Performance boost (%) vs. augmentation strength (alpha) for MTV (blue) and Traditional (red) methods across SUBJ, SST2, TREC, and Average metrics. Rows A-D correspond to different augmentation techniques.

The "Anchor" Effect and Noise Robustness

As shown in the figure above, traditional augmentation (red triangles) typically peaks at very low noise strengths ($\alpha \approx 0.05$) and quickly degrades as noise increases. In many cases, high noise levels actually hurt performance compared to the baseline.

In contrast, MTV (blue circles) maintains or increases its performance boost even at high noise levels ($\alpha \ge 0.3$). The original data acts as a safeguard; the model learns which features are robust to noise because it can compare the "messy" version to the "clean" anchor. This allows the model to benefit from the regularization of strong noise without losing the core signal.

Performance Gains

MTV achieved average performance boosts of 2.1% to 2.5%, significantly higher than the 0.7% to 1.8% seen with traditional methods. Non-destructive techniques—Token Injection and Positional Shuffling—showed the most dramatic improvements, as they provide a "different view" of the data without removing core information.

Conclusion

The Multi-Task View provides a simple yet effective paradigm shift for NLP data augmentation. By treating noisy data as an auxiliary signal rather than a replacement for the truth, practitioners can use much stronger augmentation to build more robust models. While this study focused on fixed feature extractors and classification, future work will explore whether these findings scale to end-to-end fine-tuning of larger models and complex sequence-to-sequence tasks.

Summary updated

BibTeX
@inproceedings{wei2021text,
  author = {Jason Wei and Chengyu Huang and Shiqi Xu and Soroush Vosoughi},
  title = {{Text Augmentation in a Multi-Task View}},
  booktitle = {EACL},
  year = {2021},
  doi = {10.18653/v1/2021.eacl-main.252},
}
Figure