Papers › SemPPL: Predicting pseudo-labels for better contrastive representations

SemPPL: Predicting pseudo-labels for better contrastive representations

12 Jan 2023arXiv:2301.05158archive 2025-07-28

Matko Bošnjak, Pierre H. Richemond, Nenad Tomasev, Florian Strub, Jacob C. Walker, Felix Hill, Lars Holger Buesing, Razvan Pascanu, Charles Blundell, Jovana Mitrovic

Learning from large amounts of unsupervised data and a small amount of supervision is an important open problem in computer vision. We propose a new semi-supervised learning method, Semantic Positives via Pseudo-Labels (SemPPL), that combines labelled and unlabelled data to learn informative representations. Our method extends self-supervised contrastive learning -- where representations are shaped by distinguishing whether two samples represent the same underlying datum (positives) or not (negatives) -- with a novel approach to selecting positives. To enrich the set of positives, we leverage the few existing ground-truth labels to predict the missing ones through a k-nearest neighbours classifier by using the learned embeddings of the labelled data. We thus extend the set of positives with datapoints having the same pseudo-label and call these semantic positives. We jointly learn the representation and predict bootstrapped pseudo-labels. This creates a reinforcing cycle. Strong initial representations enable better pseudo-label predictions which then improve the selection of semantic positives and lead to even better representations. SemPPL outperforms competing semi-supervised methods setting new state-of-the-art performance of 68.5% and 76% top-$1$ accuracy when using a ResNet-$50$ and training on 1% and 10% of labels on ImageNet, respectively. Furthermore, when using selective kernels, SemPPL significantly outperforms previous state-of-the-art achieving 72.3% and 78.3% top-$1$ accuracy on ImageNet with 1% and 10% labels, respectively, which improves absolute +7.8% and +6.2% over previous work. SemPPL also exhibits state-of-the-art performance over larger ResNet models as well as strong robustness, out-of-distribution and transfer performance. We release the checkpoints and the evaluation code at https://github.com/deepmind/semppl .

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

Code

Syntology Ran 0 of 16 code samples harvested from 2 repositories linked to this paper; 16 have no recorded run.

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

deepmind/semppl officialmentioned in paperjax report
google-deepmind/semppl officialmentioned in paperjaxApache-2.0 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

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

16unverified

Licence: 0 of the 16 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

ResNetTorso deepmind/semppl/utils/networks.py official repository unverified Apache-2.0 (permissive) · ec03c773fc93b2dd · report
add_weight_decay google-deepmind/semppl/utils/optimizers.py official repository unverified Apache-2.0 (permissive) · 43422aa37e912a67 · report
check_length deepmind/semppl/utils/networks.py official repository unverified Apache-2.0 (permissive) · 05611d15ac79d977 · report
exclude_bias_and_norm google-deepmind/semppl/utils/optimizers.py official repository unverified Apache-2.0 (permissive) · 7cf26db115ac0335 · report
hsv_to_rgb google-deepmind/semppl/utils/augmentations.py official repository unverified Apache-2.0 (permissive) · 56b9317b9ed66304 · report
l2_normalize google-deepmind/semppl/utils/helpers.py official repository unverified Apache-2.0 (permissive) · 8df258170fa3cb79 · report
learning_schedule google-deepmind/semppl/utils/schedules.py official repository unverified Apache-2.0 (permissive) · 5e9e28416e760f15 · report
load_checkpoint google-deepmind/semppl/utils/checkpointing.py official repository unverified Apache-2.0 (permissive) · 5b529484c13fcd15 · report
normalize_images google-deepmind/semppl/utils/dataset.py official repository unverified Apache-2.0 (permissive) · 9299bed7da61102a · report
postprocess google-deepmind/semppl/utils/augmentations.py official repository unverified Apache-2.0 (permissive) · c14a511164946e31 · report
rgb_to_hsv google-deepmind/semppl/utils/augmentations.py official repository unverified Apache-2.0 (permissive) · bf9bb14716c6dab9 · report
scale_by_lars google-deepmind/semppl/utils/optimizers.py official repository unverified Apache-2.0 (permissive) · 79415fc4013fff5c · report
softmax_cross_entropy google-deepmind/semppl/utils/helpers.py official repository unverified Apache-2.0 (permissive) · 37ae8f08fc24a7d8 · report
target_ema google-deepmind/semppl/utils/schedules.py official repository unverified Apache-2.0 (permissive) · 8c0e47e0bfa8f06f · report
topk_accuracy google-deepmind/semppl/utils/helpers.py official repository unverified Apache-2.0 (permissive) · 73ed5cd901b2ff52 · report
transpose_images google-deepmind/semppl/utils/dataset.py official repository unverified Apache-2.0 (permissive) · 301ebdfc332bbcc9 · report

Tasks

Contrastive LearningPseudo Label

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

1x1 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockContrastive LearningConvolutionGlobal Average PoolingKaiming InitializationMax PoolingReLUResidual BlockResidual Connection

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