Contrastive Mean-Shift Learning for Generalized Category Discovery

Sua Choi, Dahyun Kang, Minsu Cho
2/9/2026

No official code found. Best implementation: sua-choi/CMS (50 stars, last commit 2024-05-01).

Abstract

We address the problem of generalized category discovery (GCD) that aims to partition a partially labeled collection of images; only a small part of the collection is labeled and the total number of target classes is unknown. To address this generalized image clustering problem, we revisit the mean-shift algorithm, i.e., a classic, powerful technique for mode seeking, and incorporate it into a contrastive learning framework. The proposed method, dubbed Contrastive Mean-Shift (CMS) learning, trains an embedding network to produce representations with better clustering properties by an iterative process of mean shift and contrastive update. Experiments demonstrate that our method, both in settings with and without the total number of clusters being known, achieves state-of-the-art performance on six public GCD benchmarks without bells and whistles.

View on arXivView PDF

Code Implementations(1)

sua-choi/CMSCommunity60%

[CVPR'24] Official PyTorch implementation of Contrastive Mean-Shift Learning for Generalized Category Discovery

504Shell, PythonApr 16, 20242 years ago

Similar Papers

Cite this paper

@article{choi2026contrastive,
  title  = {Contrastive Mean-Shift Learning for Generalized Category Discovery},
  author = {Sua Choi and Dahyun Kang and Minsu Cho},
  year   = {2026},
  eprint = {2404.09451},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2404.09451},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.09451.svg)](https://codeofpaper.com/paper/2404.09451)

Discussion