Abstract
We introduce a Parametric Information Maximization (PIM) model for the Generalized Category Discovery (GCD) problem. Specifically, we propose a bi-level optimization formulation, which explores a parameterized family of objective functions, each evaluating a weighted mutual information between the features and the latent labels, subject to supervision constraints from the labeled samples. Our formulation mitigates the class-balance bias encoded in standard information maximization approaches, thereby handling effectively both short-tailed and long-tailed data sets. We report extensive experiments and comparisons demonstrating that our PIM model consistently sets new state-of-the-art performances in GCD across six different datasets, more so when dealing with challenging fine-grained problems.
Introduction
Generalized Category Discovery (GCD) represents a realistic and challenging machine learning paradigm where an unlabeled dataset contains a mixture of previously seen categories and entirely novel ones. Unlike Semi-Supervised Learning (SSL), which assumes a closed set of classes, or Novel Category Discovery (NCD), which focuses exclusively on new classes, GCD requires a model to simultaneously categorize known instances and cluster unknown ones.
Existing approaches often rely on Information Maximization (InfoMax) principles. However, standard InfoMax techniques suffer from a significant class-balance bias: they inherently favor uniform cluster sizes. This bias leads to performance degradation in real-world "long-tailed" scenarios where class distributions are naturally imbalanced.
Methodology: Parametric Information Maximization (PIM)
To address the limitations of fixed InfoMax, we propose Parametric Information Maximization (PIM). PIM optimizes the Mutual Information (MI) between input features and predicted labels using a flexible weighting mechanism.
Bi-level Optimization
The core of PIM is a bi-level optimization strategy. Standard MI is defined by the difference between marginal entropy (which encourages diverse cluster assignments) and conditional entropy (which encourages high confidence). PIM introduces a parameter, $\lambda$, to weight the marginal entropy term.
Instead of treating $\lambda$ as a fixed hyperparameter, PIM employs a "tuning fork" strategy: it searches for the $\lambda$ value that maximizes clustering accuracy on the labeled portion of the data. The underlying assumption is that the optimal balance for seen classes serves as a reliable proxy for the optimal balance of the entire dataset, including novel categories.
Global Distribution Modeling
Unlike prior methods that compute entropy terms solely over unlabeled data, PIM calculates these terms over the union of labeled and unlabeled sets. This global perspective allows the model to capture the true underlying distribution more effectively, particularly when dealing with imbalanced datasets.
Experimental Results
We evaluated PIM across six benchmarks, ranging from generic object recognition (CIFAR-10/100, ImageNet-100) to fine-grained discovery (CUB, Stanford Cars) and long-tailed distributions (Herbarium19).
Key Findings
- State-of-the-Art Performance: PIM sets new benchmarks across all tested datasets. Notably, on the fine-grained CUB dataset, PIM achieved a 62.7% accuracy, representing an 11.4% improvement over the previous state-of-the-art.
- Robustness to Imbalance: On the long-tailed Herbarium19 dataset, PIM outperformed existing methods by approximately 7%. This confirms that the parametric weighting of marginal entropy successfully mitigates class-balance bias.
- Model Agnostic: PIM functions as a plug-and-play loss function, demonstrating strong performance when applied to features from various backbones, such as DINO-pretrained Vision Transformers (ViT).
Discussion and Limitations
PIM demonstrates that a principled, well-tuned loss function can outperform more complex architectural modifications. By using labeled data to calibrate the information-theoretic objective, PIM effectively bridges the gap between supervised learning and unsupervised discovery.
However, some limitations remain. PIM is currently transductive, requiring access to the full unlabeled pool to estimate marginal entropy, which limits its application in streaming or online settings. Furthermore, while the proxy assumption for $\lambda$ holds across the tested benchmarks, extreme cases where novel class distributions differ radically from seen ones may require further investigation into autonomous metric selection.
Conclusion
Parametric Information Maximization provides a robust framework for Generalized Category Discovery. By introducing a tunable parameter to the InfoMax objective and optimizing it via a bi-level strategy, PIM effectively handles the class-balance bias that plagues traditional clustering approaches, particularly in fine-grained and long-tailed scenarios.
Summary updated