Hard Negative Mixing for Contrastive Learning
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
Citing papers per year: 2021: 81; 2022: 95; 2023: 92; 2024: 55; 2025: 47; 2026: 29.
399 papers.
Sort:
By area:
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
- 2023A Cookbook of Self-Supervised Learningcited by 248
- 2021Exploring Cross-Image Pixel Contrast for Semantic Segmentationcited by 242
- 2021Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Samplingcited by 238
- 2023A Survey on Self-supervised Learning: Algorithms, Applications, and Future Trendscited by 205
- 2022CrossPoint: Self-Supervised Cross-Modal Contrastive Learning for 3D Point Cloud Understandingcited by 198
- 2023OpenShape: Scaling Up 3D Shape Representation Towards Open-World Understandingcited by 183
- 2023CROMA: Remote Sensing Representations with Contrastive Radar-Optical Masked Autoencoderscited by 167
- 2021On Feature Decorrelation in Self-Supervised Learningcited by 160
- 2022Deep Spectral Methods: A Surprisingly Strong Baseline for Unsupervised Semantic Segmentation and Localizationcited by 150
- 2021Decoupled Contrastive Learningcited by 141
- 2021TCLR: Temporal Contrastive Learning for Video Representationcited by 136
38 more
- 2021Self-supervised Learning on Graphs: Contrastive, Generative,or Predictivecited by 136
- 2021Self-supervised Heterogeneous Graph Neural Network with Co-contrastive Learningcited by 130
- 2021Neighborhood Contrastive Learning for Novel Class Discoverycited by 119
- 2022What to Hide from Your Students: Attention-Guided Masked Image Modelingcited by 117
- 2021Can contrastive learning avoid shortcut solutions?cited by 114
- 2021An Empirical Study of Graph Contrastive Learningcited by 113
- 2022Learning Vector-Quantized Item Representation for Transferable Sequential Recommenderscited by 112
- 2023Filtering, Distillation, and Hard Negatives for Vision-Language Pre-Trainingcited by 91
- 2021Supporting Clustering with Contrastive Learningcited by 90
- 2021HiT: Hierarchical Transformer with Momentum Contrast for Video-Text Retrievalcited by 87
- 2023ARNIQA: Learning Distortion Manifold for Image Quality Assessmentcited by 87
- 2021Divide and Contrast: Self-supervised Learning from Uncurated Datacited by 85
- 2021Weakly Supervised Semantic Segmentation by Pixel-to-Prototype Contrastcited by 85
- 2021ReSSL: Relational Self-Supervised Learning with Weak Augmentationcited by 83
- 2024Perplexed by Perplexity: Perplexity-Based Data Pruning With Small Reference Modelscited by 83
- 2021Weakly Supervised Contrastive Learningcited by 81
- 2023Verbs in Action: Improving verb understanding in video-language modelscited by 76
- 2025ReasonIR: Training Retrievers for Reasoning Taskscited by 76
- 2025Breaking the Modality Barrier: Universal Embedding Learning with Multimodal LLMscited by 73
- 2021CrossCLR: Cross-modal Contrastive Learning For Multi-modal Video Representationscited by 72
- 2021ProGCL: Rethinking Hard Negative Mining in Graph Contrastive Learningcited by 72
- 2022Plausible May Not Be Faithful: Probing Object Hallucination in Vision-Language Pre-trainingcited by 71
- 2023Align and Attend: Multimodal Summarization with Dual Contrastive Lossescited by 65
- 2021Improving Text-to-Image Synthesis Using Contrastive Learningcited by 62
- 2022Hard Sample Aware Network for Contrastive Deep Graph Clusteringcited by 61
- 2023Self-Supervised Multimodal Learning: A Surveycited by 58
- 2021Unsupervised Part Discovery from Contrastive Reconstructioncited by 57
- 2021Topology-Imbalance Learning for Semi-Supervised Node Classificationcited by 56
- 2024Decoupling Static and Hierarchical Motion Perception for Referring Video Segmentationcited by 55
- 2021Investigating the Role of Negatives in Contrastive Representation Learningcited by 54
- 2021MedAug: Contrastive learning leveraging patient metadata improves representations for chest X-ray interpretationcited by 52
- 2021Self-Contrastive Learning with Hard Negative Sampling for Self-supervised Point Cloud Learningcited by 52
- 2022Dual Temperature Helps Contrastive Learning Without Many Negative Samples: Towards Understanding and Simplifying MoCocited by 52
- 2021PASS: An ImageNet replacement for self-supervised pretraining without humanscited by 51
- 2023TimesURL: Self-supervised Contrastive Learning for Universal Time Series Representation Learningcited by 51
- 2021Unleashing the Power of Contrastive Self-Supervised Visual Models via Contrast-Regularized Fine-Tuningcited by 50
- 2022XCon: Learning with Experts for Fine-grained Category Discoverycited by 50
- 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
50 most cited of 399 All 399 (JSON)
- 2026TeMo: Temperature Modulation for Multimodal Contrastive Learning7 Sep 2026
- 2026Solving the Needle-in-a-Haystack Problem in Mammography Vision-Language Model with Differentiable Subset Sampling2 Sep 2026
- 2026ViTAMINS: An Empirical Study of Training Self-Supervised Vision Transformers with Synthetic Hard Negatives1 Sep 2026
- 2026RePair: Turning Retrieval Failures into Counterfactual Hard Pairs30 Aug 2026
- 2026Contextrast++: Robust Multi-Scale Contextual Contrastive Learning for Semantic Segmentation24 Aug 2026
- 2026Which Negatives Matter? Ask Your Text Encoder: Adaptive Similarity Margins for Dense-Caption Retrieval19 Aug 2026
- 2026Contrastive Energy Fields for Inference-Time Procedure Planning in Instructional Videos17 Aug 2026
- 2026Bayesian Data Reweighting Improves Multimodal Retrieval for Knowledge-Based Visual Question Answering3 Aug 2026
- 2026Don't Contrast the Impossible: Region-Constrained Batching for Contrastive User Modeling on a Local Community Platform31 Jul 2026
- 2026Position: Stop Reactively Patching Your Model Every Time and Start Proactive Test-Driven AI Development10 Jul 2026
- 2026Cohort-Anchored Foundation Models for Electronic Health Records: From Risk Scores to Auditable Peer Cohorts20 Jun 2026
- 2026Aligning Implied Statements for Implicit Hate Speech Generalizability with Context-Bounded Semi-hard Negative Mining17 Jun 2026
38 more
- 2026HOLA: Holistic Multi-Modal Alignment for Open-Set 3D Recognition31 May 2026
- 2026When Softmax Fails at the Top: Extreme Value Corrections for InfoNCE29 May 2026
- 2026Contrast to Detect: Dynamic Graph Contrastive Regularization for Unsupervised Anomaly Detection in Multivariate Time Series22 May 2026
- 2026Direct content-based retrieval from music scores images21 May 2026
- 2026MASS-DPO: Multi-negative Active Sample Selection for Direct Policy Optimization11 May 2026
- 2026Adaptive Negative Scheduling for Graph Contrastive Learning4 May 2026
- 2026CLIP Architecture for Abdominal CT Image-Text Alignment and Zero-Shot Learning: Investigating Batch Composition and Data Scaling15 Apr 2026
- 2026DiffusionPrint: Learning Generative Fingerprints for Diffusion-Based Inpainting Localization14 Apr 2026
- 2026Span Modeling for Idiomaticity and Figurative Language Detection with Span Contrastive Loss24 Mar 2026
- 2026Bridging the Visual-to-Physical Gap: Physically Aligned Representations for Fall Risk Analysis12 Mar 2026
- 2026MM-TS: Multi-Modal Temperature and Margin Schedules for Contrastive Learning with Long-Tail Data9 Mar 2026
- 2026TSEmbed: Unlocking Task Scaling in Universal Multimodal Embeddings5 Mar 2026
- 2026Spectral Disentanglement and Enhancement: A Dual-domain Contrastive Framework for Representation Learning9 Feb 2026
- 2026Enhancing IMU-Based Online Handwriting Recognition via Contrastive Learning with Zero Inference Overhead4 Feb 2026
- 2026From Vicious to Virtuous Cycles: Synergistic Representation Learning for Unsupervised Video Object-Centric Learning3 Feb 2026
- 2026Negatives-Dominant Contrastive Learning for Generalization in Imbalanced Domains29 Jan 2026
- 2026CurConMix+: A Unified Spatio-Temporal Framework for Hierarchical Surgical Workflow Understanding18 Jan 2026
- 2025ABE-CLIP: Training-Free Attribute Binding Enhancement for Compositional Image-Text Matching19 Dec 2025
- 2025GraphMatch: Fusing Language and Graph Representations in a Dynamic Two-Sided Work Marketplace2 Dec 2025
- 2025Know Thyself by Knowing Others: Learning Neuron Identity from Population Context1 Dec 2025
- 2025Understanding InfoNCE: Transition Probability Matrix Induced Feature Clustering15 Nov 2025
- 2025SSL4RL: Revisiting Self-supervised Learning as Intrinsic Reward for Visual-Language Reasoning18 Oct 2025
- 2025JEDA: Query-Free Clinical Order Search from Ambient Dialogues16 Oct 2025
- 2025Understanding Self-supervised Contrastive Learning through Supervised Objectives12 Oct 2025
- 2025The Impact of Semantic Pairs on Self-Supervised Representation Learning9 Oct 2025
- 2025Diversity Is All You Need for Contrastive Learning: Spectral Bounds on Gradient Magnitudes7 Oct 2025
- 2025MIDAS: Misalignment-based Data Augmentation Strategy for Imbalanced Multimodal Learning30 Sep 2025
- 2025SAGE: Spatial-visual Adaptive Graph Exploration for Efficient Visual Place Recognition30 Sep 2025
- 2025GenView++: Unifying Adaptive Generative Augmentation and Quality-Driven Supervision for Contrastive Representation Learning28 Sep 2025
- 2025The Complexity of Finding Local Optima in Contrastive Learning21 Sep 2025
- 2025Evolving from Unknown to Known: Retentive Angular Representation Learning for Incremental Open Set Recognition8 Sep 2025
- 2025Fake & Square: Training Self-Supervised Vision Transformers with Synthetic Data and Synthetic Hard Negatives2 Sep 2025
- 2025Unsupervised Training of Vision Transformers with Synthetic Negatives2 Sep 2025
- 2025Beyond Semantic Similarity: Reducing Unnecessary API Calls via Behavior-Aligned Retriever20 Aug 2025
- 2025Data and Context Matter: Towards Generalizing AI-based Software Vulnerability Detection14 Aug 2025
- 2025TRUST: Leveraging Text Robustness for Unsupervised Domain Adaptation8 Aug 2025
- 2025RRRA: Resampling and Reranking through a Retriever Adapter7 Aug 2025
- 2025RegionMed-CLIP: A Region-Aware Multimodal Contrastive Learning Pre-trained Model for Medical Image Understanding7 Aug 2025
50 newest of 399 All 399 (JSON)
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
- 2023Filtering, Distillation, and Hard Negatives for Vision-Language Pre-Trainingcited by 91
- 2025Breaking the Modality Barrier: Universal Embedding Learning with Multimodal LLMscited by 73
- 2022Plausible May Not Be Faithful: Probing Object Hallucination in Vision-Language Pre-trainingcited by 71
- 2023Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understandingcited by 40
- 2025Object-centric Binding in Contrastive Language-Image Pretrainingcited by 12
- 2025Mitigating Hallucinations in Large Vision-Language Models via Entity-Centric Multimodal Preference Optimizationcited by 10
- 2023Investigating the Role of Attribute Context in Vision-Language Models for Object Recognition and Detectioncited by 0
- 2026CLIP Architecture for Abdominal CT Image-Text Alignment and Zero-Shot Learning: Investigating Batch Composition and Data Scalingcited by 0
- 2026Solving the Needle-in-a-Haystack Problem in Mammography Vision-Language Model with Differentiable Subset Samplingcited by 0
- 2026Solving the Needle-in-a-Haystack Problem in Mammography Vision-Language Model with Differentiable Subset Sampling2 Sep 2026
- 2026CLIP Architecture for Abdominal CT Image-Text Alignment and Zero-Shot Learning: Investigating Batch Composition and Data Scaling15 Apr 2026
- 2025Mitigating Hallucinations in Large Vision-Language Models via Entity-Centric Multimodal Preference Optimization4 Jun 2025
- 2025Breaking the Modality Barrier: Universal Embedding Learning with Multimodal LLMs24 Apr 2025
- 2025Object-centric Binding in Contrastive Language-Image Pretraining19 Feb 2025
- 2023Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understanding15 Jun 2023
- 2023Investigating the Role of Attribute Context in Vision-Language Models for Object Recognition and Detection17 Mar 2023
- 2023Filtering, Distillation, and Hard Negatives for Vision-Language Pre-Training5 Jan 2023
- 2022Plausible May Not Be Faithful: Probing Object Hallucination in Vision-Language Pre-training14 Oct 2022
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?4 Oct 2022
- 2025ReasonIR: Training Retrievers for Reasoning Taskscited by 76
- 2024Exploring How Generative MLLMs Perceive More Than CLIP with the Same Vision Encodercited by 11
- 2025SSL4RL: Revisiting Self-supervised Learning as Intrinsic Reward for Visual-Language Reasoningcited by 7
- 2026TSEmbed: Unlocking Task Scaling in Universal Multimodal Embeddingscited by 6
- 2026TSEmbed: Unlocking Task Scaling in Universal Multimodal Embeddings5 Mar 2026
- 2025SSL4RL: Revisiting Self-supervised Learning as Intrinsic Reward for Visual-Language Reasoning18 Oct 2025
- 2025ReasonIR: Training Retrievers for Reasoning Tasks29 Apr 2025
- 2024Exploring How Generative MLLMs Perceive More Than CLIP with the Same Vision Encoder7 Nov 2024
- 2023A Cookbook of Self-Supervised Learningcited by 248
- 2021Exploring Cross-Image Pixel Contrast for Semantic Segmentationcited by 242
- 2021Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Samplingcited by 238
- 2023A Survey on Self-supervised Learning: Algorithms, Applications, and Future Trendscited by 205
- 2022CrossPoint: Self-Supervised Cross-Modal Contrastive Learning for 3D Point Cloud Understandingcited by 198
- 2023OpenShape: Scaling Up 3D Shape Representation Towards Open-World Understandingcited by 183
- 2023CROMA: Remote Sensing Representations with Contrastive Radar-Optical Masked Autoencoderscited by 167
- 2021On Feature Decorrelation in Self-Supervised Learningcited by 160
- 2022Deep Spectral Methods: A Surprisingly Strong Baseline for Unsupervised Semantic Segmentation and Localizationcited by 150
- 2021Decoupled Contrastive Learningcited by 141
- 2021TCLR: Temporal Contrastive Learning for Video Representationcited by 136
- 2021Self-supervised Learning on Graphs: Contrastive, Generative,or Predictivecited by 136
12 most cited of 377 All 377 (JSON)
- 2026TeMo: Temperature Modulation for Multimodal Contrastive Learning7 Sep 2026
- 2026ViTAMINS: An Empirical Study of Training Self-Supervised Vision Transformers with Synthetic Hard Negatives1 Sep 2026
- 2026RePair: Turning Retrieval Failures into Counterfactual Hard Pairs30 Aug 2026
- 2026Contextrast++: Robust Multi-Scale Contextual Contrastive Learning for Semantic Segmentation24 Aug 2026
- 2026Which Negatives Matter? Ask Your Text Encoder: Adaptive Similarity Margins for Dense-Caption Retrieval19 Aug 2026
- 2026Contrastive Energy Fields for Inference-Time Procedure Planning in Instructional Videos17 Aug 2026
- 2026Bayesian Data Reweighting Improves Multimodal Retrieval for Knowledge-Based Visual Question Answering3 Aug 2026
- 2026Don't Contrast the Impossible: Region-Constrained Batching for Contrastive User Modeling on a Local Community Platform31 Jul 2026
- 2026Position: Stop Reactively Patching Your Model Every Time and Start Proactive Test-Driven AI Development10 Jul 2026
- 2026Cohort-Anchored Foundation Models for Electronic Health Records: From Risk Scores to Auditable Peer Cohorts20 Jun 2026
- 2026Aligning Implied Statements for Implicit Hate Speech Generalizability with Context-Bounded Semi-hard Negative Mining17 Jun 2026
- 2026HOLA: Holistic Multi-Modal Alignment for Open-Set 3D Recognition31 May 2026
12 newest of 377 All 377 (JSON)