A Simple Framework for Contrastive Learning of Visual Representations

Auteurs : Ting Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey Hinton

Soumis à arXiv le 13 Fév. 2020
Résumé scientifique

This paper presents SimCLR: a simple framework for contrastive learning of visual representations. We simplify recently proposed contrastive self-supervised learning algorithms without requiring specialized architectures or a memory bank. In order to understand what enables the contrastive prediction tasks to learn useful representations, we systematically study the major components of our framework. We show that (1) composition of data augmentations plays a critical role in defining effective predictive tasks, (2) introducing a learnable nonlinear transformation between the representation and the contrastive loss substantially improves the quality of the learned representations, and (3) contrastive learning benefits from larger batch sizes and more training steps compared to supervised learning. By combining these findings, we are able to considerably outperform previous methods for self-supervised and semi-supervised learning on ImageNet. A linear classifier trained on self-supervised representations learned by SimCLR achieves 76.5% top-1 accuracy, which is a 7% relative improvement over previous state-of-the-art, matching the performance of a supervised ResNet-50. When fine-tuned on only 1% of the labels, we achieve 85.8% top-5 accuracy, outperforming AlexNet with 100X fewer labels.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche
    Supervised Asymmetric Contrastive Learning of Visual Representations
    Aizhou Hua, Liantao Wang, Qinxu Wang · 2024 · 2024 International Conference on Image Processing, Computer Vision and Machine Learning (ICICML) · Pas encore résumé
    Résumé scientifique

    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…

  2. Très proche
    A Framework For Contrastive Self-Supervised Learning And Designing A New Approach
    William Falcon, Kyunghyun Cho · 2020 · arXiv.org · preprint, non relu par les pairs · cité 118 fois · Pas encore résumé
    Résumé scientifique

    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 …

  3. Très proche
    Towards Fine-grained Visual Representations by Combining Contrastive Learning with Image Reconstruction and Attention-weighted Pooling
    Jonas Dippel, Steffen Vogler, Johannes Höhne · 2021 · arXiv.org · preprint, non relu par les pairs · cité 25 fois · Pas encore résumé
    Résumé scientifique

    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…

  4. Très proche
    SimCL:Simple Contrastive Learning for Image Classification
    Han-Hong Yang, Xue Ding, Ji-Rong Wang et al. · 2022 · ICBDT · cité 8 fois · Pas encore résumé
    Résumé scientifique

    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 …

  5. Très proche
    Self-Contrastive Learning: Single-Viewed Supervised Contrastive Framework Using Sub-network
    Sangmin Bae, Sungnyun Kim, Jongwoo Ko et al. · 2021 · AAAI Conference on Artificial Intelligence · cité 19 fois · Pas encore résumé
    Résumé scientifique

    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…

  6. Très proche Cite cet article
    Supervised Contrastive Learning
    Prannay Khosla, Piotr Teterwak, Chen Wang et al. · 2020 · arXiv (Cornell University) preprint · preprint, non relu par les pairs · cité 3 788 fois · Pas encore résumé
    Résumé scientifique

    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…

  7. Très proche
    ImCLR: Implicit Contrastive Learning for Image Classification
    John Chen, Samarth Sinha, Anastasios Kyrillidis · 2020 · arXiv.org · preprint, non relu par les pairs · cité 3 fois · Pas encore résumé
    Résumé scientifique

    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…

  8. Très proche
    With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representations
    Debidatta Dwibedi, Y. Aytar, Jonathan Tompson et al. · 2021 · IEEE International Conference on Computer Vision · cité 593 fois · Pas encore résumé
    Résumé scientifique

    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…

Les travaux antérieurs sur lesquels il s’appuie

  1. Proche Utilisé en profondeur par cet article
    Data-Efficient Image Recognition with Contrastive Predictive Coding
    Olivier J. Hénaff, A. Srinivas, Jeffrey De Fauw et al. · 2019 · International Conference on Machine Learning · cité 1 601 fois · Pas encore résumé
    Résumé scientifique

    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…

  2. Proche Utilisé en profondeur par cet article
    Representation Learning with Contrastive Predictive Coding
    A. van den Oord, Ya-Zhe Li, O. Vinyals · 2018 · arXiv.org · preprint, non relu par les pairs · cité 15 250 fois · Pas encore résumé
    Résumé scientifique

    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…

  3. Proche Utilisé en profondeur par cet article
    Revisiting Self-Supervised Visual Representation Learning
    Alexander Kolesnikov, Xiao-Hua Zhai, Lucas Beyer · 2019 · Computer Vision and Pattern Recognition · cité 773 fois · Pas encore résumé
    Résumé scientifique

    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…

  4. Apparenté Cite cet article Utilisé en profondeur par cet article
    Momentum Contrast for Unsupervised Visual Representation Learning
    Kaiming He, Haoqi Fan, Yuxin Wu et al. · 2019 · Computer Vision and Pattern Recognition · cité 16 247 fois · Pas encore résumé
    Résumé scientifique

    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…

  5. Apparenté Utilisé en profondeur par cet article
    Unsupervised Feature Learning via Non-parametric Instance Discrimination
    Zhirong Wu, Yuanjun Xiong, Stella X. Yu et al. · 2018 · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · cité 4 148 fois · Pas encore résumé
    Résumé scientifique

    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…

Les articles qui le citent

  1. Proche
    Improved Baselines with Momentum Contrastive Learning
    Xinlei Chen, Haoqi Fan, Ross Girshick et al. · 2020 · Computer Vision and Pattern Recognition · preprint, non relu par les pairs · cité 2 579 fois · Pas encore résumé
    Résumé scientifique

    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.

  2. Proche
    Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
    Caron, Mathilde, Ishan Misra, Julien Mairal et al. · 2020 · arXiv (Cornell University) preprint · preprint, non relu par les pairs · cité 2 563 fois · Pas encore résumé
    Résumé scientifique

    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…

  3. Proche
    Self-supervised Learning: Generative or Contrastive
    Xiao Liu, Fanjin Zhang, Zhenyu Hou et al. · 2021 · IEEE Transactions on Knowledge and Data Engineering · cité 1 888 fois · Pas encore résumé
    Résumé scientifique

    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…

  4. Proche
    Bootstrap Your Own Latent: A New Approach to Self-Supervised Learning
    Jean-Bastien Grill, Florian Strub, Florent Altché et al. · 2020 · Machine Learning · preprint, non relu par les pairs · cité 4 062 fois · Résumé IA disponible
    Résumé scientifique

    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 …

  5. Proche
    Learning Transferable Visual Models From Natural Language Supervision
    Alec Radford, Jong Wook Kim, Chris Hallacy et al. · 2021 · Computer Vision and Pattern Recognition · preprint, non relu par les pairs · cité 16 842 fois · Résumé IA disponible
    Résumé scientifique

    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…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 6 novembre 2026.

Le guide illustré des articles autour d’un article