TL;DR
SAMOSA introduces a novel approach to Open Set Active Learning (OSAL) by querying unlabeled data based on its "atypicality" rather than standard uncertainty. By leveraging the prediction discrepancy between models trained with standard Stochastic Gradient Descent (SGD) and Sharpness-Aware Minimization (SAM), SAMOSA successfully identifies highly informative samples near decision boundaries while filtering out irrelevant classes. It achieves state-of-the-art accuracy across multiple benchmarks without adding computational overhead.
What Problem Does This Paper Address?
Active Learning (AL) helps reduce labeling costs by selecting the most informative samples from an unlabeled pool for human annotation. However, standard AL assumes a "closed-set" scenario where all unlabeled data belongs to known target classes. In real-world applications, unlabeled data is often messy and contains irrelevant or completely unknown classes (e.g., bird images showing up in a dataset meant for training a mammal classifier)—a scenario known as Open Set Active Learning (OSAL).
Traditional AL methods like entropy-based sampling perform poorly here. They get distracted by unknown classes or select "typical" samples that the model is temporarily confused about early in training. Consequently, they completely miss highly informative "atypical" samples from the target classes that the model misclassifies with high confidence.
Methods
The authors propose SAMOSA (Sharpness Aware Minimization for Open Set Active Learning). The core idea relies on a theoretical insight: SGD and SAM generalize similarly on typical data points but diverge significantly on atypical ones.
To exploit this, SAMOSA computes a SAMIS-P score, defined as the $L_1$-norm of the difference between the output probability vectors of an SGD-trained model ($f_{SGD}$) and a SAM-trained model ($f_{SAM}$):
$$S(x_i) = \|f_{SAM}(x_i) - f_{SGD}(x_i)\|_1$$
The algorithm operates in a two-phase approach during each query round:
- Rejection Sampling (Filtering): Both models are trained with an extra output dimension ($K+1$) to capture unknown classes. Unlabeled samples predicted as "unknown" by either model are filtered out.
- Atypicality Querying: The remaining accepted samples are sorted by their SAMIS-P scores. The samples with the highest scores (the most atypical and informative "criticisms") are prioritized and selected for human labeling.
Datasets
The method was evaluated on three standard image classification benchmarks:
- CIFAR10
- CIFAR100
- TinyImageNet
To simulate open-set environments, the authors introduced "mismatch ratios" of 20%, 30%, and 40%, representing the fraction of excluded (unknown) classes mixed into the unlabeled pool.
Key Insights and Ideas
- The Fallacy of Entropy: Traditional uncertainty metrics target samples where the model is slightly confused (high entropy). SAMOSA demonstrates that misclassified samples with low entropy (high model confidence) are often highly informative, atypical examples (e.g., a kayak instead of a typical cruise ship for the class 'ship') that entropy-based methods completely ignore.
- Discrepancy as a Proxy for Geometry: The prediction gap between SAM and SGD serves as a reliable geometric proxy. High-discrepancy samples naturally migrate toward the decision boundaries during the crucial middle epochs of training, making them ideal targets for active learning.
- Quality Over Purity: While other OSAL methods obsess over sampling precision (only picking known classes), SAMOSA prioritizes highly informative atypical samples. Even if precision drops initially, the selected samples drastically improve the model's decision boundaries, leading to rapid precision and accuracy gains in later rounds.
Key Results
- State-of-the-Art Accuracy: SAMOSA outperforms existing OSAL methods (like EOAL and lfOSA) by up to 3% on CIFAR100 (with a 40% mismatch ratio) and up to 2% on CIFAR10 and TinyImageNet.
- No Computational Overhead: Despite training two models (SGD and SAM), SAMOSA runs as fast as EOAL and significantly faster than MQNet because it avoids complex meta-learning or heavy clustering steps.
- Robustness to Noise: In a realistic setup where 5% of the labels are randomly flipped (annotation noise), SAMOSA significantly maintained its performance edge, thanks to the inherent robustness of the underlying SAM optimization.
Limitations and Future Work
- Two-Model Dependency: SAMOSA requires maintaining and training both an SGD and a SAM variant of the model during the active learning loop, which increases the baseline training footprint.
- Future Directions: The authors suggest exploring faster ways to compute SAMIS scores without fully training both models from scratch each round. They also propose investigating how presenting these atypical "criticism" samples can assist human annotators in making fewer mistakes during the labeling process.
Summary updated