NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CLIP-GCD: Simple Language Guided Generalized Category Discovery

Rabah Ouldnoughi, Chia-Wen Kuo, Zsolt KiraarXiv 2023 · DOI

Introduction

In the evolving landscape of computer vision, the "closed-world" assumption—where models are trained and tested on a fixed set of known categories—is increasingly seen as a limitation. Real-world applications, such as autonomous driving or robotics, require systems capable of handling a "Generalized Category Discovery" (GCD) task. In GCD, a model is presented with a dataset that is partially labeled and partially unlabeled. The objective is twofold: accurately classify known categories within the unlabeled set and effectively cluster entirely new, unseen categories into meaningful groups.

Traditional approaches to GCD have relied heavily on uni-modal, vision-only self-supervised pre-training (e.g., DINO). While effective for standard benchmarks, these methods often struggle with fine-grained distinctions or stylistic shifts because they lack the high-level semantic context that language provides. Researchers from Georgia Tech have addressed this gap with CLIP-GCD, a framework that leverages the multi-modal alignment of CLIP to give vision models a semantic "voice."

The CLIP-GCD Framework

The CLIP-GCD architecture moves beyond vision-only features by incorporating a cross-modal retrieval mechanism. The process is divided into two primary stages:

1. Multi-Modal Feature Extraction

Instead of using standard vision backbones, CLIP-GCD utilizes the CLIP image encoder. Because CLIP is pre-trained on vast quantities of image-text pairs, its visual features are inherently aligned with linguistic concepts. To augment this visual representation, the system performs a cross-modal retrieval for every image (both labeled and unlabeled). It queries a large-scale text corpus (such as Conceptual Captions) to find the top-$k$ most relevant text descriptions.

The CLIP-GCD architecture: combining visual and retrieved textual features for enhanced category discovery.

2. Concatenation and Clustering

The retrieved text snippets are processed through CLIP’s text encoder and mean-pooled to create a "textual view" of the image. This textual view is then concatenated with the visual view. This combined, high-dimensional representation is fed into a semi-supervised k-means algorithm. By using known labels as "anchors," the algorithm can better partition the feature space, allowing unknown categories to form distinct, semantically coherent clusters.

The Power of Language as Semantic Glue

A core insight of CLIP-GCD is that language acts as a bridge for categories the model has never explicitly seen. For instance, even if a model has no label for a specific rare bird species, the retrieved text might describe its physical attributes (e.g., "red finch in the sun" or "bird on a feeder"). These linguistic descriptors provide a shared semantic space that helps the model group similar objects more effectively than pixel-level patterns alone.

Examples of retrieved text descriptions for unlabeled images, providing semantic context for clustering.

This retrieval-based approach is notably more efficient than generating captions from scratch. By leveraging existing human-written descriptions from a corpus, the model gains access to a rich vocabulary and diverse perspectives without the computational overhead of a generative captioning head.

Experimental Results

CLIP-GCD was evaluated across a wide range of challenges, including generic image recognition (CIFAR, ImageNet-100), fine-grained classification (CUB-200, Stanford Cars), and domain adaptation (DomainNet Sketch). The results established new state-of-the-art benchmarks:

  • Generic Datasets: The model outperformed previous leading methods (like XCon) by up to 11.6% on unknown classes and 6.7% in overall accuracy.
  • Fine-Grained Datasets: The impact was most pronounced in specialized domains. On the Stanford Cars dataset, accuracy surged from approximately 40% to over 70%.
  • Robustness to Distribution Shift: On the DomainNet (Sketch) dataset, CLIP-GCD showed superior performance, suggesting that multi-modal features are more resilient to stylistic changes (e.g., moving from a photograph to a sketch) than vision-only features.

Conclusion

CLIP-GCD demonstrates that the path to better visual discovery lies in multi-modal integration. By treating language as a source of auxiliary knowledge, the framework significantly improves the ability of models to navigate the "open world." While the method's success is currently tied to the quality of the text corpus and the selection of the retrieval parameter $k$, it opens new avenues for using retrieved knowledge to solve complex unsupervised and semi-supervised tasks in computer vision.

Summary updated

BibTeX
@misc{ouldnoughi2023clip,
  author = {Rabah Ouldnoughi and Chia-Wen Kuo and Zsolt Kira},
  title = {{CLIP-GCD: Simple Language Guided Generalized Category Discovery}},
  year = {2023},
  eprint = {2305.10420},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.10420},
}
Figure