atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

On the Similarities of Embeddings in Contrastive Learning

ICML 2025 · Label-efficient and robust learning › Recognition and long-tail · approach: Contrastive representation theory · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Unifies contrastive losses via cosine similarity statistics, showing full-batch excessive negative separation and that small mini-batches raise negative-pair similarity variance, and proposes a variance-reducing auxiliary loss (VRNS).

Problem

Existing theory on contrastive learning covers only specific losses and full-batch optima; it is unclear how negative-pair similarity behaves in full-batch versus mini-batch training, and why small batches hurt performance.

Approach

Analyze embedding similarities (mean and variance of positive/negative pair cosine similarity) for a broad class of InfoNCE-based and independently additive losses; show full-batch excessive separation of negatives when within-view negatives are omitted, and that mini-batch training inflates negative-similarity variance; add an auxiliary loss pushing negative similarities toward -1/(n-1).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add VRNS auxiliary loss to SimCLRSimCLR · CIFAR-100 (batch size 32)variance of negative-pair similarities: 0.1649 -> 0.1008Helped
Add VRNS auxiliary loss to SimCLRSimCLR · CIFAR-100 (batch size 64)variance of negative-pair similarities: 0.1505 -> 0.0952Helped
Add VRNS auxiliary loss to SimCLRSimCLR · CIFAR-100 (batch size 128)variance of negative-pair similarities: 0.1444 -> 0.0929Helped
Add VRNS auxiliary loss to SimCLRSimCLR · CIFAR-100 (batch size 256)variance of negative-pair similarities: 0.1404 -> 0.0921Helped
Add VRNS auxiliary loss to SimCLRSimCLR · CIFAR-100 (batch size 512)variance of negative-pair similarities: 0.1396 -> 0.0917Helped
Add VRNS auxiliary lossSimCLR · CIFAR-10 and CIFAR-100 (various temperatures)classification accuracyHelped
Add VRNS auxiliary lossSimCLR, DCL, and DHEL · CIFAR datasets (various batch sizes)top-1 classification accuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 ImageNet

Benchmarks: CIFAR-10 CIFAR-100 ImageNet

Metrics: top-1 classification accuracy variance of negative-pair similarities

Baselines: SimCLR DCL DHEL SigLIP

Builds on: InfoNCE SimCLR sigmoid contrastive loss (SigLIP) decoupled contrastive loss spectral contrastive loss

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy