In modern machine learning, the scarcity of labeled data remains a significant bottleneck. Semi-supervised learning (SSL) attempts to mitigate this by leveraging vast amounts of unlabeled data alongside a small labeled set. At CVPR 2021, researchers introduced Self-Supervised Wasserstein Pseudo-Labeling (SSWPL), a framework that utilizes Optimal Transport to generate high-quality pseudo-labels, significantly improving performance in low-label regimes.
The Challenge: Confirmation Bias in SSL
Traditional SSL methods often rely on pseudo-labeling, where a model generates its own training targets for unlabeled data based on its current predictions. However, this approach is prone to confirmation bias: if a model makes an incorrect but confident prediction, it reinforces that error during training, leading to a performance plateau or degradation. Furthermore, many existing methods treat data points in isolation, ignoring the underlying geometric structure and the "cluster assumption"—the principle that data points in the same cluster should share the same label.
The SSWPL Framework
SSWPL addresses these issues by treating clusters of data as probability distributions and matching them using the mathematical elegance of the Wasserstein distance (also known as Earth Mover's Distance). The framework operates in three distinct stages:
- Self-Supervised Warm-up: The model is initially trained on unlabeled data using MoCo v2, a contrastive learning method. This step ensures the network learns meaningful features and that data naturally forms coherent clusters in the feature space before any labels are introduced.
- Wasserstein Clustering & Matching: This is the core innovation. Unlabeled features are grouped into clusters using Wasserstein Barycenters. The algorithm then compares these unlabeled clusters to the distributions of the small labeled dataset using a Wasserstein GAN (WGAN) critic layer. By calculating the geometric distance between "clouds" of data rather than individual points, the model assigns pseudo-labels to entire clusters based on their proximity to labeled class distributions.
- Final Training: The CNN is trained using a combination of the original labeled data and the newly generated pseudo-labeled data using standard cross-entropy loss.
Key Insights and Results
By matching distributions rather than instances, SSWPL avoids the pitfalls of point-wise pseudo-labeling and is more robust to noise and outliers. A critical finding of the research is the necessity of the self-supervised pre-training phase. Without it, the initial feature space lacks the structure required for effective Wasserstein matching.
SSWPL was evaluated on several standard benchmarks, demonstrating superior performance over state-of-the-art methods like FixMatch and ReMixMatch:
- CIFAR-10 (250 labels): Achieved a 4.11% error rate, outperforming FixMatch (5.07%).
- CIFAR-100 (2500 labels): Achieved a 26.52% error rate, a significant improvement over FixMatch (28.64%).
- ImageNet (10% labels): Reached a 26.46% top-1 error, surpassing both FixMatch (28.54%) and UDA (31.22%).
Limitations and Future Directions
While highly effective, SSWPL assumes that the unlabeled data distribution matches the labeled classes. In real-world scenarios, unlabeled sets often contain "Out-of-Distribution" (OOD) samples. Currently, SSWPL may force incorrect pseudo-labels onto these OOD clusters. Future work aims to integrate OOD detection to filter these samples before the matching phase, further increasing the robustness of the framework.
Summary updated