Methods › General › Loss Functions › Supervised Contrastive Loss
Supervised Contrastive Loss
archive 2025-07-28 Description, source and code snippet are the archive's method entry.
Supervised Contrastive Loss is an alternative loss function to cross entropy that the authors argue can leverage label information more effectively. Clusters of points belonging to the same class are pulled together in embedding space, while simultaneously pushing apart clusters of samples from different classes.
ℒˢᵘᵖ=∑ᵢ₌₁²ᴺℒᵢˢᵘᵖ
ℒᵢˢᵘᵖ=(-1)/(2N_(ỹᵢ)-1)∑ⱼ₌₁²ᴺ1_(i≠j)·1_(ỹᵢ=ỹⱼ)·log(exp(zᵢ·zⱼ/τ))/(∑ₖ₌₁²ᴺ1_(i≠k)·exp(zᵢ·zₖ/τ))
where N_(ỹᵢ) is the total number of images in the minibatch that have the same label, ỹᵢ, as the anchor, i. This loss has important properties well suited for supervised learning: (a) generalization to an arbitrary number of positives, (b) contrastive power increases with more negatives.
In Syntology name not resolved (unknown_name). The lookup matched no method, paper or venue by this name; that asserts nothing about whether code exists.
Near matches the lookup lists, each a different name: Contrastive-to-Self-Supervised; supervised contrastive framework; Supervised Contrastive Pre-training; SELF-SUPERVISED CONTRASTIVE LEARNING; SELF-SUPERVISED CONTRASTIVE LEARNING; Contrastive Self-Supervised Learning; Supervised Graph Contrastive Learning; Fair Supervised Contrastive Loss (FSCL).
Syntology's have check for this name (free, it answers coverage only), read 2026-10-05; ask it again live. A level is the served verification level of that one answer; nothing here is summed across methods.
Papers archive 2025-07-28
archive papers tagged: 76 · with a code link: 38 · where Syntology ran a sample: 11 (10 with a run with no instrument failure, 1 where every run was a failure of Syntology's instrument) Syntology
Show: all tagged papersonly where code ran (11 of 76 tagged: 10 with a run with no instrument failure, 1 where every run was a failure of Syntology's instrument)
Page 1 of 1: papers 1 to 76 of 76, newest first by the archive's date (ties by slug), in archive order.
Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code, as “N ran (of which C constructed an object rather than computing a result; K with no instrument failure: H honoured, V violated, P with no contract checked; I where Syntology's instrument failed) · U unverified”; the instrument figure counts failures of Syntology's instrument, not of the code. It is per sample and not a correctness claim. When the archive marks a repository official for the paper, the line starts with that repository's state (the archive's flag, not a verdict on who wrote the code; “community repositories only” when every sample that ran came from a community repository, “official: no sample here; runs from other or unrecorded repositories” when some came from a repository the paper names or has in its text, or from none recorded); hover it for the repositories the samples that ran came from.
-
Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning 4 Jun 2025 · 0 repositories · arXiv:2506.04411
-
MSA-UNet3+: Multi-Scale Attention UNet3+ with New Supervised Prototypical Contrastive Loss for Coronary DSA Image Segmentation 7 Apr 2025 · 0 repositories · arXiv:2504.05184
-
DFCon: Attention-Driven Supervised Contrastive Learning for Robust Deepfake Detection 28 Jan 2025 · 0 repositories · arXiv:2501.16704
-
An Inclusive Theoretical Framework of Robust Supervised Contrastive Loss against Label Noise 2 Jan 2025 · 0 repositories · arXiv:2501.01130
-
Transformer-Based Contrastive Meta-Learning For Low-Resource Generalizable Activity Recognition 28 Dec 2024 · 0 repositories · arXiv:2412.20290
-
Multi-Label Contrastive Learning : A Comprehensive Study 27 Nov 2024 · 1 repository · arXiv:2412.00101
-
JEMA: A Joint Embedding Framework for Scalable Co-Learning with Multimodal Alignment 31 Oct 2024 · 0 repositories · arXiv:2410.23988
-
FedCCRL: Federated Domain Generalization with Cross-Client Representation Learning 15 Oct 2024 · 1 repository · arXiv:2410.11267
-
A Unified Contrastive Loss for Self-Training 11 Sep 2024 · 0 repositories · arXiv:2409.07292
-
Out of spuriousity: Improving robustness to spurious correlations without group annotations 20 Jul 2024 · 0 repositories · arXiv:2407.14974
-
ETSCL: An Evidence Theory-Based Supervised Contrastive Learning Framework for Multi-modal Glaucoma Grading 19 Jul 2024 · 1 repository · arXiv:2407.14230
-
Exploring Multi-view Pixel Contrast for General and Robust Image Forgery Localization 19 Jun 2024 · 1 repository · arXiv:2406.13565
-
Unleashing the Potential of Open-set Noisy Samples Against Label Noise for Medical Image Classification 18 Jun 2024 · 0 repositories · arXiv:2406.12293
-
Taxes Are All You Need: Integration of Taxonomical Hierarchy Relationships into the Contrastive Loss 10 Jun 2024 · 0 repositories · arXiv:2406.06848
-
Classification of Breast Cancer Histopathology Images using a Modified Supervised Contrastive Learning Method 6 May 2024 · 1 repository · arXiv:2405.03642
-
DACAD: Domain Adaptation Contrastive Learning for Anomaly Detection in Multivariate Time Series 17 Apr 2024 · 1 repository · arXiv:2404.11269Syntology official (archive's flag): 1 ran · 1 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 1 honoured, 0 violated, 0 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified (of 1 harvested sample)
-
Fair Graph Neural Network with Supervised Contrastive Regularization 9 Apr 2024 · 0 repositories · arXiv:2404.06090
-
Time Series Representation Learning with Supervised Contrastive Temporal Transformer 16 Mar 2024 · 1 repository · arXiv:2403.10787
-
Neighborhood-Enhanced Supervised Contrastive Learning for Collaborative Filtering 18 Feb 2024 · 1 repository · arXiv:2402.11523Syntology 2 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified (of 2 harvested samples)
-
Medical Report Generation based on Segment-Enhanced Contrastive Representation Learning 26 Dec 2023 · 0 repositories · arXiv:2312.15869
-
Long-Tail Learning with Rebalanced Contrastive Loss 4 Dec 2023 · 0 repositories · arXiv:2312.01753
-
Contrastive Learning of View-Invariant Representations for Facial Expressions Recognition 12 Nov 2023 · 0 repositories · arXiv:2311.06852
-
Understanding writing style in social media with a supervised contrastively pre-trained transformer 17 Oct 2023 · 1 repository · arXiv:2310.11081
-
Semi-Supervised End-To-End Contrastive Learning For Time Series Classification 13 Oct 2023 · 0 repositories · arXiv:2310.08848
-
Continual Contrastive Spoken Language Understanding 4 Oct 2023 · 0 repositories · arXiv:2310.02699
-
SALSA: Semantically-Aware Latent Space Autoencoder 4 Oct 2023 · 0 repositories · arXiv:2310.02744
-
When hard negative sampling meets supervised contrastive learning 28 Aug 2023 · 0 repositories · arXiv:2308.14893
-
RAHNet: Retrieval Augmented Hybrid Network for Long-tailed Graph Classification 4 Aug 2023 · 0 repositories · arXiv:2308.02335
-
Contrastive Learning for API Aspect Analysis 31 Jul 2023 · 2 repositories · arXiv:2307.16878
-
Neural Memory Decoding with EEG Data and Representation Learning 25 Jul 2023 · 0 repositories · arXiv:2307.13181
-
SCOL: Supervised Contrastive Ordinal Loss for Abdominal Aortic Calcification Scoring on Vertebral Fracture Assessment Scans 22 Jul 2023 · 1 repository · arXiv:2307.12006
-
Towards Robust Feature Learning with t-vFM Similarity for Continual Learning 4 Jun 2023 · 0 repositories · arXiv:2306.02335
-
Balanced Supervised Contrastive Learning for Few-Shot Class-Incremental Learning 26 May 2023 · 0 repositories · arXiv:2305.16687
-
Unsupervised CD in satellite image time series by contrastive learning and feature tracking 22 Apr 2023 · 0 repositories · arXiv:2304.11375
-
EMS-Net: Efficient Multi-Temporal Self-Attention For Hyperspectral Change Detection 24 Mar 2023 · 0 repositories · arXiv:2303.13753
-
WDiscOOD: Out-of-Distribution Detection via Whitened Linear Discriminant Analysis 14 Mar 2023 · 1 repository · arXiv:2303.07543Syntology official (archive's flag): 6 ran · 6 ran (of which 4 constructed an object rather than computing a result; 5 with no instrument failure: 1 honoured, 0 violated, 4 with no contract checked; 1 where Syntology's instrument failed) · 1 unverified (of 7 harvested samples) · 7 pointer-only (licence)
-
Multi-View Action Recognition Using Contrastive Learning 3 Jan 2023 · 1 repository
-
Unbiased Supervised Contrastive Learning 10 Nov 2022 · 1 repository · arXiv:2211.05568Syntology official (archive's flag): 1 ran · 1 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified (of 1 harvested sample)
-
Discriminative Speaker Representation via Contrastive Learning with Class-Aware Attention in Angular Space 29 Oct 2022 · 0 repositories · arXiv:2210.16622
-
Generalized Parametric Contrastive Learning 26 Sep 2022 · 4 repositories · arXiv:2209.12400
-
PointCAT: Contrastive Adversarial Training for Robust Point Cloud Recognition 16 Sep 2022 · 0 repositories · arXiv:2209.07788
-
Semi-Supervised Domain Adaptation by Similarity based Pseudo-label Injection 5 Sep 2022 · 1 repository · arXiv:2209.01881
-
Supervised Contrastive Learning to Classify Paranasal Anomalies in the Maxillary Sinus 5 Sep 2022 · 0 repositories · arXiv:2209.01937
-
Object Discovery via Contrastive Learning for Weakly Supervised Object Detection 16 Aug 2022 · 1 repository · arXiv:2208.07576
-
Supervised Contrastive Learning Approach for Contextual Ranking 7 Jul 2022 · 0 repositories · arXiv:2207.03153
-
Generalized Supervised Contrastive Learning 1 Jun 2022 · 0 repositories · arXiv:2206.00384
-
Global-Supervised Contrastive Loss and View-Aware-Based Post-Processing for Vehicle Re-Identification 17 Apr 2022 · 0 repositories · arXiv:2204.07943
-
Fair Contrastive Learning for Facial Attribute Classification 30 Mar 2022 · 1 repository · arXiv:2203.16209Syntology official: harvested, nothing ran · 0 ran · 1 unverified (of 1 harvested sample) · 1 pointer-only (licence)
-
Alignment-Uniformity aware Representation Learning for Zero-shot Video Classification 29 Mar 2022 · 1 repository · arXiv:2203.15381Syntology official (archive's flag): 2 ran · 2 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 1 where Syntology's instrument failed) · 3 unverified (of 5 harvested samples) · 5 pointer-only (licence)
-
Rebalanced Siamese Contrastive Mining for Long-Tailed Recognition 22 Mar 2022 · 2 repositories · arXiv:2203.11506
-
Supervised Contrastive Learning with Structure Inference for Graph Classification 15 Mar 2022 · 0 repositories · arXiv:2203.07691
-
Consistent Representation Learning for Continual Relation Extraction 5 Mar 2022 · 1 repository · arXiv:2203.02721Syntology official (archive's flag): 5 ran · 7 ran (of which 4 constructed an object rather than computing a result; 6 with no instrument failure: 2 honoured, 0 violated, 4 with no contract checked; 1 where Syntology's instrument failed) · 5 unverified (of 12 harvested samples) · 12 pointer-only (licence)
-
CAST: Character labeling in Animation using Self-supervision by Tracking 19 Jan 2022 · 1 repository · arXiv:2201.07619
-
Contrast and Generation Make BART a Good Dialogue Emotion Recognizer 21 Dec 2021 · 1 repository · arXiv:2112.11202
-
Smooth-Swap: A Simple Enhancement for Face-Swapping with Smoothness 11 Dec 2021 · 0 repositories · arXiv:2112.05907
-
Contrastive Continual Learning with Feature Propagation 3 Dec 2021 · 0 repositories · arXiv:2112.01713
-
GCR: Gradient Coreset Based Replay Buffer Selection For Continual Learning 18 Nov 2021 · 0 repositories · arXiv:2111.11210
-
Learning Temporally Causal Latent Processes from General Temporal Data 11 Oct 2021 · 2 repositories · arXiv:2110.05428Syntology community repositories only · 5 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 1 where Syntology's instrument failed) · 1 unverified (of 6 harvested samples)
-
SCEHR: Supervised Contrastive Learning for Clinical Risk Prediction using Electronic Health Records 11 Oct 2021 · 1 repository · arXiv:2110.04943
-
MC-LCR: Multi-modal contrastive classification by locally correlated representations for effective face forgery detection 7 Oct 2021 · 0 repositories · arXiv:2110.03290
-
Counterfactual Samples Synthesizing and Training for Robust Visual Question Answering 3 Oct 2021 · 1 repository · arXiv:2110.01013
-
The Details Matter: Preventing Class Collapse in Supervised Contrastive Learning 29 Sep 2021 · 0 repositories
-
Weakly Supervised Contrastive Learning for Chest X-Ray Report Generation 25 Sep 2021 · 1 repository · arXiv:2109.12242
-
SupCL-Seq: Supervised Contrastive Learning for Downstream Optimized Sequence Representations 15 Sep 2021 · 1 repository · arXiv:2109.07424
-
Imposing Relation Structure in Language-Model Embeddings Using Contrastive Learning 2 Sep 2021 · 1 repository · arXiv:2109.00840
-
Parametric Contrastive Learning 26 Jul 2021 · 5 repositories · arXiv:2107.12028Syntology official (archive's flag): 1 ran · 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 2 unverified; the one sample that ran constructed an object rather than computing a result (of 3 harvested samples) · 1 pointer-only (licence)
-
Contrastive Learning of Generalized Game Representations 18 Jun 2021 · 1 repository · arXiv:2106.10060
-
Heterogeneous Contrastive Learning 19 May 2021 · 1 repository · arXiv:2105.09401
-
ConCAD: Contrastive Learning-based Cross Attention for Sleep Apnea Detection 7 May 2021 · 0 repositories · arXiv:2105.03037
-
With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representations 29 Apr 2021 · 4 repositories · arXiv:2104.14548Syntology 4 ran (of which 4 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 0 where Syntology's instrument failed) · 1 unverified; every one of the 4 samples that ran constructed an object rather than computing a result (of 5 harvested samples)
-
Distilling Audio-Visual Knowledge by Compositional Contrastive Learning 22 Apr 2021 · 1 repository · arXiv:2104.10955Syntology official: harvested, nothing ran · 0 ran · 1 unverified (of 1 harvested sample)
-
Contrastive Learning based Hybrid Networks for Long-Tailed Image Classification 26 Mar 2021 · 0 repositories · arXiv:2103.14267
-
UniMoCo: Unsupervised, Semi-Supervised and Full-Supervised Visual Representation Learning 19 Mar 2021 · 1 repository · arXiv:2103.10773
-
Unleashing the Power of Contrastive Self-Supervised Visual Models via Contrast-Regularized Fine-Tuning 12 Feb 2021 · 1 repository · arXiv:2102.06605Syntology official (archive's flag): 1 ran · 1 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 1 unverified (of 2 harvested samples) · 2 pointer-only (licence)
-
One-Shot Recognition of Manufacturing Defects in Steel Surfaces 12 May 2020 · 1 repository · arXiv:2005.05815
-
Supervised Contrastive Learning 23 Apr 2020 · 26 repositories · arXiv:2004.11362Syntology community repositories only · 17 ran (of which 0 constructed an object rather than computing a result; 12 with no instrument failure: 2 honoured, 0 violated, 10 with no contract checked; 5 where Syntology's instrument failed) · 6 unverified (of 23 harvested samples) · 5 pointer-only (licence)
Tasks archive 2025-07-28
20 shown of 132 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.
Usage over time archive 2025-07-28
Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).
Categories archive 2025-07-28
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections