Component Adaptive Clustering for Generalized Category Discovery

Mingfu Yan, Jiancheng Huang, Yifan Liu, Shifeng Chen

Introduction

Generalized Category Discovery (GCD) is a challenging task in computer vision where a model must categorize a partially labeled dataset. The goal is to recognize known classes while simultaneously discovering and grouping novel categories in the unlabeled portion. Traditional approaches often rely on global image features, which capture the overall "gist" of an image but often overlook the fine-grained local details—such as textures, shapes, and specific object components—essential for distinguishing between similar novel species or objects.

Methodology: The AdaGCD Framework

To address the limitations of global-only representations, the authors propose AdaGCD, a cluster-centric contrastive learning framework that integrates local spatial information.

The overall architecture of the AdaGCD framework, illustrating the dual-view contrastive learning pipeline and the integration of the AdaSlot module.

The pipeline consists of several key stages:

  1. Feature Extraction: Images are processed through a pre-trained DINO vision transformer to extract both global features and 2D spatial feature maps.
  2. Adaptive Slot Attention (AdaSlot): This core component dynamically allocates "slots" to capture clustered semantic features (e.g., specific object parts). Unlike fixed-slot methods, AdaSlot determines the optimal number of slots based on the visual complexity of each image using a Gumbel Softmax-based masking mechanism.
  3. Low-Level Reconstruction: A masked decoder ($d_\theta$) reconstructs the original spatial features from the slots, ensuring they represent tangible physical characteristics.
  4. Contrastive Learning: The pooled slot features are combined with global features for image-scale contrastive learning, which optimizes the representation space for category discovery.

Key Results and Visualizations

AdaGCD demonstrates superior performance across various benchmarks, particularly on fine-grained classification tasks where local details are paramount. On the notoriously difficult Herbarium 19 dataset, the model achieved a significant accuracy of 50.1%, outperforming previous state-of-the-art methods like LegoGCD.

t-SNE visualizations of the discovered categories on Stanford Cars, FGVC Aircraft, and Herbarium 19 datasets, demonstrating clear cluster separation.

The t-SNE visualizations confirm that AdaGCD successfully groups unlabeled data into distinct, well-separated clusters corresponding to novel categories. The model's ability to adaptively choose the number of components prevents common issues like over-segmentation or under-segmentation, leading to more robust category discovery in open-world scenarios.

Conclusion

By moving beyond global features and introducing adaptive local component modeling, AdaGCD sets a new standard for Generalized Category Discovery. The integration of the AdaSlot mechanism allows the model to capture the nuanced details required for complex, fine-grained tasks, making it a powerful tool for organizing large-scale, partially labeled datasets.

Summary updated

BibTeX
@inproceedings{yan2025component,
  author = {Mingfu Yan and Jiancheng Huang and Yifan Liu and Shifeng Chen},
  title = {{Component Adaptive Clustering for Generalized Category Discovery}},
  booktitle = {ICME},
  year = {2025},
  url = {https://openreview.net/forum?id=TUbStgdl62},
}
Figure