Papers › Continuous Contrastive Learning for Long-Tailed Semi-Supervised Recognition

Continuous Contrastive Learning for Long-Tailed Semi-Supervised Recognition

8 Oct 2024arXiv:2410.06109archive 2025-07-28

Zi-Hao Zhou, Siyuan Fang, Zi-Jing Zhou, Tong Wei, Yuanyu Wan, Min-Ling Zhang

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

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.06109")

Code

Syntology Ran 12 of 15 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhouzihao11/ccl officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 12 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran · fixture could not drive it
9ran
3unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zhouzihao11/CCL. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AutoContrast zhouzihao11/CCL/dataset/randaugment.py official repository ran no licence file found · pointer only · c6e7c3451c85404f · report
Brightness zhouzihao11/CCL/dataset/randaugment.py official repository ran no licence file found · pointer only · 0d1a8d6ce2015fc7 · report
Color zhouzihao11/CCL/dataset/randaugment.py official repository ran no licence file found · pointer only · 32cb3f5760fa593e · report
SemiConLoss zhouzihao11/ccl/loss/semiConLoss.py official repository ran no licence file found · pointer only · 011e38d6c05f56bb · report
accuracy zhouzihao11/CCL/utils/misc.py official repository ran · fixture could not drive it no licence file found · pointer only · 18badd533b52adb3 · report
compute_adjustment_list zhouzihao11/CCL/dataset/cifar.py official repository ran no licence file found · pointer only · fb866335bba20e2b · report
crossLoss zhouzihao11/ccl/loss/semiConLoss.py official repository ran fingerprinted no licence file found · pointer only · c7f19839b1384360 · report
get_mean_and_std zhouzihao11/CCL/utils/misc.py official repository ran no licence file found · pointer only · 8c82d522e7c85b05 · report
mish zhouzihao11/CCL/models/wideresnet.py official repository ran fingerprinted no licence file found · pointer only · 0a7c46eb67c0c21b · report
plot_overlap zhouzihao11/CCL/utils/logger.py official repository ran · our draft was wrong no licence file found · pointer only · 50afa2863ffd9fde · report
sharp zhouzihao11/ccl/loss/semiConLoss.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 4d185cccfc87e3cc · report
unlabelProbability zhouzihao11/ccl/loss/semiConLoss.py official repository ran no licence file found · pointer only · 38b1290e4f0c05ae · report
build_wideresnet zhouzihao11/CCL/models/wideresnet.py official repository unverified no licence file found · pointer only · 3ea5971a7367f941 · report
get_cifar10 zhouzihao11/CCL/dataset/cifar.py official repository unverified no licence file found · pointer only · 7b18bf51896a5c3f · report
transpose zhouzihao11/CCL/dataset/cifar.py official repository unverified no licence file found · pointer only · 5479cd4eeee14d78 · report

Tasks

Contrastive LearningDensity EstimationLong-tail Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Contrastive Learning

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections