Semi-supervised learning by selective training with pseudo labels via confidence estimation

Masato Ishii

Abstract

We propose a novel semi-supervised learning (SSL) method that adopts selective training with pseudo labels. In our method, we generate hard pseudo-labels and also estimate their confidence, which represents how likely each pseudo-label is to be correct. Then, we explicitly select which pseudo-labeled data should be used to update the model. Specifically, assuming that loss on incorrectly pseudo-labeled data sensitively increase against data augmentation, we select the data corresponding to relatively small loss after applying data augmentation. The confidence is used not only for screening candidates of pseudo-labeled data to be selected but also for automatically deciding how many pseudo-labeled data should be selected within a mini-batch. Since accurate estimation of the confidence is crucial in our method, we also propose a new data augmentation method, called MixConf, that enables us to obtain confidence-calibrated models even when the number of training data is small. Experimental results with several benchmark datasets validate the advantage of our SSL method as well as MixConf.

Introduction

Deep learning models are notoriously "data-hungry," but labeling large datasets is often prohibitively expensive. Semi-supervised learning (SSL) addresses this by leveraging a small amount of labeled data alongside a large pool of unlabeled data.

Most modern SSL methods utilize "soft" pseudo-labels (probability distributions) to mitigate confirmation bias—the tendency of a model to reinforce its own incorrect predictions. However, soft labels provide relatively weak supervision, often resulting in slow convergence. For instance, the popular MixMatch algorithm can require up to a million iterations to converge. This paper introduces a high-efficiency SSL framework that utilizes "hard" (one-hot) pseudo-labels combined with a two-step selective training process to achieve state-of-the-art accuracy with significantly faster training speeds.

Methodology: Selective Training

The core of the proposed method is Selective Training. Rather than training on all unlabeled samples, which may contain noisy or incorrect pseudo-labels, the model selectively learns from samples it can reliably classify. This process occurs in two primary stages:

  1. Confidence Thresholding: The model generates a pseudo-label for unlabeled data. If the model’s estimated confidence ($c_i$) falls below a predefined threshold ($c_{thr}$), the data point is discarded from the current training batch.
  2. Small-Loss Selection: To further filter out incorrect labels, the authors leverage the observation that incorrect pseudo-labels typically result in a dramatic loss spike when the data is subjected to augmentation. By applying a novel augmentation technique called MixConf and selecting only samples that maintain a "small loss," the model effectively purifies the training set.
Overview of the proposed selective training framework, including pseudo-labeling, confidence thresholding, and small-loss selection.

MixConf: Improving Calibration

Standard "Mixup" augmentation blends two images and their corresponding labels using the same interpolation ratio ($\lambda$). However, deep networks are prone to over-confidence, particularly when trained on limited data.

MixConf improves upon this by decoupling the interpolation ratios. It uses kernel density estimation to calculate a label ratio ($\lambda_b$) that specifically matches the class posterior probability of the interpolated image. This results in a "confidence-calibrated" model, providing the reliable estimates necessary for the selection process.

Comparison between standard Mixup (bottom) and the proposed MixConf (top) for data augmentation.

Experimental Results

The authors evaluated the approach on standard computer vision benchmarks, including CIFAR-10, CIFAR-100, SVHN, and Fashion MNIST, using small subsets of labeled data to simulate SSL environments.

  • Superior Accuracy: On CIFAR-10 with 1,000 labeled samples, the proposed method achieved an error rate of 7.13%, outperforming MixMatch (7.75%) and VAT (18.68%).
  • Efficiency: The method reached a 7.75% error rate on CIFAR-10 in just 160,000 iterations, whereas MixMatch required approximately 1,000,000 iterations to reach the same performance level.
  • Calibration: MixConf consistently achieved lower Expected Calibration Error (ECE) than standard Mixup, especially in low-data regimes, ensuring the model "knows what it doesn't know."

Conclusion

This research demonstrates that hard pseudo-labels can be used safely and efficiently through rigorous selective training. By using data augmentation as a diagnostic tool to filter out fragile predictions, the framework avoids the pitfalls of confirmation bias while maintaining high training speeds. While performance is sensitive to hyper-parameters like the confidence threshold, the introduction of MixConf provides a robust foundation for confidence-based selection in semi-supervised learning.

Summary updated

BibTeX
@misc{ishii2021semi,
  author = {Masato Ishii},
  title = {{Semi-supervised learning by selective training with pseudo labels via confidence estimation}},
  year = {2021},
  eprint = {2103.08193},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.08193},
}
Figure