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

Active Generalized Category Discovery

Shijie Ma, Fei Zhu, Zhun Zhong, Xu-Yao Zhang, Cheng-Lin Liu · DOI

Abstract

Generalized Category Discovery (GCD) is a pragmatic open-world task that involves clustering unlabeled samples from both novel and known (old) classes by leveraging limited labeled data from the old classes. However, GCD often suffers from imbalanced performance and inconsistent confidence between old and new categories. To address these challenges, we introduce Active Generalized Category Discovery (AGCD). By actively selecting a limited number of valuable samples for labeling, we significantly improve discovery performance. Our approach utilizes an Adaptive-Novel sampling strategy—considering novelty, informativeness, and diversity—and a Stable Label Mapping algorithm to ensure consistent training across active selection stages. Experimental results demonstrate state-of-the-art performance across generic and fine-grained datasets.

Introduction

In real-world computer vision applications, models frequently encounter objects from categories not seen during initial training. Generalized Category Discovery (GCD) addresses this by requiring models to categorize a dataset containing both "old" (seen) and "new" (unseen) classes. While GCD is a powerful framework, it inherently faces a "performance gap": models tend to be highly confident and accurate regarding old classes but struggle to form distinct, accurate clusters for novel ones.

To bridge this gap, we propose the Active Generalized Category Discovery (AGCD) framework. AGCD incorporates the principles of Active Learning (AL), where the model strategically queries a human "oracle" to label the most informative samples. By labeling a very small fraction of the data, the model can drastically improve its understanding of novel categories.

The Challenges of Active GCD

Standard Active Learning techniques are typically designed for "closed-world" scenarios where the label space is fixed. Applying them to GCD presents two major hurdles:

  1. Selection Bias: Standard AL metrics like entropy often fail to prioritize novel classes effectively, as the model's uncertainty may not distinguish between a hard "old" sample and a "new" category sample.
  2. Label Inconsistency: In GCD, novel classes are identified through clustering. The cluster indices (e.g., Cluster 1, Cluster 2) do not naturally correspond to ground-truth labels. This "label jitter" makes it difficult to incorporate queried labels into the training process consistently.

Methodology

1. Adaptive-Novel Sampling Strategy

Our sampling strategy moves beyond simple uncertainty to consider three critical dimensions:

  • Novelty: The model prioritizes samples predicted to belong to new classes.
  • Diversity: To avoid redundant labeling, the strategy ensures samples are drawn from a wide variety of predicted clusters.
  • Informativeness (The "Switch"): This is a dynamic approach to uncertainty. In the early stages of training, when clusters are unstable, the model selects confident novel samples to serve as "anchors." Once the mapping between clusters and labels stabilizes, the strategy switches to selecting informative (uncertain) samples to refine decision boundaries.

2. Stable Label Mapping

To resolve the discrepancy between cluster indices and ground-truth labels, we employ the Hungarian Algorithm to find the optimal one-to-one mapping. However, cluster assignments can change between training iterations. To ensure stability, we utilize an Exponential Moving Average (EMA) version of the model. The EMA model provides a consistent reference point for predictions, preventing the "label jitter" that would otherwise disrupt the learning process.

Experimental Results

We evaluated AGCD on six benchmarks, including generic datasets (CIFAR-10, CIFAR-100, ImageNet-100) and fine-grained datasets (CUB-200-2011, Stanford Cars, FGVC-Aircraft).

Performance Gains

The results demonstrate that AGCD achieves massive gains with a minimal labeling budget. For instance:

  • On the CUB-200-2011 (birds) dataset, accuracy for new classes improved by 25.52%.
  • On the FGVC-Aircraft dataset, accuracy for new classes rose by 23.49%.
  • These improvements were achieved with as few as 2.5 labeled samples per class.

Comparison to Baselines

AGCD consistently outperformed standard AL strategies such as Entropy sampling and CoreSet. On CIFAR-100, our method surpassed random sampling by nearly 7% in overall accuracy, proving that the strategic selection of samples is far more effective than increasing the quantity of random labels.

Discussion and Insights

A key takeaway from our research is the "Anchor Effect." By initially selecting confident samples for novel classes, we provide the model with stable ground-truth references. This stabilization is a prerequisite for effective boundary refinement. Furthermore, our results show that AGCD promotes Balanced Accuracy, significantly reducing the performance disparity between old and new classes.

While AGCD requires a human oracle and introduces some computational overhead due to the Hungarian algorithm and EMA model maintenance, the trade-off is a significantly more robust and capable open-world recognition system.

Conclusion

Active Generalized Category Discovery represents a significant step toward practical open-world learning. By combining adaptive sampling with stable label mapping, we enable models to learn new categories efficiently and accurately. Our code is available at https://github.com/mashijie1028/ActiveGCD

Summary updated

BibTeX
@inproceedings{ma2024active,
  author = {Shijie Ma and Fei Zhu and Zhun Zhong and Xu-Yao Zhang and Cheng-Lin Liu},
  title = {{Active Generalized Category Discovery}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.01598},
}
Figure