Abstract
Traditional Active Learning (AL) assumes a closed-world environment where all unlabeled data belongs to known classes. In real-world scenarios, unlabeled pools often contain "unknown" classes, a challenge known as Active Open-Set Annotation (AOSA). Standard AL methods frequently fail in this context by selecting uninformative unknown samples. This paper introduces NEAT (iNconsistency-basEd dAta-cenTric active open-set annotation), a framework that leverages pre-trained foundation models and a novel inconsistency metric to identify informative known-class samples. NEAT achieves up to a 9% accuracy improvement over state-of-the-art methods while significantly reducing computational overhead.
Introduction
Active Learning (AL) is a strategic approach to machine learning where the algorithm selects the most informative data points for human annotation, thereby reducing the total labeling budget required to achieve high performance. However, the "closed-world" assumption of traditional AL—that every unlabeled sample belongs to a predefined set of classes—is rarely met in practice. When training a classifier on internet-scraped data, the unlabeled pool inevitably contains "out-of-distribution" or unknown classes.
In this Active Open-Set Annotation (AOSA) setting, conventional uncertainty-based AL methods tend to prioritize unknown samples because they reside in low-confidence regions of the feature space. Labeling these samples is inefficient, as they do not contribute to the classification of known categories. Previous attempts to solve this involved training auxiliary "detector" networks, which are often computationally expensive and prone to filtering out valuable known samples near the decision boundary.
The NEAT Framework
NEAT shifts the paradigm from model-centric detection to a data-centric approach. The framework consists of three primary stages:
1. Feature Extraction via Foundation Models
Instead of training a feature extractor from scratch on limited labeled data, NEAT utilizes the pre-trained CLIP (Contrastive Language-Image Pre-training) model. CLIP provides robust, high-quality semantic features that naturally group similar objects in the embedding space, even before task-specific fine-tuning begins.
2. Known Class Detection
To distinguish between known and unknown classes, NEAT employs a "label clusterability" criterion. For any given unlabeled sample, the framework examines its $K$-nearest neighbors within the existing labeled set. If the neighbors consistently belong to known classes, the sample is flagged as a likely member of a known class. This leverages the semantic consistency of the CLIP feature space to filter out "unknown" noise without the need for a separate detector network.
3. Inconsistency Scoring
The core innovation of NEAT is the inconsistency score $I(x)$. Once a sample is identified as a likely known class, NEAT evaluates its potential informativeness by comparing the current model’s prediction against the actual labels of its neighbors.
High inconsistency occurs when the model predicts one class (e.g., "Golden Retriever") while the local neighborhood in the feature space is dominated by another (e.g., "Labrador"). High inconsistency suggests that the sample is either near a decision boundary or located in a region where the model’s current logic contradicts the local data distribution, making it a high-priority candidate for manual labeling.
Experimental Results
NEAT was evaluated against standard benchmarks including CIFAR-10, CIFAR-100, and Tiny-ImageNet, modified to include varying ratios of unknown classes.
- Accuracy Gains: NEAT outperformed the previous state-of-the-art method, LFOSA, by an average of 9% across all tested datasets.
- Precision and Recall: The method demonstrated superior ability in correctly identifying known classes (Recall) while avoiding the selection of unknown noise (Precision).
- Efficiency: By avoiding the training of auxiliary detector networks, NEAT is significantly faster. On the Tiny-ImageNet benchmark, NEAT completed the annotation cycle in 88 minutes, compared to 156 minutes for LFOSA—a nearly 2x speedup.
- Architecture Agnostic: The framework proved robust across various backbones, including ResNet-18, ResNet-50, and Vision Transformers (ViT).
Discussion and Limitations
The success of NEAT highlights the advantage of data-centric approaches in AOSA. By decoupling the task of finding known classes from the task of finding informative samples, NEAT avoids the "chicken-and-egg" problem where a detector cannot be trained effectively without the very labels it is trying to find.
However, the method's performance is inherently linked to the quality of the pre-trained feature extractor. In specialized domains where foundation models like CLIP may lack exposure (e.g., specific medical imaging or niche industrial parts), the clusterability assumption may be less reliable. Additionally, the choice of the hyperparameter $K$ (number of neighbors) is critical; while the authors found stability between $K=10$ and $K=20$, extremely low values can introduce noise into the inconsistency calculation.
Conclusion
NEAT represents a significant step forward for practical Active Learning. By utilizing the inherent structure of foundation model embeddings and a simple yet effective inconsistency metric, it provides a robust and efficient solution for labeling data in the presence of open-set noise. Future work may extend this inconsistency-based logic to multi-modal datasets and natural language processing tasks.
Summary updated