Unsupervised Data Augmentation for Consistency Training

Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, Quoc V. Le
4/29/2019
cs.LGcs.AIcs.CL

Official code: google-research/uda (2,205 stars, Apache-2.0, TensorFlow, last commit 2021-08-28).

Abstract

Semi-supervised learning lately has shown much promise in improving deep learning models when labeled data is scarce. Common among recent approaches is the use of consistency training on a large amount of unlabeled data to constrain model predictions to be invariant to input noise. In this work, we present a new perspective on how to effectively noise unlabeled examples and argue that the quality of noising, specifically those produced by advanced data augmentation methods, plays a crucial role in semi-supervised learning. By substituting simple noising operations with advanced data augmentation methods such as RandAugment and back-translation, our method brings substantial improvements across six language and three vision tasks under the same consistency training framework. On the IMDb text classification dataset, with only 20 labeled examples, our method achieves an error rate of 4.20, outperforming the state-of-the-art model trained on 25,000 labeled examples. On a standard semi-supervised learning benchmark, CIFAR-10, our method outperforms all previous approaches and achieves an error rate of 5.43 with only 250 examples. Our method also combines well with transfer learning, e.g., when finetuning from BERT, and yields improvements in high-data regime, such as ImageNet, whether when there is only 10% labeled data or when a full labeled set with 1.3M extra unlabeled examples is used. Code is available at https://github.com/google-research/uda.

View on arXivView PDF

Code Implementations(1)

TensorFlowApache-2.0

Unsupervised Data Augmentation (UDA)

2,205313Shell, PythonJun 19, 20195 years agoApache-2.0
computer-visioncvnatural-language-processingnlpsemi-supervised-learning+1 more

Similar Papers

Cite this paper

@article{xie2019unsupervised,
  title  = {Unsupervised Data Augmentation for Consistency Training},
  author = {Qizhe Xie and Zihang Dai and Eduard Hovy and Minh-Thang Luong and Quoc V. Le},
  year   = {2019},
  eprint = {1904.12848},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.12848}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1904.12848.svg)](https://codeofpaper.com/paper/1904.12848)

Discussion