Introduction
Generalized Category Discovery (GCD) aims to categorize a dataset containing both labeled images from known classes and unlabeled images that may belong to either known or entirely new categories. This task is particularly challenging in fine-grained scenarios, such as distinguishing between similar bird species.
Current state-of-the-art methods often suffer from the "bridge" problem: while they may mask distances between known classes, unlabeled samples can act as intermediate nodes, indirectly merging distinct known categories into a single noisy cluster. This leads to degraded representations and poor discovery of new categories.
Methodology
The proposed framework, Prior-Constrained Association Learning (PAL), addresses these issues by embedding labeled priors directly into the association algorithm rather than treating them as a pre-processing step.
Prior-constrained Greedy Association
Unlike standard clustering, PAL uses a greedy approach based on Jaccard distance with a built-in validity check. Before merging any two groups, the algorithm ensures the resulting group does not contain more than one known class label. This hard constraint preserves the integrity of the labeled data throughout the discovery process and prevents the formation of "false bridges."
Joint Classification Framework
The architecture employs a dual-head system to benefit from both top-down and bottom-up learning:
- Non-parametric Prototypical Contrast: Reliable groups formed during association generate feature centroids (proxies). Prototypical Contrastive Learning (PCL) is then used to pull instances toward their assigned proxies and push them away from others, sharpening the feature space.
- Parametric Classification: A traditional classifier predicts specific class probabilities, which is effective when class numbers are known.
To synchronize these heads, a two-stage training process is used, starting with a "warm-up" for the non-parametric association before joint training. To scale to large datasets, the association is performed on random subsets of unlabeled data, reducing noise and computational cost.
Experimental Results
PAL-GCD was evaluated on six benchmarks, including fine-grained (CUB-200, Stanford Cars, Aircraft, Herbarium19) and generic (CIFAR-100, ImageNet-100) datasets. The method achieved significant performance improvements, particularly in fine-grained tasks:
- Stanford Cars: 72.2% accuracy, representing a 15.3% improvement over the previous state-of-the-art (CMS).
- CUB-200: 72.6% accuracy, a 4.4% improvement over CMS.
- Unknown Class Discovery: PAL-GCD consistently outperformed competitors on "New" class metrics, proving its efficacy in discovering novel categories.
Furthermore, the model demonstrated robustness in estimating the total number of categories on its own, with a maximum error rate of only 18%.
Conclusion
PAL-GCD effectively leverages labeled data as a hard constraint to eliminate false associations in GCD. While the method shows dramatic improvements in fine-grained discovery, future work will address the computational overhead of pairwise Jaccard distance calculations for million-scale datasets and explore performance on less curated "in-the-wild" data where pre-trained backbones may be less effective.
Summary updated