Proxy Anchor-based Unsupervised Learning for Continuous Generalized Category Discovery

Hyungmin Kim, Sungho Suh, Daehwan Kim, Daun Jeong, Hansang Cho, Junmo Kim

Introduction

In the evolving landscape of machine learning, the ability of a model to adapt to new information is paramount. Traditional paradigms such as Novel Category Discovery (NCD) and Generalized Category Discovery (GCD) have made strides in identifying unseen classes. However, these methods often rely on unrealistic assumptions, such as prior knowledge of the number of new categories or the specific proportions of novel versus known data. Furthermore, they frequently neglect the challenge of incremental learning, where the acquisition of new knowledge often leads to "catastrophic forgetting" of previously learned information.

This paper introduces Continuous Generalized Category Discovery (CGCD), a more robust and realistic framework. In CGCD, a model must incrementally discover new object categories within unlabeled, mixed datasets without external hints regarding class counts or distributions. To address this, the authors propose a framework leveraging Proxy Anchors to distinguish between "seen" and "unseen" data while utilizing these anchors as synthetic exemplars to maintain performance on legacy categories.

Methodology

The proposed CGCD framework is structured into three distinct operational phases:

1. Initial Representation Learning

The process begins with an initial fine-tuning stage where the model is trained on a small, labeled dataset. This stage utilizes Proxy Anchors (PA). Unlike standard metric learning that compares every sample pair—a computationally prohibitive task—Proxy Anchors represent each category as a vector in the embedding space. The model optimizes the distance between data samples and these representative proxies, establishing a strong baseline for feature representation.

2. Discovery of Novel Categories

When presented with a joint unlabeled dataset containing both known and unknown classes, the model undergoes a multi-stage discovery process:

  • Initial Split: The model calculates the cosine similarity between incoming samples and existing Proxy Anchors. Samples with low similarity to all known anchors are tentatively flagged as "unseen."
  • Fine Split: Recognizing that initial similarity checks can be noisy, the framework employs a "noisy label learning" strategy. A secondary Multi-Layer Perceptron (MLP) classifier is trained on the most certain samples to refine the distinction between seen and unseen data.
  • Non-Parametric Clustering: To remove the "prior knowledge" crutch, the model uses Affinity Propagation on the unseen samples. This allows the system to automatically estimate the number of new categories based on the data's inherent structure rather than a predefined hyperparameter.

3. Incremental Category Integration

Once new categories are identified, new Proxy Anchors are initialized. To mitigate catastrophic forgetting, the authors implement Feature Replay. Instead of storing raw images—which presents privacy and memory constraints—the model treats old Proxy Anchors as the centers of Gaussian distributions. It then generates synthetic "representative features" to simulate the presence of old classes during new training cycles. This is coupled with Knowledge Distillation to ensure the updated model's internal logic remains consistent with its predecessor.

Experimental Evaluation

The researchers evaluated the framework on several fine-grained visual classification datasets, including CUB-200 (birds), MIT67 (indoor scenes), Stanford Dogs, and FGVC Aircraft. Fine-grained tasks are particularly challenging due to the high intra-class variance and low inter-class variance.

Key Results

The proposed method demonstrated significant improvements over state-of-the-art (SOTA) incremental methods like FRoST and GM:

  • Accuracy ($M_{all}$): On the CUB-200 dataset, the model achieved a total cluster accuracy of 54.75%, a substantial leap from FRoST’s 18.19%.
  • Forgetting Rate ($M_f$): The framework effectively preserved old knowledge. On the Stanford Dogs dataset, the forgetting rate was restricted to 6.77%, whereas competing methods often exceeded 50%.
  • Qualitative Performance: Visualizations confirmed the model's ability to cluster subtle categories, such as distinct species of sparrows or flycatchers, even without explicit labels during the discovery phase.

Discussion and Limitations

The core innovation of this research lies in the dual utility of Proxy Anchors: they serve as both an efficient metric learning tool and a compact memory mechanism for feature replay. The "Fine Split" mechanism further proves that treating the seen/unseen boundary as a noisy label problem significantly enhances separation accuracy.

However, challenges remain. The model still struggles with "hard negatives"—samples that are visually nearly identical but belong to different species. In such cases, the "Fine Split" may fail without domain-specific expertise. Additionally, the success of the clustering phase is heavily dependent on the quality of the initial feature extractor.

Conclusion

The CGCD framework represents a significant step toward autonomous, lifelong learning systems. By removing the need for prior knowledge of class counts and implementing efficient feature replay via Proxy Anchors, the model provides a scalable solution for real-world category discovery. Future work may explore more advanced non-parametric clustering techniques to further refine discovery in even more complex environments.

Summary updated

BibTeX
@inproceedings{kim2023proxy,
  author = {Hyungmin Kim and Sungho Suh and Daehwan Kim and Daun Jeong and Hansang Cho and Junmo Kim},
  title = {{Proxy Anchor-based Unsupervised Learning for Continuous Generalized Category Discovery}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure