Unsupervised Data Augmentation for Consistency Training
Qizhe XieZihang DaiEduard HovyMinh-Thang LuongQuoc V. Le
Demonstrates that pairing consistency training with advanced data augmentation such as back-translation and RandAugment dramatically reduces labeled data requirements, enabling models to match or exceed fully supervised baselines across text and vision benchmarks using only a fraction of labeled examples.
Deep learning models usually require large amounts of labeled data, which limits their use when labels are expensive or scarce. Semi-supervised learning addresses this by leveraging abundant unlabeled data through consistency training, where model predictions must remain stable under small input changes. The article examines whether the quality of those changes, produced by advanced data augmentation, determines how well consistency training works.
The authors set out to test if state-of-the-art augmentation methods already proven in supervised settings can serve as superior noise sources for consistency training. They replace simple noise operations with RandAugment for images and back-translation or TF-IDF word replacement for text, then train models jointly on labeled cross-entropy loss and unlabeled consistency loss across six text classification tasks and three vision benchmarks.
Experiments used standard architectures including Wide-ResNet, Shake-Shake, PyramidNet, and BERT variants. Labeled data sizes ranged from 20 examples to the full supervised sets, with additional out-of-domain unlabeled data filtered for relevance on ImageNet. Results showed a clear correlation between an augmentation method’s supervised performance and its gains under consistency training.
With only 20 labeled examples, UDA reached 4.20 percent error on IMDb, beating the prior state-of-the-art trained on 25,000 labels. On CIFAR-10 it achieved 5.43 percent error with 250 labels and 4.32 percent with 4,000 labels, outperforming all prior semi-supervised methods. Similar gains appeared on SVHN, and UDA improved ImageNet top-1 accuracy from 58.84 to 68.78 percent with 10 percent labels and from 78.43 to 79.05 percent with the full labeled set plus 1.3 million extra unlabeled images. The method also complemented BERT fine-tuning.
These findings indicate that high-quality, diverse, and label-preserving augmentations allow models to propagate label information across larger regions of the data manifold, sharply reducing the number of labels needed while remaining effective even when labels are plentiful. Organizations can therefore cut annotation costs and still reach competitive accuracy on standard classification tasks.
Practitioners should adopt UDA when labeled data is limited or when additional unlabeled data is available, starting with the reported augmentations and hyperparameters. Further gains are likely from task-specific augmentation tuning and from extending the approach beyond classification. The main limitations are that results rest on specific benchmarks and that five-way sentiment tasks still show a gap relative to fully supervised performance; caution is warranted when moving to new domains or label distributions without additional validation.
- Paper: Randaugment: Practical automated data augmentation with a reduced search space, Ekin D. Cubuk et al. (2020). Introduces RandAugment, the core automated image augmentation technique directly adapted by UDA for its visual consistency training pipeline.
- Paper: MixMatch: A Holistic Approach to Semi-Supervised Learning, David Berthelot et al. (2019). Establishes a unified semi-supervised consistency regularization framework using data augmentation and label sharpening that directly motivates UDA's approach.
- Paper: Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learning, Takeru Miyato et al. (2017). Introduces consistency training under adversarial perturbations as a semi-supervised learning objective, forming the foundational principle generalized by UDA.
- Paper: Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results, Antti Tarvainen et al. (2017). Develops consistency regularization using teacher-student models under random perturbation noise, establishing key baselines and concepts built on by UDA.
- Paper: Temporal Ensembling for Semi-Supervised Learning, Samuli Laine et al. (2016). Pioneers consistency loss over perturbed unlabeled inputs in deep semi-supervised learning, which UDA significantly improves through advanced augmentation.
- Paper: AutoAugment: Learning Augmentation Strategies From Data, E. D. Cubuk et al. (2019). Presents AutoAugment, demonstrating that high-quality data augmentation policies improve supervised models and providing the foundation for the augmentations leveraged in UDA.
- Paper: EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Tasks, Jason Wei et al. (2019). Demonstrates the efficacy of discrete word-level transformations for text augmentation, establishing foundational methods for text consistency in NLP.
- Paper: A survey on semi-supervised learning, Jesper E. van Engelen et al. (2019). Provides a comprehensive taxonomy and theoretical overview of semi-supervised learning assumptions that underpin consistency regularization methods like UDA.
- Paper: FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence, Kihyuk Sohn et al. (2020). Extends UDA's strong-augmentation consistency principle by combining it with confidence-thresholded pseudo-labeling generated from weakly augmented inputs.
- Paper: Big Self-Supervised Models are Strong Semi-Supervised Learners, Ting Chen et al. (2020). Builds upon semi-supervised scaling insights by combining large self-supervised pretraining with task-specific unlabeled distillation.
- Paper: A Simple Framework for Contrastive Learning of Visual Representations, Ting Chen et al. (2020). Generalizes the power of compositionally strong data augmentations from semi-supervised consistency training to self-supervised contrastive representation learning.
- Paper: BEiT: BERT Pre-Training of Image Transformers, Hangbo Bao et al. (2022). Adapts self-supervised pre-training paradigms to vision transformers, offering an alternative framework to consistency training for low-label regimes.
- Paper: Masked Autoencoders Are Scalable Vision Learners, Kaiming He et al. (2022). Explores a masked autoencoding paradigm that scales representation learning from unlabeled data without relying on explicit consistency augmentations.
