atlas

Research map / Label-efficient and robust learning / Self-supervised and contrastive

$\mathbb{X}$-Sample Contrastive Loss: Improving Contrastive Learning with Sample Similarity Graphs

ICLR 2025 · Label-efficient and robust learning › Self-supervised and contrastive · approach: Inductive bias and minimal representations · 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.

Proposes X-CLR, a contrastive loss that replaces the one-hot positive target with a soft cross-sample similarity distribution derived from caption/class-name text embeddings, improving vision representations across ImageNet, CC3M and CC12M.

Problem

Standard contrastive losses encode a binary similarity graph (only one positive per sample) and ignore similarities across samples, limiting representation quality, especially for disambiguating objects from attributes and backgrounds.

Approach

Reinterpret contrastive losses as modifying a similarity graph, then replace the one-hot positive target in InfoNCE/SimCLR with a soft distribution obtained by softmax over text-encoder similarities between sample captions (or class-name captions), so that related samples are partially treated as positives.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use cross-sample class-label similarities instead of the SimCLR objectiveResNet-50 pretraining · ImageNetaccuracy: 63.4 -> 75.6Helped
Use cross-sample class-label similarities instead of SupConResNet-50 pretraining · ImageNet Realaccuracy: 79.7 -> 81.5Helped
Train with X-CLR instead of SimCLR on CC3MResNet-50 · ImageNetaccuracy: 57.0 -> 58.2Helped
Train with X-CLR instead of CLIP on CC3MResNet-50 · ImageNetaccuracy: 41.0 -> 58.2Helped
Train with X-CLR instead of CLIP on CC12MResNet-50 · ImageNet Realaccuracy: 66.1 -> 66.7Helped
Fine-tune pretrained SimCLR with X-CLR for 10 epochsPretrained SimCLR ResNet-50 · ImageNetaccuracy: 63.4 -> 66.5Helped
Replace the Sentence Transformer graph with a WordNet hierarchy-distance graph (ablation)X-CLR · ImageNet-9 Same Classaccuracy: 66.5 -> 55.7Hurt
Replace the Sentence Transformer graph with a CLIP text-encoder graph (ablation)X-CLR · ImageNet-9 Same Classaccuracy: 66.5 -> 67.5Helped
Replace the Sentence Transformer graph with a random per-sample-pair graph (ablation)X-CLR · ImageNetaccuracy: 75.6 -> 0.1Hurt
Increase CLIP training on CC3M from 32 to 100 epochs (ablation)CLIP · ImageNetaccuracy: 36.8 -> 41.0Helped
Increase the X-CLR soft-target temperature too much (ablation)X-CLR · ImageNetaccuracyHurt
Use higher-quality ImageNet class labels rather than noisy caption labels (ablation)X-CLR · MIT States Attributesaccuracy: 30.1 -> 30.9Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1k CC3M CC12M

Benchmarks: ImageNet ImageNet Real ImageNet-9 ObjectNet MIT States

Metrics: top-1 accuracy KNN accuracy linear probe accuracy label error intra-class connectivity

Baselines: SimCLR SupCon CLIP SCE ReSSL VICReg Barlow Twins

Builds on: SimCLR SupCon CLIP InfoNCE VICReg

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