Continuous Contrastive Learning for Long-Tailed Semi-Supervised Recognition

Zi-Hao Zhou, Siyuan Fang, Zi-Jing Zhou, Tong Wei, Yuanyu Wan +1 more
10/8/2024
cs.LG

Official code: zhouzihao11/CCL (34 stars, last commit 2025-08-25).

Abstract

Long-tailed semi-supervised learning poses a significant challenge in training models with limited labeled data exhibiting a long-tailed label distribution. Current state-of-the-art LTSSL approaches heavily rely on high-quality pseudo-labels for large-scale unlabeled data. However, these methods often neglect the impact of representations learned by the neural network and struggle with real-world unlabeled data, which typically follows a different distribution than labeled data. This paper introduces a novel probabilistic framework that unifies various recent proposals in long-tail learning. Our framework derives the class-balanced contrastive loss through Gaussian kernel density estimation. We introduce a continuous contrastive learning method, CCL, extending our framework to unlabeled data using reliable and smoothed pseudo-labels. By progressively estimating the underlying label distribution and optimizing its alignment with model predictions, we tackle the diverse distribution of unlabeled data in real-world scenarios. Extensive experiments across multiple datasets with varying unlabeled data distributions demonstrate that CCL consistently outperforms prior state-of-the-art methods, achieving over 4% improvement on the ImageNet-127 dataset. Our source code is available at https://github.com/zhouzihao11/CCL

View on arXivView PDF

Code Implementations(1)

zhouzihao11/CCLOfficial100%
343Shell, PythonSep 29, 20241 years ago

Similar Papers

Cite this paper

@article{zhou2024continuous,
  title  = {Continuous Contrastive Learning for Long-Tailed Semi-Supervised Recognition},
  author = {Zi-Hao Zhou and Siyuan Fang and Zi-Jing Zhou and Tong Wei and Yuanyu Wan and Min-Ling Zhang},
  year   = {2024},
  eprint = {2410.06109},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.06109},
  url    = {http://arxiv.org/abs/2410.06109v1},
  journal = {NEURIPS 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/2410.06109.svg)](https://codeofpaper.com/paper/2410.06109)

Discussion