AI summary · arXiv: 2002.05709v3 · cs.LG
A Simple Framework for Contrastive Learning of Visual Representations
The essentials
- SimCLR is a framework for contrastive learning of visual representations.
- It simplifies recently proposed contrastive self-supervised learning algorithms without requiring specialized architectures or a memory bank.
- Composition of data augmentations plays a critical role in defining effective predictive tasks.
- Introducing a learnable nonlinear transformation between the representation and the contrastive loss substantially improves the quality of the learned representations.
- Contrastive learning benefits from larger batch sizes and more training steps compared to supervised learning.
- SimCLR outperforms previous methods for self-supervised and semi-supervised learning on ImageNet, achieving 7% relative improvement over previous state-of-the-art, matching the performance of a supervised ResNet-50.
- A linear classifier trained on self-supervised representations learned by SimCLR achieves 76.5% top-1 accuracy.
- When fine-tuned on only 1% of the labels, they achieve 85.8% top-5 accuracy, outperforming AlexNet with 100X fewer labels.
- The authors provide code and pretrained models at https://github.com/google-research/simclr.
- SimCLR's contributions lie in its ability to simplify existing methods while achieving state-of-the-art results in self-supervised and semi-supervised learning on ImageNet.
- Its findings regarding data augmentation composition, learnable nonlinear transformations, and batch size/training steps can be applied more broadly to improve other contrastive learning frameworks as well.
Key points written by AI: they may contain errors, check them against the paper.
Ask questions about this paper to our AI assistant
How to chat with this paper? Illustrated guide
You can also chat with multiple papers at once here.
Keep this conversation — a free account saves your questions and answers, your collections of papers and your alerts.
Continue with Google Create a free accountTools for this paper
Advanced tools Premium
For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium
Among the 31 papers around this one, the name that comes back most: Xiao-Hua Zhai (2 papers)
2 more people sign several of them. The full map adds their institutions and approaches, from the papers of the last years.
Papers around this one
See them on a mapRanked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
Supervised Asymmetric Contrastive Learning of Visual RepresentationsAizhou Hua, Liantao Wang, Qinxu Wang · 2024 · 2024 International Conference on Image Processing, Computer Vision and Machine Learning (ICICML) · Not summarized yet
Supervised Asymmetric Contrastive Learning addresses visual representation learning with an asymmetric supervised contrastive method to reduce reliance on the large negative-pair batches used by SimCLR.
Abstract
Contrastive learning, as an unsupervised representation learning method, learns representations by exploring intrinsic relationships between sample pairs, achieving notable success in many visual tasks. However, the lack of class labels in contrastive learning means that different instances from the same class may be considered negative pairs, disrupting representation learning and weakening the model’s discrimination ability. The introduction of SupCon partially addresses this issue, but its base model, SimCLR, requires the construction of numerous negative pairs to avoid model collapse, demanding large batch sizes and imposing stringent hardware requirements.In this paper, we propose a nov…
-
A Framework For Contrastive Self-Supervised Learning And Designing A New ApproachWilliam Falcon, Kyunghyun Cho · 2020 · arXiv.org · preprint, not peer reviewed · cited 118 times · Not summarized yet
This paper organizes contrastive self-supervised methods, including SimCLR, into a shared framework and uses it to design YADIM.
Abstract
Contrastive self-supervised learning (CSL) is an approach to learn useful representations by solving a pretext task that selects and compares anchor, negative and positive (APN) features from an unlabeled dataset. We present a conceptual framework that characterizes CSL approaches in five aspects (1) data augmentation pipeline, (2) encoder selection, (3) representation extraction, (4) similarity measure, and (5) loss function. We analyze three leading CSL approaches--AMDIM, CPC, and SimCLR--, and show that despite different motivations, they are special cases under this framework. We show the utility of our framework by designing Yet Another DIM (YADIM) which achieves competitive results on …
-
Towards Fine-grained Visual Representations by Combining Contrastive Learning with Image Reconstruction and Attention-weighted PoolingJonas Dippel, Steffen Vogler, Johannes Höhne · 2021 · arXiv.org · preprint, not peer reviewed · cited 25 times · Not summarized yet
Contrastive Reconstruction extends SimCLR with image reconstruction and attention to improve fine-grained image representations.
Abstract
This paper presents Contrastive Reconstruction, ConRec - a self-supervised learning algorithm that obtains image representations by jointly optimizing a contrastive and a self-reconstruction loss. We showcase that state-of-the-art contrastive learning methods (e.g. SimCLR) have shortcomings to capture fine-grained visual features in their representations. ConRec extends the SimCLR framework by adding (1) a self-reconstruction task and (2) an attention mechanism within the contrastive learning task. This is accomplished by applying a simple encoder-decoder architecture with two heads. We show that both extensions contribute towards an improved vector representation for images with fine-graine…
-
SimCL:Simple Contrastive Learning for Image ClassificationHan-Hong Yang, Xue Ding, Ji-Rong Wang et al. · 2022 · ICBDT · cited 8 times · Not summarized yet
SimCL addresses the reliability of augmented positive pairs in contrastive image classification, a component SimCLR studies.
Abstract
Contrastive learning, a self-supervised learning method, has become one of the main techniques for visual representation learning. It builds contrastive views through data augmentation, maximizing the mutual information between views with the same semantic information. Currently, the main methods used for data augmentation are random cropping, resizing, rotating, and recoloring images. However, due to the diversity and randomness of data augmentation, it is difficult to guarantee the same semantic information between pairs of positive examples during data augmentation. This limits the efficiency and applicability of contrastive learning. To circumvent this problem, in this paper, we propose …
-
Self-Contrastive Learning: Single-Viewed Supervised Contrastive Framework Using Sub-networkSangmin Bae, Sungnyun Kim, Jongwoo Ko et al. · 2021 · AAAI Conference on Artificial Intelligence · cited 19 times · Not summarized yet
SelfCon uses multiple outputs from one network for supervised contrastive learning, avoiding the multiple augmented views used by SimCLR.
Abstract
Contrastive loss has significantly improved performance in supervised classification tasks by using a multi-viewed framework that leverages augmentation and label information. The augmentation enables contrast with another view of a single image but enlarges training time and memory usage. To exploit the strength of multi-views while avoiding the high computation cost, we introduce a multi-exit architecture that outputs multiple features of a single image in a single-viewed framework. To this end, we propose Self-Contrastive (SelfCon) learning, which self-contrasts within multiple outputs from the different levels of a single network. The multi-exit architecture efficiently replaces multi-au…
-
Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang et al. · 2020 · arXiv (Cornell University) preprint · preprint, not peer reviewed · cited 3,788 times · Not summarized yet
This paper extends batch contrastive learning to supervised classification by using labels to pull same-class embeddings together.
Abstract
Contrastive learning applied to self-supervised representation learning has seen a resurgence in recent years, leading to state of the art performance in the unsupervised training of deep image models. Modern batch contrastive approaches subsume or significantly outperform traditional contrastive losses such as triplet, max-margin and the N-pairs loss. In this work, we extend the self-supervised batch contrastive approach to the fully-supervised setting, allowing us to effectively leverage label information. Clusters of points belonging to the same class are pulled together in embedding space, while simultaneously pushing apart clusters of samples from different classes. We analyze two possi…
-
ImCLR: Implicit Contrastive Learning for Image ClassificationJohn Chen, Samarth Sinha, Anastasios Kyrillidis · 2020 · arXiv.org · preprint, not peer reviewed · cited 3 times · Not summarized yet
ImCLR proposes implicit contrastive learning for image classification rather than SimCLR's explicit contrastive loss.
Abstract
Contrastive learning is an effective method for learning visual representations. In most cases, this involves adding an explicit loss function to encourage similar images to have similar representations, and different images to have different representations. In this paper, we introduce a clever construction for Implicit Contrastive Learning (ImCLR), primarily in the supervised setting: there, the network can implicitly learn to differentiate between similar and dissimilar images. Furthermore, this requires almost no change to existing pipelines, which allows for easy integration and for fair demonstration of effectiveness on a wide range of well-accepted benchmarks. Namely, there is no chan…
-
With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual RepresentationsDebidatta Dwibedi, Y. Aytar, Jonathan Tompson et al. · 2021 · IEEE International Conference on Computer Vision · cited 593 times · Not summarized yet
NNCLR uses latent-space nearest neighbors as positive examples instead of relying only on views created from the same image.
Abstract
Self-supervised learning algorithms based on instance discrimination train encoders to be invariant to pre-defined transformations of the same instance. While most methods treat different views of the same image as positives for a contrastive loss, we are interested in using positives from other instances in the dataset. Our method, Nearest-Neighbor Contrastive Learning of visual Representations (NNCLR), samples the nearest neighbors from the dataset in the latent space, and treats them as positives. This provides more semantic variations than pre-defined transformations.We find that using the nearest-neighbor as positive in contrastive losses improves performance significantly on ImageNet c…
Prior work it builds on
-
Data-Efficient Image Recognition with Contrastive Predictive CodingOlivier J. Hénaff, A. Srinivas, Jeffrey De Fauw et al. · 2019 · International Conference on Machine Learning · cited 1,601 times · Not summarized yet
This paper improves Contrastive Predictive Coding for data-efficient image recognition, another self-supervised approach to visual representations.
Abstract
Human observers can learn to recognize new categories of images from a handful of examples, yet doing so with artificial ones remains an open challenge. We hypothesize that data-efficient recognition is enabled by representations which make the variability in natural signals more predictable. We therefore revisit and improve Contrastive Predictive Coding, an unsupervised objective for learning such representations. This new implementation produces features which support state-of-the-art linear classification accuracy on the ImageNet dataset. When used as input for non-linear classification with deep neural networks, this representation allows us to use 2-5x less labels than classifiers train…
-
Representation Learning with Contrastive Predictive CodingA. van den Oord, Ya-Zhe Li, O. Vinyals · 2018 · arXiv.org · preprint, not peer reviewed · cited 15,250 times · Not summarized yet
This paper introduces Contrastive Predictive Coding, an unsupervised representation-learning method cited by SimCLR.
Abstract
While supervised learning has enabled great progress in many applications, unsupervised learning has not seen such widespread adoption, and remains an important and challenging endeavor for artificial intelligence. In this work, we propose a universal unsupervised learning approach to extract useful representations from high-dimensional data, which we call Contrastive Predictive Coding. The key insight of our model is to learn such representations by predicting the future in latent space by using powerful autoregressive models. We use a probabilistic contrastive loss which induces the latent space to capture information that is maximally useful to predict future samples. It also makes the mo…
-
Revisiting Self-Supervised Visual Representation LearningAlexander Kolesnikov, Xiao-Hua Zhai, Lucas Beyer · 2019 · Computer Vision and Pattern Recognition · cited 773 times · Not summarized yet
This study conducts a large-scale comparison of self-supervised visual representation methods and is cited by SimCLR.
Abstract
Unsupervised visual representation learning remains a largely unsolved problem in computer vision research. Among a big body of recently proposed approaches for unsupervised learning of visual representations, a class of self-supervised techniques achieves superior performance on many challenging benchmarks. A large number of the pretext tasks for self-supervised learning have been studied, but other important aspects, such as the choice of convolutional neural networks (CNN), has not received equal attention. Therefore, we revisit numerous previously proposed self-supervised models, conduct a thorough large scale study and, as a result, uncover multiple crucial insights. We challenge a numb…
-
Momentum Contrast for Unsupervised Visual Representation LearningKaiming He, Haoqi Fan, Yuxin Wu et al. · 2019 · Computer Vision and Pattern Recognition · cited 16,247 times · Not summarized yet
MoCo learns visual representations with a queue-based dynamic dictionary, rather than SimCLR's batch-based contrastive framework.
Abstract
We present Momentum Contrast (MoCo) for unsupervised visual representation learning. From a perspective on contrastive learning as dictionary look-up, we build a dynamic dictionary with a queue and a moving-averaged encoder. This enables building a large and consistent dictionary on-the-fly that facilitates contrastive unsupervised learning. MoCo provides competitive results under the common linear protocol on ImageNet classification. More importantly, the representations learned by MoCo transfer well to downstream tasks. MoCo can outperform its supervised pre-training counterpart in 7 detection/segmentation tasks on PASCAL VOC, COCO, and other datasets, sometimes surpassing it by large marg…
-
Unsupervised Feature Learning via Non-parametric Instance DiscriminationZhirong Wu, Yuanjun Xiong, Stella X. Yu et al. · 2018 · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · cited 4,148 times · Not summarized yet
This paper formulates instance-level feature learning as non-parametric classification with noise-contrastive estimation, and SimCLR cites it.
Abstract
Neural net classifiers trained on data with annotated class labels can also capture apparent visual similarity among categories without being directed to do so. We study whether this observation can be extended beyond the conventional domain of supervised learning: Can we learn a good feature representation that captures apparent similarity among instances, instead of classes, by merely asking the feature to be discriminative of individual instances? We formulate this intuition as a non-parametric classification problem at the instance-level, and use noise-contrastive estimation to tackle the computational challenges imposed by the large number of instance classes. Our experimental results d…
Papers that cite it
-
Improved Baselines with Momentum Contrastive LearningXinlei Chen, Haoqi Fan, Ross Girshick et al. · 2020 · Computer Vision and Pattern Recognition · preprint, not peer reviewed · cited 2,579 times · Not summarized yet
This paper applies SimCLR's MLP projection head and stronger augmentation within MoCo, reporting stronger baselines without large batches.
Abstract
Contrastive unsupervised learning has recently shown encouraging progress, e.g., in Momentum Contrast (MoCo) and SimCLR. In this note, we verify the effectiveness of two of SimCLR's design improvements by implementing them in the MoCo framework. With simple modifications to MoCo---namely, using an MLP projection head and more data augmentation---we establish stronger baselines that outperform SimCLR and do not require large training batches. We hope this will make state-of-the-art unsupervised learning research more accessible. Code will be made public.
-
Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsCaron, Mathilde, Ishan Misra, Julien Mairal et al. · 2020 · arXiv (Cornell University) preprint · preprint, not peer reviewed · cited 2,563 times · Not summarized yet
SwAV replaces direct pairwise feature comparisons with consistency between cluster assignments across image views.
Abstract
Unsupervised image representations have significantly reduced the gap with supervised pretraining, notably with the recent achievements of contrastive learning methods. These contrastive methods typically work online and rely on a large number of explicit pairwise feature comparisons, which is computationally challenging. In this paper, we propose an online algorithm, SwAV, that takes advantage of contrastive methods without requiring to compute pairwise comparisons. Specifically, our method simultaneously clusters the data while enforcing consistency between cluster assignments produced for different augmentations (or views) of the same image, instead of comparing features directly as in co…
-
Self-supervised Learning: Generative or ContrastiveXiao Liu, Fanjin Zhang, Zhenyu Hou et al. · 2021 · IEEE Transactions on Knowledge and Data Engineering · cited 1,888 times · Not summarized yet
This survey reviews self-supervised learning methods across vision, language, and graphs, including contrastive approaches.
Abstract
Deep supervised learning has achieved great success in the last decade. However, its defects of heavy dependence on manual labels and vulnerability to attacks have driven people to find other paradigms. As an alternative, self-supervised learning (SSL) attracts many researchers for its soaring performance on representation learning in the last several years. Self-supervised representation learning leverages input data itself as supervision and benefits almost all types of downstream tasks. In this survey, we take a look into new self-supervised learning methods for representation in computer vision, natural language processing, and graph learning. We comprehensively review the existing empir…
-
Bootstrap Your Own Latent: A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché et al. · 2020 · Machine Learning · preprint, not peer reviewed · cited 4,062 times · AI summary available
BYOL learns image representations by predicting target-network features across views and reports state-of-the-art results without negative pairs.
Abstract
We introduce Bootstrap Your Own Latent (BYOL), a new approach to self-supervised image representation learning. BYOL relies on two neural networks, referred to as online and target networks, that interact and learn from each other. From an augmented view of an image, we train the online network to predict the target network representation of the same image under a different augmented view. At the same time, we update the target network with a slow-moving average of the online network. While state-of-the art methods intrinsically rely on negative pairs, BYOL achieves a new state of the art without them. BYOL reaches $74.3\%$ top-1 classification accuracy on ImageNet using the standard linear …
-
Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy et al. · 2021 · Computer Vision and Pattern Recognition · preprint, not peer reviewed · cited 16,842 times · AI summary available
This paper learns visual representations from image-caption matching, a language-supervised alternative to SimCLR's self-supervision.
Abstract
State-of-the-art computer vision systems are trained to predict a fixed set of predetermined object categories. This restricted form of supervision limits their generality and usability since additional labeled data is needed to specify any other visual concept. Learning directly from raw text about images is a promising alternative which leverages a much broader source of supervision. We demonstrate that the simple pre-training task of predicting which caption goes with which image is an efficient and scalable way to learn SOTA image representations from scratch on a dataset of 400 million (image, text) pairs collected from the internet. After pre-training, natural language is used to refer…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 6 November 2026.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.