A Unified Geometric Framework for Weighted Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
Contrastive learning (CL) aims to preserve relational structure between samples by learning representations that reflect a similarity graph. Yet, the geometry of the resulting embeddings remains poorly understood. Here we show that weighted InfoNCE objectives can be interpreted as Distance Geometry Problems, where the weighting scheme specifies the target geometry to be realized by the representation. This viewpoint yields exact characterizations of the optimal embeddings for several supervised and weakly supervised objectives. In supervised classification, both SupCon and Soft SupCon (a dense relaxation of it where pairs from distinct classes have small non-zero similarity) collapse samples within each class to a single prototype. However, while balanced SupCon recovers the classical regular simplex geometry, class imbalance breaks this symmetry: SupCon induces non-uniform inter-class similarities depending on class sizes, whereas Soft SupCon preserves a regular simplex geometry regardless of class imbalance. In continuous-label settings, our framework reveals a different failure mode: y-Aware CL generally cannot attain its entropic optimum unless the labels lie on a hypersphere, exposing a mismatch between Euclidean label weights and spherical latent similarity. By contrast, geometrically consistent choices such as Euclidean-Euclidean weighting or X-CLR admit unique optimal embeddings. Our results show that the choice of weighting scheme determines whether contrastive learning is geometrically realizable, degenerate, or inconsistent, providing a principled framework for designing contrastive objectives.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 31 references that are in the map. First posted on arXiv 13 May 2026.
Builds on
22 of 31 references.
References · 22
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2020Supervised Contrastive Learningcited by 2,829
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
- 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 734
- 2019On Variational Bounds of Mutual Informationcited by 559
- 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
- 2019On Mutual Information Maximization for Representation Learningcited by 316
- 2021Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Losscited by 313
10 more
- 2022Contrastive and Non-Contrastive Self-Supervised Learning Recover Global and Local Spectral Embedding Methodscited by 149
- 2022Learnable latent embeddings for joint behavioral and neural analysiscited by 117
- 2022Understanding Contrastive Learning Requires Incorporating Inductive Biasescited by 96
- 2022Rank-N-Contrast: Learning Continuous Representations for Regressioncited by 76
- 2021Dissecting Supervised Contrastive Learningcited by 64
- 2021Contrastive Learning with Continuous Proxy Meta-Data for 3D MRI Classificationcited by 49
- 2022A Theoretical Study of Inductive Biases in Contrastive Learningcited by 40
- 2022Contrastive learning for regression in multi-site brain age predictioncited by 14
- 2024mathbbX-Sample Contrastive Loss: Improving Contrastive Learning with Sample Similarity Graphscited by 9
- 2024Supervised Contrastive Representation Learning: Landscape Analysis with Unconstrained Featurescited by 5
Built on by
Not cited yet.