mlsanityData to 7 Oct 2026

Hard Negative Mixing for Contrastive Learning

arXiv 2010.01028 ↗First posted 2 Oct 2020cs.CV cs.LGcited by 399

Not on the map. Why?

Abstract (arXiv)

Contrastive learning has become a key component of self-supervised learning approaches for computer vision. By learning to embed two augmented versions of the same image close to each other and to push the embeddings of different images apart, one can train highly transferable visual representations. As revealed by recent studies, heavy data augmentation and large sets of negatives are both crucial in learning such representations. At the same time, data mixing strategies either at the image or the feature level improve both supervised and semi-supervised learning by synthesizing novel examples, forcing networks to learn more robust features. In this paper, we argue that an important aspect of contrastive learning, i.e., the effect of hard negatives, has so far been neglected. To get more meaningful negative samples, current top contrastive self-supervised learning approaches either substantially increase the batch sizes, or keep very large memory banks; increasing the memory size, however, leads to diminishing returns in terms of performance. We therefore start by delving deeper into a top-performing framework and show evidence that harder negatives are needed to facilitate better and faster learning. Based on these observations, and motivated by the success of data mixing, we propose hard negative mixing strategies at the feature level, that can be computed on-the-fly with a minimal computational overhead. We exhaustively ablate our approach on linear classification, object detection and instance segmentation and show that employing our hard negative mixing procedure improves the quality of visual representations learned by a state-of-the-art self-supervised learning method.

Key facts. Cited by 399 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Oct 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 81; 2022: 95; 2023: 92; 2024: 55; 2025: 47; 2026: 29.

399 papers.

Sort:

By area:

  1. 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
  2. 2023A Cookbook of Self-Supervised Learningcited by 248
  3. 2021Exploring Cross-Image Pixel Contrast for Semantic Segmentationcited by 242
  4. 2021Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Samplingcited by 238
  5. 2023A Survey on Self-supervised Learning: Algorithms, Applications, and Future Trendscited by 205
  6. 2022CrossPoint: Self-Supervised Cross-Modal Contrastive Learning for 3D Point Cloud Understandingcited by 198
  7. 2023OpenShape: Scaling Up 3D Shape Representation Towards Open-World Understandingcited by 183
  8. 2023CROMA: Remote Sensing Representations with Contrastive Radar-Optical Masked Autoencoderscited by 167
  9. 2021On Feature Decorrelation in Self-Supervised Learningcited by 160
  10. 2022Deep Spectral Methods: A Surprisingly Strong Baseline for Unsupervised Semantic Segmentation and Localizationcited by 150
  11. 2021Decoupled Contrastive Learningcited by 141
  12. 2021TCLR: Temporal Contrastive Learning for Video Representationcited by 136
38 more
  1. 2021Self-supervised Learning on Graphs: Contrastive, Generative,or Predictivecited by 136
  2. 2021Self-supervised Heterogeneous Graph Neural Network with Co-contrastive Learningcited by 130
  3. 2021Neighborhood Contrastive Learning for Novel Class Discoverycited by 119
  4. 2022What to Hide from Your Students: Attention-Guided Masked Image Modelingcited by 117
  5. 2021Can contrastive learning avoid shortcut solutions?cited by 114
  6. 2021An Empirical Study of Graph Contrastive Learningcited by 113
  7. 2022Learning Vector-Quantized Item Representation for Transferable Sequential Recommenderscited by 112
  8. 2023Filtering, Distillation, and Hard Negatives for Vision-Language Pre-Trainingcited by 91
  9. 2021Supporting Clustering with Contrastive Learningcited by 90
  10. 2021HiT: Hierarchical Transformer with Momentum Contrast for Video-Text Retrievalcited by 87
  11. 2023ARNIQA: Learning Distortion Manifold for Image Quality Assessmentcited by 87
  12. 2021Divide and Contrast: Self-supervised Learning from Uncurated Datacited by 85
  13. 2021Weakly Supervised Semantic Segmentation by Pixel-to-Prototype Contrastcited by 85
  14. 2021ReSSL: Relational Self-Supervised Learning with Weak Augmentationcited by 83
  15. 2024Perplexed by Perplexity: Perplexity-Based Data Pruning With Small Reference Modelscited by 83
  16. 2021Weakly Supervised Contrastive Learningcited by 81
  17. 2023Verbs in Action: Improving verb understanding in video-language modelscited by 76
  18. 2025ReasonIR: Training Retrievers for Reasoning Taskscited by 76
  19. 2025Breaking the Modality Barrier: Universal Embedding Learning with Multimodal LLMscited by 73
  20. 2021CrossCLR: Cross-modal Contrastive Learning For Multi-modal Video Representationscited by 72
  21. 2021ProGCL: Rethinking Hard Negative Mining in Graph Contrastive Learningcited by 72
  22. 2022Plausible May Not Be Faithful: Probing Object Hallucination in Vision-Language Pre-trainingcited by 71
  23. 2023Align and Attend: Multimodal Summarization with Dual Contrastive Lossescited by 65
  24. 2021Improving Text-to-Image Synthesis Using Contrastive Learningcited by 62
  25. 2022Hard Sample Aware Network for Contrastive Deep Graph Clusteringcited by 61
  26. 2023Self-Supervised Multimodal Learning: A Surveycited by 58
  27. 2021Unsupervised Part Discovery from Contrastive Reconstructioncited by 57
  28. 2021Topology-Imbalance Learning for Semi-Supervised Node Classificationcited by 56
  29. 2024Decoupling Static and Hierarchical Motion Perception for Referring Video Segmentationcited by 55
  30. 2021Investigating the Role of Negatives in Contrastive Representation Learningcited by 54
  31. 2021MedAug: Contrastive learning leveraging patient metadata improves representations for chest X-ray interpretationcited by 52
  32. 2021Self-Contrastive Learning with Hard Negative Sampling for Self-supervised Point Cloud Learningcited by 52
  33. 2022Dual Temperature Helps Contrastive Learning Without Many Negative Samples: Towards Understanding and Simplifying MoCocited by 52
  34. 2021PASS: An ImageNet replacement for self-supervised pretraining without humanscited by 51
  35. 2023TimesURL: Self-supervised Contrastive Learning for Universal Time Series Representation Learningcited by 51
  36. 2021Unleashing the Power of Contrastive Self-Supervised Visual Models via Contrast-Regularized Fine-Tuningcited by 50
  37. 2022XCon: Learning with Experts for Fine-grained Category Discoverycited by 50
  38. 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49

50 most cited of 399 All 399 (JSON)