[Paper Review] SemPPL: Predicting pseudo-labels for better contrastive representations
SemPPL introduces a novel semi-supervised contrastive learning method that improves representation learning by predicting pseudo-labels for unlabelled data using a k-NN classifier on labelled embeddings, then using these pseudo-labels to define semantic positives. This creates a self-reinforcing loop that boosts performance, achieving state-of-the-art accuracy of 72.3% and 78.3% top-1 on ImageNet with 1% and 10% labels using ResNet-50 with selective kernels.
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 .
Motivation & Objective
- To improve semi-supervised representation learning in low-supervision regimes where only a small fraction of ImageNet data is labelled.
- To address the imbalance in prior contrastive learning methods, which focus heavily on negative sampling but neglect optimal positive sampling.
- To develop a method that leverages limited ground-truth labels to bootstrap pseudo-labels for unlabelled data, enhancing semantic alignment in learned representations.
- To create a self-reinforcing cycle where better representations improve pseudo-label predictions, which in turn refine positive sampling and further improve representations.
Proposed method
- SemPPL uses a k-NN classifier on the embeddings of labelled data to predict pseudo-labels for unlabelled data, enabling the identification of semantic positives.
- It defines semantic positives as unlabelled samples sharing the same predicted pseudo-label as a given anchor sample.
- The method jointly optimizes representation learning via a contrastive loss that maximizes similarity between anchor and semantic positive samples while minimizing similarity with negatives.
- The framework is compatible with any contrastive loss and can be extended to non-contrastive objectives.
- It employs a multi-crop data augmentation strategy with large (224×224) and small (96×96) views, including saliency masking with 10% probability on large views.
- The training pipeline includes a queue for memory bank updates and integrates an additional loss term based on semantic positives, with minimal computational overhead (8.5% of step time).
Experimental results
Research questions
- RQ1Can pseudo-label prediction from limited labelled data improve the selection of semantic positives in contrastive representation learning?
- RQ2How does incorporating semantic positives—defined by shared pseudo-labels—enhance representation quality in low-shot semi-supervised learning?
- RQ3To what extent does the self-reinforcing loop between representation learning and pseudo-label prediction improve performance on ImageNet with minimal supervision?
- RQ4How does SemPPL compare to state-of-the-art methods in terms of accuracy, robustness, and out-of-distribution generalization?
- RQ5Can SemPPL be effectively combined with architectural improvements like selective kernels to further boost performance?
Key findings
- SemPPL achieves a new state-of-the-art top-1 accuracy of 68.5% on ImageNet with 1% labels and a ResNet-50 backbone.
- With 10% labels, SemPPL reaches 76.0% top-1 accuracy on ResNet-50, setting a new SOTA in the semi-supervised setting.
- When combined with selective kernels, SemPPL achieves 72.3% and 78.3% top-1 accuracy on ImageNet with 1% and 10% labels, respectively, improving upon prior work by +7.8% and +6.2% absolute accuracy.
- SemPPL demonstrates strong robustness and out-of-distribution generalization performance, outperforming previous SOTA methods on these benchmarks.
- The method incurs only 8.5% additional computational cost over ReLIC v2, with k-NN and loss computation being the main contributors, and is compatible with a wide range of contrastive and non-contrastive objectives.
- The code and checkpoints are publicly released at https://github.com/deepmind/semppl for reproducibility and further research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.