Contrastive Learning Provably Inverts the Data Generating Process

Zimmermann, Sharma, Schneider, Bethge, Brendel · ICML 2021 (PMLR 139) · Tübingen / IMPRS-IS / EPFL

The claim, as a pipeline

Step through how data are generated and how InfoNCE inverts them.

InfoNCE on the sphere Illustrative

Fixed toy points on a circle (d=2). The softmax is the real InfoNCE form: score the positive against M negatives with dot products / τ.
L = −log [ exp(f(x)·f(x̃)/τ) / ( exp(f(x)·f(x̃)/τ) + Σi=1..M exp(f(x)·f(xi)/τ) ) ]  — features L2-normalised.

Why the minimizer is orthogonal

Step 1 → 3 of the proof, then test it: does a map preserve dot products?

Gram matrices of 8 latents Illustrative

Cell (i,j) = dot product of unit vectors. Identity of the two Gram matrices is exactly the condition from Proposition 1.

Reported results Reported (approx.)

Values as quoted on the episode (rounded, "about"). R² and MCC are percentages; higher is better.

What stays ambiguous Schematic

Residual ambiguity depends on assumed geometry. Tap a row.

Assumption audit Illustrative, qualitative

Qualitative summary of the episode's discussion, not measured scores. Hover or tap a cell.
Hover a cell.

References