Boosting Semi-Supervised Learning by bridging high and low-confidence predictions

Khanh-Binh Nguyen, Joon-Sung YangWorkshops @ ICCV 2023 · DOI

Introduction

Semi-supervised learning (SSL) leverages a small amount of labeled data alongside a vast pool of unlabeled data. A prominent paradigm, exemplified by FixMatch, utilizes high-confidence model predictions on unlabeled data as "pseudo-labels" for self-training. However, this approach suffers from several critical drawbacks: confirmation bias from incorrect confident predictions, the "Matthew Effect" where easy classes dominate and hard ones are ignored, and significant underutilization of unlabeled data due to high confidence thresholds (typically $\tau = 0.95$).

ReFixMatch addresses these issues by "bridging" the gap between high and low-confidence predictions. Instead of discarding low-confidence samples, it incorporates them into the training process using sharpened soft labels, achieving state-of-the-art results across various benchmarks and significantly improving performance on imbalanced datasets.

Methodology

ReFixMatch modifies the standard SSL pipeline by introducing a dual-path treatment for unlabeled data based on the model's predictive confidence.

Overview of the ReFixMatch framework bridging high and low-confidence predictions.

As illustrated in the figure above, the process involves:

  1. High-Confidence Samples: For predictions exceeding the threshold $\tau$, the model generates a standard "hard" one-hot pseudo-label.
  2. Low-Confidence Samples: Samples falling below $\tau$ are not discarded. Instead, the model takes the prediction from a weakly augmented version of the image, applies a sharpening operation to reduce distribution entropy (uncertainty), and uses the result as a "soft" pseudo-label.
  3. Consistency Regularization: The model is trained to align its predictions on strongly augmented versions of the same images with these pseudo-labels. For low-confidence samples, this alignment is enforced using Kullback-Leibler (KL) divergence.

This approach ensures that every unlabeled image contributes to the gradient, effectively reducing the "mask-out" ratio to zero without requiring additional modules or significant computational overhead.

Experimental Results

The effectiveness of ReFixMatch was evaluated on standard benchmarks including CIFAR-10/100, SVHN, STL-10, and ImageNet.

Mitigating the Matthew Effect

A key advantage of ReFixMatch is its ability to handle class imbalance and improve performance on "hard" classes that often fall below the confidence threshold in standard SSL.

Class-wise accuracy comparison between FixMatch and ReFixMatch during training and evaluation phases.

As shown in the class-wise accuracy plots, ReFixMatch consistently improves accuracy across almost all classes compared to FixMatch. This is particularly evident in the training phase, where the inclusion of low-confidence data prevents the model from overfitting solely to "easy" examples, thereby mitigating the Matthew Effect and ensuring more balanced learning across the dataset.

Performance and Efficiency

ReFixMatch demonstrates superior performance and faster convergence compared to baseline methods. On ImageNet with 100k labels, ReFixMatch achieved a top-1 accuracy of 41.05%, significantly outperforming FixMatch. On the STL-10 40-label split, it reduced the error rate to 28.60%, a substantial improvement over FixMatch's 35.97%. Furthermore, the method leads to better-calibrated models with lower Expected Calibration Error (ECE), meaning the model's confidence scores align better with its true accuracy.

Conclusion

ReFixMatch provides a simple yet effective enhancement to semi-supervised learning by utilizing the structural information present in low-confidence predictions. By eliminating the data mask and bridging confidence levels, it achieves robust performance gains across diverse datasets and imbalanced scenarios. Future work may explore its application in other domains such as semantic segmentation and object detection, as well as further refining hyperparameter sensitivity related to the sharpening temperature and confidence threshold.

Summary updated

BibTeX
@inproceedings{nguyen2023boosting,
  author = {Khanh-Binh Nguyen and Joon-Sung Yang},
  title = {{Boosting Semi-Supervised Learning by bridging high and low-confidence predictions}},
  booktitle = {Workshops @ ICCV},
  year = {2023},
  doi = {10.1109/iccvw60793.2023.00110},
}
Figure