NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Active Learning for Open-set Annotation

Kun-Peng Ning, Xun Zhao, Yu Li, Sheng-Jun Huang

Abstract

Traditional Active Learning (AL) assumes a closed-set environment where all unlabeled data belongs to known classes. In real-world scenarios, unlabeled pools often contain "unknown" classes that attract uncertainty-based sampling, leading to inefficient annotation. This paper introduces Learning from Open-Set Annotation (LfOSA), a framework that decouples detection and classification. By using a dual-network architecture with Gaussian Mixture Models (GMM) and low-temperature sharpening, LfOSA filters out irrelevant data, significantly improving selection precision and model accuracy in open-set conditions.

Introduction

Most Active Learning research assumes that every unlabeled image in a pool belongs to one of the target classes. In practice, unlabeled data sourced from the web or uncurated sensors often contains significant "noise"—images from classes entirely unrelated to the task. Standard AL strategies, such as uncertainty sampling, are paradoxically attracted to this noise because the model lacks features for these unknown classes, resulting in high uncertainty. This leads to "Open-set Annotation" (OSA) inefficiency, where human annotators spend budgets labeling irrelevant data, slowing model convergence.

Methodology

The LfOSA framework addresses the OSA problem by decoupling the task into two specialized networks: a Detector and a Classifier.

Dual-Network Architecture

The Detector is trained to distinguish between $K$ known classes and a $(K+1)$-th "unknown" class. To enhance separation, the authors employ Temperature Tuning ($T=0.5$) in the cross-entropy loss. This sharpening effect forces the network to develop much stronger activation values for known classes versus unknown ones, making them easier to separate.

The LfOSA framework architecture: a Detector identifies known samples using GMM-based filtering of activation values, while a Classifier is trained on the resulting labeled set.

Selection Strategy

LfOSA utilizes the Max Activation Value (MAV) from the detector's penultimate layer. A Gaussian Mixture Model (GMM) is fitted to these MAV scores for each class to calculate the posterior probability of a sample being "known." Only samples with high known-class probability are queried for annotation. Samples identified as "unknown" by the annotator are moved to an "Invalid Set," providing negative supervision to further refine the Detector in subsequent rounds.

Experimental Results

The researchers evaluated LfOSA on CIFAR-10, CIFAR-100, and Tiny-ImageNet benchmarks, simulating open-set conditions with mismatch ratios of 20%, 30%, and 40%.

Performance Gains

LfOSA consistently outperformed standard baselines, including Random, Uncertainty, CoreSet, and BALD. Key findings include:

  • Selection Precision: LfOSA maintained a selection precision (percentage of queries belonging to known classes) up to 2-3x higher than standard methods.
  • Classification Accuracy: On CIFAR-100 with a 20% mismatch ratio, LfOSA achieved approximately 20% higher accuracy than the next best method after several query rounds.
  • Robustness: The performance gap between LfOSA and traditional methods widened as the mismatch ratio increased, demonstrating its effectiveness in highly noisy environments.
Accuracy comparison across various datasets and mismatch ratios. LfOSA (red line) consistently maintains superior performance as the number of queries increases.

Conclusion

LfOSA effectively solves the open-set annotation trap by prioritizing class-certainty before informativeness. While it introduces additional computational overhead due to the dual-network setup, the significant reduction in wasted annotation effort makes it a powerful tool for real-world machine learning pipelines. Future work may extend this approach to more complex tasks such as object detection, where images may contain both known and unknown objects.

Summary updated

BibTeX
@inproceedings{ning2022active,
  author = {Kun-Peng Ning and Xun Zhao and Yu Li and Sheng-Jun Huang},
  title = {{Active Learning for Open-set Annotation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.00014},
}
Figure