Abstract
Semi-supervised learning (SSL) has been proposed to leverage unlabeled data for training powerful models when only limited labeled data is available. While existing SSL methods assume that samples in the labeled and unlabeled data share the classes of their samples, we address a more complex novel scenario named open-set SSL, where out-of-distribution (OOD) samples are contained in unlabeled data. Instead of training an OOD detector and SSL separately, we propose a multi-task curriculum learning framework. First, to detect the OOD samples in unlabeled data, we estimate the probability of the sample belonging to OOD. We use a joint optimization framework, which updates the network parameters and the OOD score alternately. Simultaneously, to achieve high performance on the classification of in-distribution (ID) data, we select ID samples in unlabeled data having small OOD scores, and use these data with labeled data for training the deep neural networks to classify ID samples in a semi-supervised manner. We conduct several experiments, and our method achieves state-of-the-art results by successfully eliminating the effect of OOD samples.
Introduction
Semi-supervised learning (SSL) is a powerful paradigm for training deep neural networks when labeled data is scarce but unlabeled data is abundant. Traditional SSL algorithms, such as MixMatch or Mean Teacher, typically operate under a "closed-set" assumption: they assume that the unlabeled data distribution perfectly matches the labeled classes. However, in real-world applications, unlabeled datasets are often "polluted" with out-of-distribution (OOD) samples—images that do not belong to any of the target classes.
When these OOD samples are included in training, they act as noise and can significantly degrade the performance of standard SSL methods, sometimes making them perform worse than models trained only on the small labeled set. This paper addresses the "Open-Set SSL" challenge by proposing a framework that jointly detects outliers and performs classification.
Methodology
The proposed Multi-Task Curriculum Learning framework integrates OOD detection and image classification into a single, synergistic process.
Joint Optimization for OOD Detection
The framework treats OOD detection as a "noisy label" problem. Initially, labeled data is assigned an OOD score of 0 (In-Distribution, ID), while all unlabeled data is tentatively assigned a score of 1 (OOD). Since the unlabeled pool contains many ID samples, these initial labels are noisy. The model uses a joint optimization approach, alternating between updating network parameters and refining the OOD scores of unlabeled samples. This allows the model to progressively identify which unlabeled samples are actually ID.
Curriculum Learning and Automated Thresholding
As the model learns to distinguish ID from OOD, it employs a curriculum approach. It selects only the unlabeled samples with low OOD scores to participate in the SSL training process. To avoid manual hyperparameter tuning, the authors utilize Otsu thresholding—a classic image processing technique—to automatically determine the optimal cut-off point between ID and OOD scores.
SSL Integration
For the classification task, the framework integrates with MixMatch, applying it only to the labeled data and the "clean" unlabeled samples identified by the curriculum.
Experiments and Results
The method was evaluated using CIFAR-10 and SVHN as ID datasets, with TinyImageNet (TIN), LSUN, and synthetic noise (Gaussian/Uniform) as OOD distractors.
Key findings include:
- Performance Gains: On CIFAR-10 with 250 labels and TinyImageNet OOD, the method achieved 86.44% accuracy, significantly outperforming the baseline MixMatch (82.42%).
- Robustness to Noise: The framework proved exceptionally robust against synthetic noise. In a test with Uniform noise, the baseline accuracy dropped to 72.90%, while the proposed method maintained 85.54%.
- Detection Accuracy: The OOD detection component achieved near-perfect AUROC scores, often exceeding 99%, surpassing specialized detectors like ODIN.
Discussion and Conclusion
The multi-task approach creates a synergy where classification training improves feature learning for OOD detection, and vice versa. However, some limitations remain. The Otsu thresholding can struggle when OOD samples are extremely rare, and "near-distribution" outliers (e.g., similar but distinct animal breeds) remain more challenging to detect than dissimilar ones. Future work will focus on refining thresholding for imbalanced data and improving the detection of these similar outliers.
Summary updated