Mutual Information-based Generalized Category Discovery

Florent Chiaroni, Jose Dolz, Imtiaz Masud Ziko, Amar Mitiche, Ismail Ben Ayed · DOI

Abstract

Generalized Category Discovery (GCD) is a realistic yet challenging computer vision task where a model must categorize an unlabeled dataset containing a mix of known ("seen") and unknown ("novel") classes. A primary obstacle in GCD is the "class-balance bias" found in traditional information-theoretic models, which tend to perform poorly on imbalanced, long-tailed data. This paper introduces Parametric Information Maximization (PIM), a framework that utilizes a bi-level optimization strategy to automatically tune the weight of mutual information objectives. By leveraging labeled data to find the optimal balance, PIM effectively overcomes distribution biases, setting new state-of-the-art performance benchmarks on fine-grained and imbalanced datasets.

Introduction

In real-world computer vision applications, models often encounter data from categories they were never trained on. While Semi-Supervised Learning (SSL) assumes all unlabeled data belongs to known classes, and Novel Category Discovery (NCD) assumes it all belongs to new ones, Generalized Category Discovery (GCD) addresses the more complex scenario where the unlabeled pool is a mixture of both.

The core challenge in GCD is the "class-balance bias." Most clustering methods based on Information Maximization (InfoMax) implicitly assume that classes are roughly equal in size. When applied to "long-tailed" datasets—where a few classes dominate and many others have very few samples—these models fail by attempting to force the data into uniform clusters.

Parametric Information Maximization (PIM)

The proposed PIM framework is built on maximizing the Mutual Information (MI) between features and latent labels. Standard MI consists of two parts: Marginal Entropy (encouraging labels to be spread evenly) and Conditional Entropy (encouraging high confidence in individual predictions).

Analysis of the lambda parameter and class distributions across datasets.

PIM introduces several key innovations to adapt MI for GCD:

  1. Parameterized Objective: A weight parameter, $\lambda$, is introduced for the unsupervised components of the loss. This allows the model to reduce the "uniformity" requirement for datasets that are naturally imbalanced.
  2. Bi-level Optimization: Rather than manual tuning, PIM uses a two-tier optimization process. The lower level determines label assignments for a specific $\lambda$, while the upper level evaluates these assignments on the labeled portion of the data to select the optimal $\lambda$ value.
  3. Holistic MI: PIM calculates MI over the entire dataset (labeled and unlabeled), providing a more accurate representation of the global distribution.

Experimental Setup

The effectiveness of PIM was evaluated across six diverse datasets:

  • Generic Object Recognition: CIFAR10, CIFAR100, and ImageNet-100.
  • Fine-Grained Recognition: CUB (birds) and Stanford Cars.
  • Long-Tailed/Imbalanced Data: Herbarium19, which features highly uneven class distributions typical of real-world scenarios.

Results and Discussion

PIM consistently outperformed existing state-of-the-art GCD methods, including RankStats+, UNO+, and the baseline GCD approach.

Comparative performance of PIM against state-of-the-art GCD methods across various benchmarks.

Key Findings

  • Superiority in Fine-Grained Tasks: On the CUB dataset, PIM achieved an accuracy of 62.7%, a significant improvement over the previous best of 51.3%.
  • Robustness to Imbalance: The gains on the Herbarium19 dataset demonstrate that the $\lambda$ parameter successfully mitigates the class-balance bias, allowing the model to handle long-tailed distributions effectively.
  • Leveraging Labeled Data: A critical insight is that the optimal hyperparameter for clustering unlabeled data can be discovered by observing what works best for the labeled data, justifying the bi-level optimization approach.

Conclusion and Future Work

PIM represents a significant step forward in Generalized Category Discovery by addressing the inherent biases of information-theoretic clustering. While highly effective, the model currently operates in a transductive manner, requiring access to the full unlabeled dataset at once. Future research could explore extending PIM to inductive or incremental learning settings and developing metrics that incorporate novel class information directly into the hyperparameter selection process.

Summary updated

BibTeX
@inproceedings{chiaroni2023mutual,
  author = {Florent Chiaroni and Jose Dolz and Imtiaz Masud Ziko and Amar Mitiche and Ismail Ben Ayed},
  title = {{Mutual Information-based Generalized Category Discovery}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=v3D6dRxhrd},
}
Figure