In Defense of Pseudo-Labeling: An Uncertainty-Aware Pseudo-label Selection Framework for Semi-Supervised Learning

Mamshad Nayeem Rizve, Kevin Duarte, Yogesh S. Rawat, Mubarak Shah

TL;DR

This paper introduces UPS, an uncertainty-aware pseudo-label selection framework that significantly improves semi-supervised learning (SSL) by addressing the issue of poorly calibrated models generating noisy pseudo-labels. UPS achieves state-of-the-art performance across various datasets and modalities, including images, videos, and multi-label classification, without relying on domain-specific data augmentations.

What Problem Does This Paper Address?

Semi-supervised learning (SSL) aims to leverage large amounts of unlabeled data alongside a small labeled dataset to train models. While consistency regularization methods have shown great success, they often depend on complex, domain-specific data augmentations. Pseudo-labeling (PL) offers a more general approach, but its performance is hampered by "noisy" pseudo-labels generated by models that are not well-calibrated. This means that even when a model is highly confident about a prediction, it might still be incorrect, leading to erroneous training signals and poor generalization. The authors aim to improve the robustness and performance of pseudo-labeling by intelligently selecting pseudo-labels that are not only confident but also certain.

Methods

The core of the proposed method is the Uncertainty-Aware Pseudo-label Selection (UPS) framework. Instead of simply selecting pseudo-labels based on high confidence scores (as in traditional PL), UPS incorporates a measure of prediction uncertainty.

Here's how it works:

  • Pseudo-label Generation: A model is initially trained on the labeled data. It then generates pseudo-labels for the unlabeled data based on its predictions.
  • Confidence-Based Selection: Traditional PL would use these pseudo-labels directly. UPS first filters these based on confidence.
  • Uncertainty-Aware Selection: This is the key innovation. UPS further refines the selection by considering prediction uncertainty. The authors empirically show a strong correlation between lower uncertainty and better model calibration. By selecting pseudo-labels that are both high-confidence and low-uncertainty, UPS effectively filters out many of the incorrect pseudo-labels caused by poor calibration.
  • Negative Pseudo-Labels: UPS also generalizes PL by allowing for the creation of "negative" pseudo-labels. If a model is highly confident that a class is absent, a negative label can be assigned. This is beneficial for multi-label classification and can also be used for "negative learning" to improve single-label classification.
  • Iterative Training: The process is iterative. The model is retrained using the selected pseudo-labels (and original labeled data), and this cycle repeats until convergence.

Datasets

The authors evaluate UPS on several standard datasets:

  • CIFAR-10 and CIFAR-100: Common image classification benchmarks used for evaluating SSL methods.
  • Pascal VOC2007: A multi-label image classification dataset.
  • UCF-101: A video action recognition dataset.

They also conduct experiments with varying numbers of labeled samples (e.g., 1000, 4000) to demonstrate scalability and effectiveness across different data regimes.

Key Insights and Ideas

  • Poor Calibration is the Bottleneck for Pseudo-Labeling: The paper convincingly argues that the underperformance of traditional pseudo-labeling is not due to the method itself, but rather the poor calibration of neural networks, leading to high-confidence but incorrect predictions.
  • Uncertainty as a Proxy for Calibration: The authors establish a strong empirical link between prediction uncertainty and model calibration. Lower uncertainty correlates with better calibration, making it a powerful signal for selecting reliable pseudo-labels.
  • UPS is Modality-Agnostic: A significant advantage of UPS is that it doesn't rely on domain-specific data augmentations, making it applicable to diverse data types like images, videos, and text, where designing effective augmentations can be challenging.
  • Generalization to Multi-Label Classification: The introduction of negative pseudo-labels is a crucial step towards making pseudo-labeling more versatile, enabling its application to multi-label tasks where traditional methods struggle.

Key Results

  • State-of-the-Art Performance: UPS achieves competitive or superior performance compared to recent SSL methods on CIFAR-10 and CIFAR-100, even outperforming consistency regularization methods in some cases.
  • Strong Performance on Diverse Tasks: The method demonstrates versatility by achieving strong results on the video dataset UCF-101 and the multi-label dataset Pascal VOC. For instance, on Pascal VOC2007 with 20% labeled data, UPS achieves a mean Average Precision (mAP) of 40.34, outperforming baselines.
  • Robustness to Hyperparameters: The paper shows that UPS is relatively robust to hyperparameter tuning, with thresholds identified on one dataset performing well on others.
  • Effective Filtering of Incorrect Labels: Figure 4 visually demonstrates how UPS effectively filters out incorrect pseudo-labels that have high confidence but also high uncertainty, showcasing the benefit of the uncertainty-aware selection.

Limitations and Future Work

  • Hyperparameter Tuning: While UPS is shown to be robust, some hyperparameter tuning is still required. The authors suggest that for drastically different datasets, a new set of thresholds might need to be determined.
  • Computational Cost: While not explicitly detailed as a limitation, the iterative nature of the training process and the potential use of uncertainty estimation methods (like MC-Dropout) can add to the computational overhead compared to simpler methods.
  • Future Work: The authors express hope that the community will focus on developing general SSL algorithms that avoid domain-specific augmentations and single-label assumptions, aligning with the philosophy of UPS. They also suggest exploring approximate Bayesian inference methods for uncertainty estimation.

Summary updated

BibTeX
@inproceedings{rizve2021defense,
  author = {Mamshad Nayeem Rizve and Kevin Duarte and Yogesh S. Rawat and Mubarak Shah},
  title = {{In Defense of Pseudo-Labeling: An Uncertainty-Aware Pseudo-label Selection Framework for Semi-Supervised Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=S7y_aU7PqR4},
}
Figure