AutoAugment Is What You Need: Enhancing Rule-based Augmentation Methods in Low-resource Regimes

Juhwan Choi, Kyohoon Jin, Junho Lee, Sangmin Song, YoungBin Kim

TL;DR

This paper tackles the challenge of data augmentation for text classification, especially in low-resource settings where data is scarce. They propose adapting AutoAugment, a technique typically used for image augmentation, to automatically optimize the hyperparameters of rule-based text augmentation methods, leading to more stable and effective performance improvements.

What Problem Does This Paper Address?

Text data augmentation is crucial for improving model performance, particularly when dealing with limited datasets. However, traditional rule-based methods, while simple, can often damage the semantic consistency of sentences. Existing advanced methods like softEDA attempt to mitigate this by using label smoothing, but they require manual tuning of hyperparameters, which is both time-consuming and may not yield optimal results. This paper addresses the difficulty of applying these methods effectively in low-resource scenarios and the challenge of finding the best augmentation strategies without extensive manual effort.

Methods

The core contribution of this paper is the application of AutoAugment to optimize the hyperparameters of rule-based text augmentation. AutoAugment is a search algorithm that learns an optimal data augmentation policy. In this work, it's adapted to find the best combination of factors for existing rule-based methods, specifically focusing on enhancing softEDA.

The paper defines an augmentation policy P that includes probabilities for augmentation, the amount of augmented data, and factors for label smoothing (both for original and augmented data), along with the magnitudes of individual augmentation operations (like synonym replacement, random insertion, etc.). This policy is then optimized using a sequential model-based global optimization approach, similar to how AutoAugment is used in image tasks. This automated search aims to find a more effective and stable augmentation strategy compared to manual or heuristic grid searches.

Datasets

The experiments were conducted on eight text classification datasets:

  • SST2, SST5, MR: Sentiment classification datasets from movie reviews.
  • COLA: A dataset measuring linguistic acceptability.
  • SUBJ: A dataset for subjectivity classification.
  • PC, CR: Datasets constructed from customer reviews.
  • TREC: A dataset for question type classification.

To simulate low-resource conditions, the authors evaluated their method using only 100 and 500 randomly selected data points from each dataset.

Key Insights and Ideas

  • AutoAugment is effective for text augmentation: The paper demonstrates that a technique primarily known for image augmentation can be successfully adapted to optimize text augmentation strategies.
  • Hyperparameter optimization is key for rule-based methods: Simply applying rule-based augmentation or even softEDA with fixed parameters can lead to suboptimal or degraded performance. AutoAugment's ability to find optimal hyperparameters is crucial for unlocking their full potential.
  • Label smoothing is vital for semantic consistency: The ablation study shows that while AutoAugment itself provides benefits, the label smoothing component of softEDA, when optimized, plays a significant role in enhancing performance.
  • Robustness in low-resource settings: The proposed method shows stable and remarkable performance improvements even with very limited training data, highlighting its utility in challenging scenarios.
  • Reduced variance in performance: The optimized approach leads to significantly lower standard deviations in performance compared to other methods, indicating greater reliability.

Key Results

The paper reports significant performance improvements across various datasets and models, especially in low-resource settings. For instance, when using BERT with only 100 training samples, the proposed method ("w/ Ours") achieved notable gains over baselines like EDA and softEDA. The results in Table 1 show that the proposed method consistently outperforms other augmentation techniques, often by a considerable margin, and exhibits a much lower standard deviation. The authors also highlight that their method is effective for both standard PLMs like BERT and more advanced models like DeBERTaV3.

Limitations and Future Work

Limitations: * Computational Overhead: The authors acknowledge that AutoAugment's search process can be computationally expensive. However, they argue this is mitigated in low-resource scenarios where the search space and time are reduced.

Future Work: * Extension to other NLP tasks: The authors suggest extending their approach to more complex tasks beyond single-sentence classification, such as natural language inference.

Summary updated

BibTeX
@inproceedings{choi2024autoaugment,
  author = {Juhwan Choi and Kyohoon Jin and Junho Lee and Sangmin Song and YoungBin Kim},
  title = {{AutoAugment Is What You Need: Enhancing Rule-based Augmentation Methods in Low-resource Regimes}},
  booktitle = {EACL},
  year = {2024},
}
Figure