An analysis of over-sampling labeled data in semi-supervised learning with FixMatch
arXiv:2201.00604 · doi:10.7557/18.6269
Abstract
Most semi-supervised learning methods over-sample labeled data when constructing training mini-batches. This paper studies whether this common practice improves learning and how. We compare it to an alternative setting where each mini-batch is uniformly sampled from all the training data, labeled or not, which greatly reduces direct supervision from true labels in typical low-label regimes. However, this simpler setting can also be seen as more general and even necessary in multi-task problems where over-sampling labeled data would become intractable. Our experiments on semi-supervised CIFAR-10 image classification using FixMatch show a performance drop when using the uniform sampling approach which diminishes when the amount of labeled data or the training time increases. Further, we analyse the training dynamics to understand how over-sampling of labeled data compares to uniform sampling. Our main finding is that over-sampling is especially beneficial early in training but gets less important in the later stages when more pseudo-labels become correct. Nevertheless, we also find that keeping some true labels remains important to avoid the accumulation of confirmation errors from incorrect pseudo-labels.
arXiv comment10 pages, 3 figures. Published at NLDL 2022
References in corpus (10)
- FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence
- SGDR: Stochastic Gradient Descent with Warm Restarts
- Unsupervised Data Augmentation for Consistency Training
- Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results
- Temporal Ensembling for Semi-Supervised Learning
- MixMatch: A Holistic Approach to Semi-Supervised Learning
- Regularization With Stochastic Transformations and Perturbations for Deep Semi-Supervised Learning
- Rethinking Pre-training and Self-training
- Learning with Pseudo-Ensembles
- Realistic Evaluation of Deep Semi-Supervised Learning Algorithms