Methods › General › Loss Functions › Supervised Contrastive Loss

Supervised Contrastive Loss

76 papers tagged archive 2025-07-28

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.

Source: Supervised Contrastive LearningSee Code · HobbitLong/SupContrast

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.

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.

TaskPapers
Contrastive Learning49
Representation Learning22
Image Classification11
Classification5
Long-tail Learning5
Self-Supervised Learning5
image-classification5
Data Augmentation4
Semantic Segmentation4
Time Series4
Attribute3
Class Incremental Learning3
Continual Learning3
Diagnostic3
Domain Generalization3
Face Swapping3
Knowledge Distillation3
Transfer Learning3
Change Detection2
Decoder2

Usage over time archive 2025-07-28

Papers per year tagged with Supervised Contrastive Loss: 2020 to 2025, peak 21 21 0 2020: 2 papers 2020 2021: 21 papers 2021 2022: 16 papers 2022 2023: 18 papers 2023 2024: 15 papers 2024 2025: 4 papers 2025
Papers per year the archive tags with this method, by the paper's archive date (76 dated). Bars are counts, not a trend claim.

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

Loss Functions

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