Papers › Contrastive Learning Improves Model Robustness Under Label Noise

Contrastive Learning Improves Model Robustness Under Label Noise

19 Apr 2021arXiv:2104.08984archive 2025-07-28

Aritra Ghosh, Andrew Lan

Deep neural network-based classifiers trained with the categorical cross-entropy (CCE) loss are sensitive to label noise in the training data. One common type of method that can mitigate the impact of label noise can be viewed as supervised robust methods; one can simply replace the CCE loss with a loss that is robust to label noise, or re-weight training samples and down-weight those with higher loss values. Recently, another type of method using semi-supervised learning (SSL) has been proposed, which augments these supervised robust methods to exploit (possibly) noisy samples more effectively. Although supervised robust methods perform well across different data types, they have been shown to be inferior to the SSL methods on image classification tasks under label noise. Therefore, it remains to be seen that whether these supervised robust methods can also perform well if they can utilize the unlabeled samples more effectively. In this paper, we show that by initializing supervised robust methods using representations learned through contrastive learning leads to significantly improved performance under label noise. Surprisingly, even the simplest method (training a classifier with the CCE loss) can outperform the state-of-the-art SSL method by more than 50\% under high label noise when initialized with contrastive learning. Our implementation will be publicly available at {\url{https://github.com/arghosh/noisy_label_pretrain}}.

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="2104.08984")

Code

Syntology Ran 1 of 13 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran with no contract checked.

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

arghosh/noisy_label_pretrain officialmentioned in papermentioned on GitHubpytorchMIT 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

13 samples harvested; 1 ran; 0 honoured the contract we drafted; 12 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.

1ran
12unverified

Licence: 0 of the 13 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 arghosh/noisy_label_pretrain. “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.

accuracy arghosh/noisy_label_pretrain/models/losses.py official repository ran MIT (permissive) · 11bc56dd2ecb7644 · report
asym_noise arghosh/noisy_label_pretrain/utils/utils.py official repository unverified MIT (permissive) · 0aeed6613e3f5540 · report
data_loader arghosh/noisy_label_pretrain/imagenet32.py official repository unverified MIT (permissive) · 961e370efdf679f8 · report
gather arghosh/noisy_label_pretrain/models/losses.py official repository unverified MIT (permissive) · 3d5e11c2280cdb46 · report
get_config arghosh/noisy_label_pretrain/scheduler.py official repository unverified MIT (permissive) · e31c345c9535138f · report
get_cpu arghosh/noisy_label_pretrain/scheduler.py official repository unverified MIT (permissive) · 53f0e581017b7778 · report
get_memory arghosh/noisy_label_pretrain/scheduler.py official repository unverified MIT (permissive) · 9ef98e4eebd96977 · report
load_train arghosh/noisy_label_pretrain/imagenet32.py official repository unverified MIT (permissive) · 97860ae8a6484f60 · report
mean_cumulative_gain arghosh/noisy_label_pretrain/models/losses.py official repository unverified MIT (permissive) · 439f4fcb999995b5 · report
noise_matrix arghosh/noisy_label_pretrain/utils/utils.py official repository unverified MIT (permissive) · 2d3453d13dc8c3f4 · report
pad arghosh/noisy_label_pretrain/utils/datautils.py official repository unverified MIT (permissive) · eab99ab911f1645a · report
uniform_mix_C arghosh/noisy_label_pretrain/utils/utils.py official repository unverified MIT (permissive) · ba6749b25e502f54 · report
unpickle arghosh/noisy_label_pretrain/imagenet32.py official repository unverified MIT (permissive) · 4ebc0e09cb353eac · report

Tasks

Contrastive LearningImage Classificationimage-classificationmodel

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification Clothing1M MAE (SimCLR) Accuracy 73.36% #29 of 51 Archive leaderboard report
Image Classification Clothing1M Generalized CE (SimCLR) Accuracy 73.35% #30 of 51 Archive leaderboard report
Image Classification Clothing1M CCE (SimCLR) Accuracy 73.27% #32 of 51 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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