Parametric Classification for Generalized Category Discovery: A Baseline Study

Xin Wen, Bingchen Zhao, Xiaojuan Qi · DOI

TL;DR

This paper challenges the prevailing notion that parametric classifiers fail in Generalized Category Discovery (GCD). By identifying unreliable pseudo-labels and prediction biases as the root cause, the authors propose a simple yet effective parametric approach with entropy regularization, achieving state-of-the-art results on multiple benchmarks and demonstrating robustness to unknown class numbers.

What Problem Does This Paper Address?

Generalized Category Discovery (GCD) is a challenging task where a model must classify both known (labeled) categories and discover/classify entirely new, unseen categories within an unlabeled dataset. Traditionally, researchers have favored non-parametric classifiers (like k-means) for GCD, arguing that parametric classifiers overfit to the seen classes. This paper questions this assumption, investigating why parametric classifiers falter and proposing a way to make them work effectively. The core problem they address is the poor performance of parametric classifiers in GCD, which they attribute not to the parametric nature itself, but to issues with how pseudo-labels are generated and used, leading to biased predictions.

Methods

The authors propose SimGCD, a simple yet effective parametric classification method for GCD. Their approach builds upon the representation learning objectives of existing GCD methods (supervised and self-supervised contrastive learning) but introduces a novel parametric classification strategy. Key components include:

  • Parametric Classifier: Instead of non-parametric methods, they use a standard parametric classifier.
  • Self-Distillation: For unlabeled data, they employ a self-distillation strategy to generate pseudo-labels.
  • Entropy Regularization: A crucial addition, this technique is used to mitigate prediction biases. It encourages the model to produce more uniform predictions across all categories, helping to balance "seen" and "unseen" classes and reduce the tendency to favor known categories.
  • Joint Training: They advocate for jointly training the representation learning and classification modules, finding it beneficial when high-quality pseudo-labels are available.

Datasets

The paper evaluates their method on several standard datasets for image recognition and GCD tasks:

  • Generic Image Recognition: CIFAR-10, CIFAR-100, ImageNet-100, ImageNet-1K.
  • Semantic Shift Benchmark (SSB): CUB, Stanford Cars, FGVC-Aircraft.
  • Long-tailed Fine-grained: Herbarium 19.

They follow the established practice of splitting these datasets into "Old" (labeled) and "New" (unlabeled) categories for GCD evaluation.

Key Insights and Ideas

  • Parametric Classifiers Can Work for GCD: The central finding is that the failure of parametric classifiers in GCD is not inherent but stems from unreliable pseudo-labels and resulting prediction biases.
  • Unreliable Pseudo-Labels are the Culprit: The authors demonstrate that when high-quality supervision is available, previous design choices for parametric classifiers are effective. The degradation occurs when relying on noisy pseudo-labels.
  • Two Key Prediction Biases: They identify two critical biases:
  • A tendency to predict "seen" classes more often.
  • An imbalanced distribution of predictions across all categories (both seen and novel).
  • Entropy Regularization is Powerful: This technique proves effective in overcoming both the "seen vs. unseen" bias and the imbalanced prediction distribution, leading to more robust performance.
  • Joint Training Benefits: Contrary to some prior assumptions, jointly training the representation and classification modules can significantly boost performance, especially when pseudo-labels are of higher quality.

Key Results

  • State-of-the-Art Performance: SimGCD achieves state-of-the-art results on multiple popular GCD benchmarks, outperforming existing methods by a significant margin (e.g., ~10% improvement in "New" class accuracy on SSB).
  • Robustness to Unknown Class Numbers: The proposed method shows strong robustness to variations in the estimated number of categories, making it more practical for real-world deployment.
  • Reduced Prediction Bias: Figures and tables demonstrate that SimGCD significantly reduces the "False Old" and "False New" errors, leading to more balanced and accurate predictions.
  • Efficiency: The paper notes that SimGCD has a much lower inference time compared to the non-parametric GCD baseline, making it more scalable.

Limitations and Future Work

  • Representation Learning: While their method improves classification, the authors acknowledge that representation learning itself could be further enhanced using more advanced augmentation strategies or larger batch sizes.
  • Alignment to Human-Defined Categories: The current approach relies on seen categories to guide the discovery of novel ones. Future work could explore better ways to align discovered categories with human definitions, especially when there's a significant semantic gap or when dealing with very large vocabularies.
  • Ethical Considerations: The paper briefly mentions that current methods can struggle with low-data or long-tailed scenarios, potentially leading to discrimination against minority categories. Further research is needed to address this.
  • Trade-off between 'Old' and 'New' Performance: The authors observe a common trade-off where improving 'New' class performance can sometimes lead to a slight degradation in 'Old' class performance. Investigating how to better balance these two aspects is suggested as future work.

Summary updated

BibTeX
@inproceedings{wen2023parametric,
  author = {Xin Wen and Bingchen Zhao and Xiaojuan Qi},
  title = {{Parametric Classification for Generalized Category Discovery: A Baseline Study}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.01521},
}
Figure