GET: Unlocking the Multi-modal Potential of CLIP for Generalized Category Discovery (CVPR2025)
March 31, 2025 Β· View on GitHub
Official implementation of our CVPR2025 paper "GET: Unlocking the Multi-modal Potential of CLIP for Generalized Category Discovery"
π Introduction

Given unlabelled datasets containing both old and new categories, generalized category discovery (GCD) aims to accurately discover new classes while correctly classifying old classes. Current GCD methods only use a single visual modality of information, resulting in a poor classification of visually similar classes. As a different modality, text information can provide complementary discriminative information, which motivates us to introduce it into the GCD task. However, the lack of class names for unlabelled data makes it impractical to utilize text information. To tackle this challenging problem, in this paper, we propose a Text Embedding Synthesizer (TES) to generate pseudo text embeddings for unlabelled samples. Specifically, our TES leverages the property that CLIP can generate aligned vision-language features, converting visual embeddings into tokens of the CLIPβs text encoder to generate pseudo text embeddings. Besides, we employ a dual-branch framework, through the joint learning and instance consistency of different modality branches, visual and semantic information mutually enhance each other, promoting the interaction and fusion of visual and text knowledge. Our method unlocks the multi-modal potentials of CLIP and outperforms the baseline methods by a large margin on all GCD benchmarks, achieving new state-of-the-art.
π Getting Started
1. Datasets
We use the standard benchmarks in this paper, including:
-
Generic datasetsοΌCIFAR-10/100 and ImageNet-100/1K
-
Fine-grained datasets: The Semantic Shift Benchmark (SSB) and Herbarium19
2. Dependencies
pip install -r requirements.txt
3. Config
Set paths to datasets and desired log directories in config.py
4. Train the model
Train GET on the Stanford Cars dataset:
bash scripts/run_scars.sh
π Citing this work
If you find this repo useful for your research, please consider citing our paper:
@article{wang2024get,
title={GET: Unlocking the Multi-modal Potential of CLIP for Generalized Category Discovery},
author={Wang, Enguang and Peng, Zhimao and Xie, Zhengyuan and Yang, Fei and Liu, Xialei and Cheng, Ming-Ming},
journal={arXiv preprint arXiv:2403.09974},
year={2024}
}
π Acknowledgements
Our codebase relies on SimGCD. Thanks for their excellent work!
π« License
This project is licensed under the MIT License - see the LICENSE file for details.
π§ Contact
If you have further questions or discussions, feel free to contact me:
Enguang Wang (enguangwang12@gmail.com)