Understanding the Behaviour of Contrastive Loss
Not on the map. Why?
Abstract (arXiv)
Unsupervised contrastive learning has achieved outstanding success, while the mechanism of contrastive loss has been less studied. In this paper, we concentrate on the understanding of the behaviours of unsupervised contrastive loss. We will show that the contrastive loss is a hardness-aware loss function, and the temperature τ controls the strength of penalties on hard negative samples. The previous study has shown that uniformity is a key property of contrastive learning. We build relations between the uniformity and the temperature τ . We will show that uniformity helps the contrastive learning to learn separable features, however excessive pursuit to the uniformity makes the contrastive loss not tolerant to semantically similar samples, which may break the underlying semantic structure and be harmful to the formation of features useful for downstream tasks. This is caused by the inherent defect of the instance discrimination objective. Specifically, instance discrimination objective tries to push all different instances apart, ignoring the underlying relations between samples. Pushing semantically consistent samples apart has no positive effect for acquiring a prior informative to general downstream tasks. A well-designed contrastive loss should have some extents of tolerance to the closeness of semantically similar samples. Therefore, we find that the contrastive loss meets a uniformity-tolerance dilemma, and a good choice of temperature can compromise these two properties properly to both learn separable features and tolerant to semantically similar samples, improving the feature qualities and the downstream performances.
Key facts. Cited by 397 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 24; 2022: 89; 2023: 97; 2024: 89; 2025: 59; 2026: 39.
397 papers.
Sort:
By area:
- 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 553
- 2024Smaug: Fixing Failure Modes of Preference Optimisation with DPO-Positivecited by 239
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2023Glaze: Protecting Artists from Style Mimicry by Text-to-Image Modelscited by 200
- 2022MERLOT Reserve: Neural Script Knowledge through Vision and Language and Soundcited by 184
- 2022Balanced Contrastive Learning for Long-Tailed Visual Recognitioncited by 143
- 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
- 2023Similarity of Neural Network Models: A Survey of Functional and Representational Measurescited by 128
- 2023Segment Any Point Cloud Sequences by Distilling Vision Foundation Modelscited by 123
- 2021Can contrastive learning avoid shortcut solutions?cited by 114
- 2021An Empirical Study of Graph Contrastive Learningcited by 113
- 2023Diffusion Models for Image Restoration and Enhancement: A Comprehensive Surveycited by 108
38 more
- 2023Jina Embeddings 2: 8192-Token General-Purpose Text Embeddings for Long Documentscited by 103
- 2021Towards the Generalization of Contrastive Self-Supervised Learningcited by 99
- 2023Self-Supervised Learning for Time Series Analysis: Taxonomy, Progress, and Prospectscited by 97
- 2022Neural Collapse: A Review on Modelling Principles and Generalizationcited by 95
- 2022SimKGC: Simple Contrastive Knowledge Graph Completion with Pre-trained Language Modelscited by 90
- 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPcited by 88
- 2021Mean-Shifted Contrastive Loss for Anomaly Detectioncited by 87
- 2022Knowledge Tracing: A Surveycited by 76
- 2023Nightshade: Prompt-Specific Poisoning Attacks on Text-to-Image Generative Modelscited by 72
- 2022Rethinking Minimal Sufficient Representation in Contrastive Learningcited by 67
- 2022Audio Self-supervised Learning: A Surveycited by 65
- 2022How Does SimSiam Avoid Collapse Without Negative Samples? A Unified Understanding with Self-supervised Contrastive Learningcited by 65
- 2022Let Invariant Rationale Discovery Inspire Graph Contrastive Learningcited by 57
- 2022Dual Temperature Helps Contrastive Learning Without Many Negative Samples: Towards Understanding and Simplifying MoCocited by 52
- 2021Unleashing the Power of Contrastive Self-Supervised Visual Models via Contrast-Regularized Fine-Tuningcited by 50
- 2021Momentum Contrastive Voxel-wise Representation Learning for Semi-supervised Volumetric Medical Image Segmentationcited by 49
- 2022SeeABLE: Soft Discrepancies and Bounded Contrastive Learning for Exposing Deepfakescited by 49
- 2024DAVE -- A Detect-and-Verify Paradigm for Low-Shot Countingcited by 49
- 2022CCPL: Contrastive Coherence Preserving Loss for Versatile Style Transfercited by 46
- 2024Jina CLIP: Your CLIP Model Is Also Your Text Retrievercited by 46
- 2022Teaching Matters: Investigating the Role of Supervision in Vision Transformerscited by 45
- 2022Contrastive Trajectory Similarity Learning with Dual-Feature Attentioncited by 44
- 2023Temperature Schedules for Self-Supervised Contrastive Methods on Long-Tail Datacited by 44
- 2023Faithful Explanations of Black-box NLP Models Using LLM-generated Counterfactualscited by 44
- 2023Understanding Multimodal Contrastive Learning and Incorporating Unpaired Datacited by 43
- 2024Learning with Mixture of Prototypes for Out-of-Distribution Detectioncited by 43
- 2023Leveraging Hidden Positives for Unsupervised Semantic Segmentationcited by 40
- 2024InfoNCE: Identifying the Gap Between Theory and Practicecited by 39
- 2022Ranking Info Noise Contrastive Estimation: Boosting Contrastive Learning via Ranked Positivescited by 37
- 2023InfoNCE Loss Provably Learns Cluster-Preserving Representationscited by 37
- 2023Simple, Effective and General: A New Backbone for Cross-view Image Geo-localizationcited by 36
- 2024jina-clip-v2: Multilingual Multimodal Embeddings for Text and Imagescited by 36
- 2022The Principle of Diversity: Training Stronger Vision Transformers Calls for Reducing All Levels of Redundancycited by 35
- 2023Self-Supervised Image-to-Point Distillation via Semantically Tolerant Contrastive Losscited by 35
- 2022Improving Self-Supervised Learning by Characterizing Idealized Representationscited by 33
- 2022Self-Supervised Learning via Maximum Entropy Codingcited by 33
- 2023Distilling Large Vision-Language Model with Out-of-Distribution Generalizabilitycited by 33
- 2025Joint Embedding vs Reconstruction: Provable Benefits of Latent Space Prediction for Self Supervised Learningcited by 33
50 most cited of 397 All 397 (JSON)
- 2026Which Tasks Survive Self-Supervised Learning?29 Sep 2026
- 2026Advancing Wildlife Conservation through Multimodal Animal Re-Identification with Environmental Metadata28 Sep 2026
- 2026BELXTR: Biomedical Entity Linking via Contextualized Token Retrieval22 Sep 2026
- 2026Virtual neural networks: hundreds of souls in a body21 Sep 2026
- 2026Positive Pair Geometry Matters: Optimal Transport for Contrastive Learning of Visual Representations21 Sep 2026
- 2026TeMo: Temperature Modulation for Multimodal Contrastive Learning7 Sep 2026
- 2026REFINE: Trajectory Representation Learning via Closed-Loop Transcription -- Extended Version7 Sep 2026
- 2026Which Negatives Matter? Ask Your Text Encoder: Adaptive Similarity Margins for Dense-Caption Retrieval19 Aug 2026
- 2026Task-Conditional Flow Matching for Balanced Multilingual Text Embedding Adaptation6 Aug 2026
- 2026CROSS: Cascaded Distillation and Dual-Constraint Grounding for Remote Sensing Referring Segmentation4 Aug 2026
- 2026SeCo-SBIR: Semantically Consistent Prompt Learning for Zero-Shot Sketch-Based Image Retrieval4 Aug 2026
- 2026On the modality gap and the contrastive loss in multi-modal representation learning12 Jul 2026
38 more
- 2026Feedback Manipulation Regularization: Enabling Offline Agent Alignment for Imitation Learning8 Jul 2026
- 2026Robust Scene Transfer for PointGoal Navigation via Privileged Sensor Guided Contrastive Learning3 Jun 2026
- 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
- 2026Survival Reinforcement Learning: Toward Scalable Self-Supervised RL29 May 2026
- 2026Variational Adapter for Cross-modal Similarity Representation29 May 2026
- 2026SynGR: Unleashing the Potential of Cross-Modal Synergy for Generative Recommendation18 May 2026
- 2026SimReg: Achieving Higher Performance in the Pretraining via Embedding Similarity Regularization9 May 2026
- 2026HDFlow: Hierarchical Diffusion-Flow Planning for Long-horizon Tasks6 May 2026
- 2026On the Complementarity of Quantum and Classical Features: Adaptive Hybrid Quantum-Classical Feature Fusion for Breast Cancer Classification24 Apr 2026
- 2026Geometry-Aware CLIP Retrieval via Local Cross-Modal Alignment and Steering13 Apr 2026
- 2026A Deep Equilibrium Network for Hyperspectral Unmixing13 Apr 2026
- 2026Neural-Symbolic Knowledge Tracing: Injecting Educational Knowledge into Deep Learning for Responsible Learner Modelling9 Apr 2026
- 2026SkinCLIP-VL: Consistency-Aware Vision-Language Learning for Multimodal Skin Cancer Diagnosis22 Mar 2026
- 2026Something from Nothing: Data Augmentation for Robust Severity Level Estimation of Dysarthric Speech16 Mar 2026
- 2026Domain-Skewed Federated Learning with Feature Decoupling and Calibration15 Mar 2026
- 2026Asymptotic and Finite-Time Guarantees for Langevin-Based Temperature Annealing in InfoNCE13 Mar 2026
- 2026CLIPO: Contrastive Learning in Policy Optimization Generalizes RLVR10 Mar 2026
- 2026MM-TS: Multi-Modal Temperature and Margin Schedules for Contrastive Learning with Long-Tail Data9 Mar 2026
- 2026Directional Neural Collapse Explains Few-Shot Transfer in Self-Supervised Learning3 Mar 2026
- 2026Learning with Adaptive Prototype Manifolds for Out-of-Distribution Detection5 Feb 2026
- 2026Quantifying the Knowledge Proximity Between Academic and Industry Research: An Entity and Semantic Perspective5 Feb 2026
- 2026Toward Enhancing Representation Learning in Federated Multi-Task Settings2 Feb 2026
- 2026The Geometric Mechanics of Contrastive Representation Learning: Alignment Potentials, Entropic Dispersion, and Cross-modal Divergence27 Jan 2026
- 2026Closing the Modality Gap Aligns Group-Wise Semantics26 Jan 2026
- 2026GRCF: Two-Stage Groupwise Ranking and Calibration Framework for Multimodal Sentiment Analysis14 Jan 2026
- 2026Improving Domain Generalization in Contrastive Learning using Adaptive Temperature Control12 Jan 2026
- 2025SCS-SupCon: Sigmoid-based Common and Style Supervised Contrastive Learning with Adaptive Decision Boundaries17 Dec 2025
- 2025Calibrating Uncertainty for Zero-Shot Adversarial CLIP15 Dec 2025
- 2025Query-aware Hub Prototype Learning for Few-Shot 3D Point Cloud Semantic Segmentation9 Dec 2025
- 2025Bridging Visual Affective Gap: Borrowing Textual Knowledge by Learning from Noisy Image-Text Pairs21 Nov 2025
- 2025Understanding InfoNCE: Transition Probability Matrix Induced Feature Clustering15 Nov 2025
- 2025Beyond Boundaries: Leveraging Vision Foundation Models for Source-Free Object Detection10 Nov 2025
- 2025An Augmentation Overlap Theory of Contrastive Learning5 Nov 2025
- 2025Efficient Online Continual Learning in Sensor-Based Human Activity Recognition4 Nov 2025
- 2025Model Inversion with Layer-Specific Modeling and Alignment for Data-Free Continual Learning30 Oct 2025
- 2025Calibrating Multimodal Consensus for Emotion Recognition23 Oct 2025
- 2025Instance-Aware Pseudo-Labeling and Class-Focused Contrastive Learning for Weakly Supervised Domain Adaptive Segmentation of Electron Microscopy18 Oct 2025
50 newest of 397 All 397 (JSON)
- 2023Glaze: Protecting Artists from Style Mimicry by Text-to-Image Modelscited by 200
- 2023Diffusion Models for Image Restoration and Enhancement: A Comprehensive Surveycited by 108
- 2024LDMol: A Text-to-Molecule Diffusion Model with Structurally Informative Latent Space Surpasses AR Modelscited by 11
- 2025FedDifRC: Unlocking the Potential of Text-to-Image Diffusion Models in Heterogeneous Federated Learningcited by 3
- 2024Channel-aware Contrastive Conditional Diffusion for Multivariate Probabilistic Time Series Forecastingcited by 2
- 2026HDFlow: Hierarchical Diffusion-Flow Planning for Long-horizon Taskscited by 2
- 2025DiffEx: Explaining a Classifier with Diffusion Models to Identify Microscopic Cellular Variationscited by 0
- 2026Task-Conditional Flow Matching for Balanced Multilingual Text Embedding Adaptationcited by 0
- 2026Task-Conditional Flow Matching for Balanced Multilingual Text Embedding Adaptation6 Aug 2026
- 2026HDFlow: Hierarchical Diffusion-Flow Planning for Long-horizon Tasks6 May 2026
- 2025FedDifRC: Unlocking the Potential of Text-to-Image Diffusion Models in Heterogeneous Federated Learning9 Jul 2025
- 2025DiffEx: Explaining a Classifier with Diffusion Models to Identify Microscopic Cellular Variations12 Feb 2025
- 2024Channel-aware Contrastive Conditional Diffusion for Multivariate Probabilistic Time Series Forecasting3 Oct 2024
- 2024LDMol: A Text-to-Molecule Diffusion Model with Structurally Informative Latent Space Surpasses AR Models28 May 2024
- 2023Diffusion Models for Image Restoration and Enhancement: A Comprehensive Survey18 Aug 2023
- 2023Glaze: Protecting Artists from Style Mimicry by Text-to-Image Models8 Feb 2023
- 2023Distilling Large Vision-Language Model with Out-of-Distribution Generalizabilitycited by 33
- 2024EEG-Language Pretraining for Highly Label-Efficient Clinical Phenotypingcited by 6
- 2024Vision Language Model is NOT All You Need: Augmentation Strategies for Molecule Language Modelscited by 3
- 2026SkinCLIP-VL: Consistency-Aware Vision-Language Learning for Multimodal Skin Cancer Diagnosiscited by 3
- 2024Understanding Multimodal Hallucination with Parameter-Free Representation Alignmentcited by 2
- 2026Variational Adapter for Cross-modal Similarity Representationcited by 1
- 2023Compositional Semantics for Open Vocabulary Spatio-semantic Representationscited by 0
- 2026Variational Adapter for Cross-modal Similarity Representation29 May 2026
- 2026SkinCLIP-VL: Consistency-Aware Vision-Language Learning for Multimodal Skin Cancer Diagnosis22 Mar 2026
- 2024EEG-Language Pretraining for Highly Label-Efficient Clinical Phenotyping2 Sep 2024
- 2024Understanding Multimodal Hallucination with Parameter-Free Representation Alignment2 Sep 2024
- 2024Vision Language Model is NOT All You Need: Augmentation Strategies for Molecule Language Models12 Jul 2024
- 2023Compositional Semantics for Open Vocabulary Spatio-semantic Representations8 Oct 2023
- 2023Distilling Large Vision-Language Model with Out-of-Distribution Generalizability6 Jul 2023
- 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 553
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2022MERLOT Reserve: Neural Script Knowledge through Vision and Language and Soundcited by 184
- 2022Balanced Contrastive Learning for Long-Tailed Visual Recognitioncited by 143
- 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
- 2023Similarity of Neural Network Models: A Survey of Functional and Representational Measurescited by 128
- 2023Segment Any Point Cloud Sequences by Distilling Vision Foundation Modelscited by 123
- 2021Can contrastive learning avoid shortcut solutions?cited by 114
- 2021An Empirical Study of Graph Contrastive Learningcited by 113
- 2023Jina Embeddings 2: 8192-Token General-Purpose Text Embeddings for Long Documentscited by 103
- 2021Towards the Generalization of Contrastive Self-Supervised Learningcited by 99
- 2023Self-Supervised Learning for Time Series Analysis: Taxonomy, Progress, and Prospectscited by 97
12 most cited of 371 All 371 (JSON)
- 2026Which Tasks Survive Self-Supervised Learning?29 Sep 2026
- 2026Advancing Wildlife Conservation through Multimodal Animal Re-Identification with Environmental Metadata28 Sep 2026
- 2026BELXTR: Biomedical Entity Linking via Contextualized Token Retrieval22 Sep 2026
- 2026Virtual neural networks: hundreds of souls in a body21 Sep 2026
- 2026Positive Pair Geometry Matters: Optimal Transport for Contrastive Learning of Visual Representations21 Sep 2026
- 2026TeMo: Temperature Modulation for Multimodal Contrastive Learning7 Sep 2026
- 2026REFINE: Trajectory Representation Learning via Closed-Loop Transcription -- Extended Version7 Sep 2026
- 2026Which Negatives Matter? Ask Your Text Encoder: Adaptive Similarity Margins for Dense-Caption Retrieval19 Aug 2026
- 2026CROSS: Cascaded Distillation and Dual-Constraint Grounding for Remote Sensing Referring Segmentation4 Aug 2026
- 2026SeCo-SBIR: Semantically Consistent Prompt Learning for Zero-Shot Sketch-Based Image Retrieval4 Aug 2026
- 2026On the modality gap and the contrastive loss in multi-modal representation learning12 Jul 2026
- 2026Robust Scene Transfer for PointGoal Navigation via Privileged Sensor Guided Contrastive Learning3 Jun 2026
12 newest of 371 All 371 (JSON)