atlas

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

Bridging Mini-Batch and Asymptotic Analysis in Contrastive Learning: From InfoNCE to Kernel-Based Losses

ICML 2024 · 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.

Shows that InfoNCE-family contrastive losses share hyperspherical-energy minimisers in the mini-batch and asymptotic regimes, and proposes DHEL and kernel contrastive learning (KCL) losses whose expectations are batch-size independent, evaluated with ResNet18/50 on CIFAR10/100, STL-10 and ImageNet-100.

Problem

Contrastive learning losses such as InfoNCE, SimCLR and DCL are poorly understood theoretically: their optima differ in mini-batch and asymptotic regimes, their expected losses depend on batch size, and they suffer from temperature sensitivity, small-batch reliance and dimensionality collapse.

Approach

Proves that InfoNCE-type losses share the regular-simplex mini-batch optimum and the uniform-on-sphere asymptotic optimum, introduces DHEL, which decouples the uniformity denominator from positives, and KCL, a kernel-based two-term loss whose expectation is independent of batch size so its minimisers can be identified non-asymptotically.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the InfoNCE denominator with a negative-only denominator (DHEL)Contrastive learning pretraining · CIFAR10, CIFAR100, STL-10, ImageNet-100median linear-evaluation accuracyHelped
Use Gaussian or logarithmic kernel contrastive loss instead of SimCLR or DCLContrastive learning pretraining · CIFAR10, CIFAR100, STL-10, ImageNet-100median linear-evaluation accuracyHelped
Use DHEL or kernel contrastive loss at small batch sizesContrastive learning pretraining · CIFAR10, CIFAR100, STL-10, ImageNet-100median linear-evaluation accuracyHelped
Use DHEL or kernel contrastive loss across tested hyperparameter valuesContrastive learning pretraining · CIFAR10, CIFAR100, STL-10, ImageNet-100accuracy variation across hyperparametersHelped
Use DHEL rather than competing methodsContrastive learning representations · CIFAR100rankHelped
Use Gaussian KCLContrastive learning representations · CIFAR10, CIFAR100, STL-10, ImageNet-100rankHelped
Use DHEL rather than the compared methodsContrastive learning representations · CIFAR10, CIFAR100uniformityHelped
Use SimCLR or DCL rather than DHELContrastive learning representations · CIFAR10, CIFAR100alignmentHelped
Increase temperatureContrastive learning methods · CIFAR10, CIFAR100linear-evaluation accuracyHurt
Vary temperatureGaussian KCL · CIFAR10, CIFAR100linear-evaluation accuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 CIFAR100 STL-10 ImageNet-100

Benchmarks: CIFAR10 CIFAR100 STL-10 ImageNet-100

Metrics: linear evaluation accuracy alignment uniformity rank effective rank Wasserstein distance between similarity distributions

Baselines: SimCLR DCL

Builds on: InfoNCE SimCLR DCL HSIC Neural collapse

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