Methods › General › Loss Functions › InfoNCE

InfoNCE

418 papers tagged archive 2025-07-28

archive 2025-07-28 Description, source and code snippet are the archive's method entry.

InfoNCE, where NCE stands for Noise-Contrastive Estimation, is a type of contrastive loss function used for self-supervised learning.

Given a set X ={x₁, …, x_N} of N random samples containing one positive sample from p(xₜ₊ₖ|cₜ) and N − 1 negative samples from the 'proposal' distribution p(xₜ₊ₖ), we optimize:

ℒ_N = - 𝔼_X[log(fₖ(xₜ₊ₖ, cₜ))/(∑_(xⱼ∈X)fₖ(xⱼ, cₜ))]

Optimizing this loss will result in fₖ(xₜ₊ₖ, cₜ) estimating the density ratio, which is:

fₖ(xₜ₊ₖ, cₜ) ∝(p(xₜ₊ₖ|cₜ))/(p(xₜ₊ₖ))

Source: Representation Learning with Contrastive Predictive CodingSee Code · jefflai108/Contrastive-Predictive-Coding-PyTorch

Papers archive 2025-07-28

30 shown of 418, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.

Tasks archive 2025-07-28

20 shown of 343 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 Learning172
Self-Supervised Learning110
Representation Learning104
Data Augmentation28
Retrieval27
Image Classification26
Transfer Learning25
image-classification18
Object Detection17
Semantic Segmentation17
Linear evaluation16
object-detection16
Self-Supervised Image Classification15
Classification13
General Classification11
Language Modelling11
Speech Recognition10
speech-recognition10
Automatic Speech Recognition9
Clustering9

Usage over time archive 2025-07-28

Papers per year tagged with InfoNCE: 2018 to 2025, peak 97 97 0 2018: 2 papers 2018 2019: 10 papers 2019 2020: 52 papers 2020 2021: 97 papers 2021 2022: 89 papers 2022 2023: 74 papers 2023 2024: 64 papers 2024 2025: 30 papers 2025
Papers per year the archive tags with this method, by the paper's archive date (418 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