mlsanityData to 7 Oct 2026

With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representations

arXiv 2104.14548 ↗First posted 29 Apr 2021cs.CVcited by 324

Not on the map. Why?

Abstract (arXiv)

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 classification, from 71.7% to 75.6%, outperforming previous state-of-the-art methods. On semi-supervised learning benchmarks we improve performance significantly when only 1% ImageNet labels are available, from 53.8% to 56.5%. On transfer learning benchmarks our method outperforms state-of-the-art methods (including supervised learning with ImageNet) on 8 out of 12 downstream datasets. Furthermore, we demonstrate empirically that our method is less reliant on complex data augmentations. We see a relative reduction of only 2.1% ImageNet Top-1 accuracy when we train using only random crops.

Key facts. Cited by 324 papers in the map (data through 7 Oct 2026). Builds on 45 of its 77 references that are in the map. First posted on arXiv 29 Apr 2021.

Builds on

45 of 77 references.

References · 45

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  6. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  7. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  8. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  10. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  11. 2020Exploring Simple Siamese Representation Learningcited by 2,853
  12. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
33 more
  1. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  2. 2020Supervised Contrastive Learningcited by 2,803
  3. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  4. 2013Describing Textures in the Wildcited by 2,110
  5. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  6. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  7. 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,586
  8. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  9. 2019Contrastive Multiview Codingcited by 1,297
  10. 2015Unsupervised Visual Representation Learning by Context Predictioncited by 1,062
  11. 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,020
  12. 2020What Makes for Good Views for Contrastive Learning?cited by 843
  13. 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 806
  14. 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
  15. 2015Unsupervised Deep Embedding for Clustering Analysiscited by 763
  16. 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 672
  17. 2020Prototypical Contrastive Learning of Unsupervised Representationscited by 636
  18. 2017Large Batch Training of Convolutional Networkscited by 529
  19. 2019Self-labelling via simultaneous clustering and representation learningcited by 525
  20. 2014Discriminative Unsupervised Feature Learning with Exemplar Convolutional Neural Networkscited by 299
  21. 2020Self-supervised Co-training for Video Representation Learningcited by 232
  22. 2016Joint Unsupervised Learning of Deep Representations and Image Clusterscited by 205
  23. 2019Local Aggregation for Unsupervised Learning of Visual Embeddingscited by 204
  24. 2019Temporal Cycle-Consistency Learningcited by 151
  25. 2016Learning Features by Watching Objects Movecited by 138
  26. 2019Analyzing and Improving Representations with the Soft Nearest Neighbor Losscited by 95
  27. 2019ClusterFit: Improving Generalization of Visual Representationscited by 82
  28. 2019Unsupervised Deep Learning by Neighbourhood Discoverycited by 78
  29. 2020Learning Representations by Predicting Bags of Visual Wordscited by 73
  30. 2018Improving Generalization via Scalable Neighborhood Component Analysiscited by 53
  31. 2016CliqueCNN: Deep Unsupervised Exemplar Learningcited by 41
  32. 2019Unsupervised Learning of Landmarks by Descriptor Vector Exchangecited by 39
  33. 2021Mine Your Own vieW: Self-Supervised Learning Through Across-Sample Predictioncited by 36

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 29; 2022: 80; 2023: 104; 2024: 63; 2025: 31; 2026: 17.

324 papers.

Sort:

By area:

  1. 2021Supervision Exists Everywhere: A Data Efficient Contrastive Language-Image Pre-training Paradigmcited by 405
  2. 2021Understanding Dimensional Collapse in Contrastive Self-supervised Learningcited by 374
  3. 2023A Cookbook of Self-Supervised Learningcited by 248
  4. 2023A Survey on Self-supervised Learning: Algorithms, Applications, and Future Trendscited by 205
  5. 2021Exploiting the Intrinsic Neighborhood Structure for Source-free Domain Adaptationcited by 176
  6. 2021The Surprising Effectiveness of Representation Learning for Visual Imitationcited by 149
  7. 2021Self-Supervised Models are Continual Learnerscited by 149
  8. 2022Contrastive and Non-Contrastive Self-Supervised Learning Recover Global and Local Spectral Embedding Methodscited by 146
  9. 2021Decoupled Contrastive Learningcited by 141
  10. 2022SimMatch: Semi-supervised Learning with Similarity Matchingcited by 118
  11. 2022VICRegL: Self-Supervised Learning of Local Visual Featurescited by 118
  12. 2021Solo-learn: A Library of Self-supervised Methods for Visual Representation Learningcited by 116
38 more
  1. 2021Efficient Training of Visual Transformers with Small Datasetscited by 107
  2. 2022Attracting and Dispersing: A Simple Approach for Source-free Domain Adaptationcited by 93
  3. 2021Contrastive Learning from Extremely Augmented Skeleton Sequences for Self-supervised Action Recognitioncited by 89
  4. 2022PromptCAL: Contrastive Affinity Learning via Auxiliary Prompts for Generalized Novel Category Discoverycited by 85
  5. 2022Object discovery and representation networkscited by 80
  6. 2022WildNet: Learning Domain Generalized Semantic Segmentation from the Wildcited by 75
  7. 2021Unsupervised Object-Level Representation Learning from Scene Imagescited by 72
  8. 2022Self-Supervised Visual Representation Learning with Semantic Groupingcited by 70
  9. 2022Pushing the limits of self-supervised ResNets: Can we outperform supervised learning without labels on ImageNet?cited by 67
  10. 2022Crafting Better Contrastive Views for Siamese Representation Learningcited by 67
  11. 2022Test-Time Adaptation via Self-Training with Nearest Neighbor Informationcited by 64
  12. 2022Assessing the State of Self-Supervised Human Activity Recognition using Wearablescited by 63
  13. 2022Twin Contrastive Learning for Online Clusteringcited by 60
  14. 2023MC-JEPA: A Joint-Embedding Predictive Architecture for Self-Supervised Learning of Motion and Content Featurescited by 53
  15. 2021PASS: An ImageNet replacement for self-supervised pretraining without humanscited by 51
  16. 2021Contrast and Mix: Temporal Contrastive Video Domain Adaptation with Background Mixingcited by 49
  17. 2023Soft Contrastive Learning for Time Seriescited by 49
  18. 2021Revisiting Contrastive Methods for Unsupervised Learning of Visual Representationscited by 48
  19. 2024Automatic Data Curation for Self-Supervised Learning: A Clustering-Based Approachcited by 48
  20. 2023Learning Audio-Visual Source Localization via False Negative Aware Contrastive Learningcited by 46
  21. 2023Towards In-context Scene Understandingcited by 45
  22. 2022HCSC: Hierarchical Contrastive Selective Codingcited by 43
  23. 2022Understanding Collapse in Non-Contrastive Siamese Representation Learningcited by 42
  24. 2022Point-Level Region Contrast for Object Detection Pre-Trainingcited by 41
  25. 2022Provable Stochastic Optimization for Global Contrastive Learning: Small Batch Does Not Harm Performancecited by 40
  26. 2023MetaGCD: Learning to Continually Learn in Generalized Category Discoverycited by 40
  27. 2022What Makes Good Contrastive Learning on Small-Scale Wearable-based Tasks?cited by 39
  28. 2023Know Your Self-supervised Learning: A Survey on Image-based Generative and Discriminative Trainingcited by 39
  29. 2022On the Importance of Asymmetry for Siamese Representation Learningcited by 38
  30. 2021Revisiting the Transferability of Supervised Pretraining: an MLP Perspectivecited by 36
  31. 2022Contrastive Learning for Unsupervised Domain Adaptation of Time Seriescited by 36
  32. 2022Understanding and Improving the Role of Projection Head in Self-Supervised Learningcited by 36
  33. 2023Retrieval-Enhanced Contrastive Vision-Text Modelscited by 36
  34. 2021ContIG: Self-supervised Multimodal Contrastive Learning for Medical Imaging with Geneticscited by 35
  35. 2022SVL-Adapter: Self-Supervised Adapter for Vision-Language Pretrained Modelscited by 34
  36. 2022OpenCon: Open-world Contrastive Learningcited by 33
  37. 2022Self-Supervised Learning via Maximum Entropy Codingcited by 33
  38. 2023Exploring the Limits of Deep Image Clustering using Pretrained Modelscited by 33

50 most cited of 324 All 324 (JSON)