Skip to main content

Envisioning is an emerging technology research institute and advisory.

LinkedInInstagramGitHub

Since 2010

research
  • Observatory
  • Adaptive capacity
  • Newsletter
  • Methodology
  • Origins
  • Vocab
  • RSS feeds
services
  • Signals Session
  • Bespoke Projects
  • Build Sessions
  • Pricing
  • Use cases
  • Signals
  • Signal Scan↗free
impact
  • ANBIMAFuture of Brazilian Capital Markets
  • IEEECharting the Energy Transition
  • Horizon 2045Future of Human and Planetary Security
  • WKOTechnology Scanning for Austria
solutions
  • Innovation
  • Strategy
  • Consultants
  • Foresight
  • Associations
  • Governments
  • L&D
resources
  • Partners
  • Coding for Non-Coders
  • How we work
  • Data visualization
  • Multi-Model Convergence
  • FAQ
  • Security and privacy
  • Public sector
about
  • Manifesto
  • Community
  • Events
  • Support
  • Contact
ResearchCapabilityServicesSignalsAbout
ResearchCapabilityServicesSignalsAbout
  1. Home
  2. Vocab
  3. InfoNCE

InfoNCE

Contrastive loss function that lower-bounds mutual information between related pairs by using categorical cross-entropy over positive and negative samples; foundational for self-supervised representation learning.

Year: 2018Generality: 850Added: Aug 29, 2026
Back to Vocab

InfoNCE (Information Noise-Contrastive Estimation) is a contrastive loss function introduced by van den Oord, Li, and Vinyals (DeepMind, 2018). It lower-bounds the mutual information between two related views of data, typically (context, future), (anchor, positive), or (sample, augmented sample), by reformulating the mutual information bound as a categorical cross-entropy over a positive sample against a set of negative samples drawn from a proposal distribution.

The loss takes the form -E[log(f_k / sum_j f_j)], where f_k is the unnormalized similarity score between the positive pair and f_j ranges over the negative samples. InfoNCE is bounded above by log(N), where N is the number of negative samples. Increasing the number of negatives tightens the bound on the true mutual information.

InfoNCE is the loss used in nearly all modern self-supervised and contrastive learning methods. It was first applied in Contrastive Predictive Coding (CPC) for audio and image representations, then adopted by SimCLR, MoCo, CLIP, and the family of contrastive vision-language models. The loss is closely related to MINE, since both estimate mutual information through gradient-based optimization. InfoNCE uses a multi-sample classification objective (N-way softmax) rather than the Donsker-Varadhan bound, which makes it simpler to implement, less biased, and easier to scale to large embedding spaces.

The canonical paper is "Representation Learning with Contrastive Predictive Coding," arXiv:1807.03748 (July 2018).

Sources

  1. Representation Learning with Contrastive Predictive Coding

    arXiv (DeepMind) · Jul 10, 2018

  2. MINE: Mutual Information Neural Estimation

    arXiv (Mila) · Jan 12, 2018

  3. InfoNCE Loss Provably Learns Cluster-Preserving Representations

    arXiv · Feb 15, 2023

Research this in Signals

Scan InfoNCE for yourself.

Signals turns a topic into a sourced research record you can inspect and rerun. Your first scan is free, and this one starts with InfoNCE already loaded, so edit it or scan as is.