Dynamic Conceptional Contrastive Learning for Generalized Category Discovery

Nan Pu, Zhun Zhong, Nicu Sebe

Introduction

In computer vision, recognizing known categories is a mature task. However, real-world scenarios often present an "open-world" challenge where models encounter a mixture of familiar objects and entirely novel categories. This task, known as Generalized Category Discovery (GCD), requires a model to categorize unlabeled data that contains both seen and unseen classes.

Traditional approaches to GCD often rely on instance-level self-supervised learning, which focuses on making representations of the same image (under different augmentations) similar. While effective for general feature extraction, this method overlooks the inherent hierarchical relationships between objects. For instance, while a "Yellow Train" and a "White Train" are distinct sub-classes, they share a "Train" class and a broader "Transportation" super-class.

Conceptual overview of hierarchical relationships and class distributions in GCD.

To address this, researchers from the University of Trento proposed Dynamic Conceptional Contrastive Learning (DCCL). DCCL moves beyond simple instance-level comparisons by learning visual "concepts"—prototypical representations of clusters—that capture these multi-level relationships.

Methodology: The DCCL Framework

The DCCL framework operates through an iterative process that alternates between estimating visual concepts and refining feature representations.

The DCCL framework architecture, illustrating Dynamic Conception Generation and Dual-level Contrastive Learning.

1. Dynamic Conception Generation (DCG)

A significant hurdle in GCD is that the number of novel categories is typically unknown. Unlike standard k-means clustering, which requires a pre-defined number of clusters, DCCL utilizes a semi-supervised version of InfoMap, a graph-based clustering algorithm. By constructing a similarity network where labeled data acts as "anchors," the model can dynamically estimate the number of concepts as training progresses. This allows the framework to adapt to the complexity of the unlabeled data without manual intervention.

2. Dual-level Contrastive Learning (DCL)

Once concepts are generated, the model employs a dual-level contrastive strategy:

  • Instance-Level Contrast: Maintains the standard self-supervised objective of aligning different views of the same image.
  • Conception-Level Contrast: The model maintains a "Conception Buffer" containing prototypes for each cluster. It pulls image representations toward their assigned concept prototype while pushing them away from others.
  • Dispersion Loss: To prevent similar but distinct categories from merging, a specific dispersion loss is applied to maximize the distance between different concept representations in the feature space.

To ensure stability, a momentum update mechanism is used for the conception buffer. This prevents the "definition" of a category from shifting drastically between iterations, which is a common failure mode in unsupervised clustering.

Experimental Results

The researchers evaluated DCCL across generic datasets (CIFAR-10, CIFAR-100, ImageNet-100) and challenging fine-grained datasets (CUB-200, Stanford Cars, Oxford-IIIT Pet).

The results demonstrate that DCCL sets a new state-of-the-art:

  • Fine-Grained Superiority: On the CUB-200 bird dataset, DCCL achieved a 64.9% accuracy on novel classes, representing a 16.2% improvement over previous methods. This highlights the framework's ability to distinguish subtle differences between closely related categories.
  • Balanced Performance: The model maintains high accuracy on "Old" (known) classes while successfully discovering "New" ones, avoiding the bias toward known categories that plagues many GCD models.
  • Adaptive Clustering: The use of InfoMap proved highly effective, with the estimated number of concepts closely matching the ground truth across various benchmarks.

Conclusion

DCCL represents a significant step forward in Generalized Category Discovery by shifting the focus from individual instances to broader visual concepts. By integrating graph-based clustering with dual-level contrastive learning, it effectively captures the hierarchical nature of visual data. While the framework is robust, future research could explore integrating concept-level learning directly into the initial self-supervised pre-training phase, potentially further enhancing the discriminative power of the underlying feature backbone.

Summary updated

BibTeX
@inproceedings{pu2023dynamic,
  author = {Nan Pu and Zhun Zhong and Nicu Sebe},
  title = {{Dynamic Conceptional Contrastive Learning for Generalized Category Discovery}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00732},
}
Figure