Abstract
Recent advances in semi-supervised learning (SSL) have relied on the optimistic assumption that labeled and unlabeled data share the same class distribution. However, this assumption is often violated in real-world scenarios, where unlabeled data may contain out-of-class samples. SSL with such uncurated unlabeled data leads training models to be corrupted. In this paper, we propose a robust SSL method for learning from uncurated real-world data within the context of open-set semi-supervised learning (OSSL). Unlike previous works that rely on feature similarity distance, our method exploits uncertainty in logits. By leveraging task-dependent predictions of logits, our method is capable of robust learning even in the presence of highly correlated outliers. Our key contribution is to present an unknown-aware graph regularization (UAG), a novel technique that enhances the performance of uncertainty-based OSSL frameworks. The technique addresses not only the conflict between training objectives for inliers and outliers but also the limitation of applying the same training rule for all outlier classes, which existed on previous uncertainty-based approaches. Extensive experiments demonstrate that UAG surpasses state-of-the-art OSSL methods by a large margin across various protocols.
Introduction: The Challenge of Correlated Outliers
Standard Semi-supervised Learning (SSL) assumes a "perfect world" where labeled and unlabeled datasets share the exact same categories. In reality, unlabeled data is often "uncurated" and messy, containing out-of-distribution (OOD) samples or outliers. This scenario is known as Open-Set Semi-supervised Learning (OSSL).
A major weakness in current OSSL methods is their reliance on feature similarity to identify outliers. While this works for "uncorrelated" outliers (e.g., spotting a car in a dataset of dogs), it fails with "correlated" outliers—samples that share a superclass with known data (e.g., a wolf appearing as an outlier when known classes are dogs and cats).
Furthermore, existing methods often suffer from a "conflict of interest" during training: they attempt to minimize entropy for known classes while maximizing it for outliers using the same classifier head, leading to suboptimal performance.
Methodology: The UAG Framework
Researchers from Korea University developed Unknown-Aware Graph Regularization (UAG) to address these limitations through a three-pronged approach:
- Exclusive Multi-head Training: UAG utilizes a shared feature extractor with three distinct heads: a closed-set classifier ($h$) for inliers, an open-set classifier ($\tilde{h}$) to measure uncertainty, and a projection head ($g$) for contrastive graph regularization. This separation prevents training objectives for inliers and outliers from interfering with one another.
- Uncertainty-based Detection: Rather than raw feature distances, UAG uses Maximum Softmax Probability (MSP) from the open-set head. Logits focus on high-level semantic attributes, making them more robust at distinguishing "correlated" outliers from inliers.
- Unknown-Aware Graph Regularization: This technique builds two pseudo-graphs: one based on predicted labels and one based on outlier indicators. By combining these, the model creates a target graph that encourages similar outliers to group into multiple clusters, rather than forcing all unknowns into a single point in feature space.
To handle the thresholding of outliers dynamically, the model employs a Gaussian Mixture Model (GMM) to learn the optimal boundary between inliers and outliers as training progresses.
Performance Evaluation
The researchers evaluated UAG on CIFAR-10, CIFAR-100, and ImageNet-30, specifically testing against "correlated" and "uncorrelated" splits.
UAG consistently outperformed state-of-the-art methods like OpenMatch and CoMatch:
- Accuracy: On CIFAR-100 with 100 labels per class, UAG achieved an error rate of 23.6%, significantly lower than the nearest competitor (OSP) at 26.5%.
- Outlier Detection (AUROC): In the difficult "correlated" CIFAR-100 setting, UAG reached an AUROC of 81.4%, while previous uncertainty-based methods struggled in the 60-70% range.
- Real-world Scaling: On ImageNet-30, UAG achieved a Top-1 accuracy of 24.16%, outperforming FixMatch (17.00%) and CoMatch (19.17%).
Conclusion
UAG represents a significant step forward in making SSL robust to real-world, uncurated data. By moving from feature-based to logit-based uncertainty and preventing "unknown" collapse through graph regularization, it handles complex outlier scenarios that baffle traditional methods. Future work will focus on scaling the framework to massive datasets like ImageNet-1k and exploring its utility in "open-world" scenarios where new classes appear continuously over time.
Summary updated