Optimal Representations for Generalized Contrastive Learning with Imbalanced Datasets
Not on the map. Why?
Abstract (arXiv)
In this paper, we provide a computable characterization of the geometry of optimal representations in Contrastive Learning (CL) when the classes are imbalanced. When classes are balanced and the representation dimension is greater than the number of classes, it is well-known that the optimal representations exhibit Neural Collapse (NC), i.e., representations from the same class collapse to their class means and the class means form an Equiangular Tight Frame (ETF). For imbalanced classes and a large, generalized family of CL losses, we prove that the optimal representations of all samples from the same class collapse to their class means and their geometry exhibits an angular symmetry structure that is determined by the relative class proportions. In general, we show that the geometry can be determined by solving a convex optimization problem. Exploiting this symmetry structure, we analytically investigate a special case where class imbalance is extreme and prove that CL exhibits a phenomenon called Minority Collapse (MC) where all samples from the minority classes (classes with small probabilities) collapse into a single vector, whenever the class imbalance exceeds a threshold, which in turn depends on the regularity properties of the CL loss used and on the number of negative samples. Numerical results are provided to illustrate these phenomena and corroborate the theoretical results. We conclude by identifying a number of open problems.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 20 references that are in the map. First posted on arXiv 11 May 2026.
Builds on
17 of 20 references.
References · 17
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2020Supervised Contrastive Learningcited by 2,803
- 2021Convex optimizationcited by 2,479
- 2020Contrastive Learning with Hard Negative Samplescited by 619
- 2020A Survey on Contrastive Self-supervised Learningcited by 553
- 2021Exploring Deep Neural Networks via Layer-Peeled Model: Minority Collapse in Imbalanced Trainingcited by 166
- 2022Neural Collapse: A Review on Modelling Principles and Generalizationcited by 95
- 2021Dissecting Supervised Contrastive Learningcited by 64
- 2023Neural Collapse in Deep Linear Networks: From Balanced to Imbalanced Datacited by 40
- 2023Neural Collapse for Unconstrained Feature Model under Cross-entropy Loss with Imbalanced Datacited by 38
- 2024Neural Collapse for Cross-entropy Class-Imbalanced Learning with Unconstrained ReLU Feature Modelcited by 19
- 2022Supervised Contrastive Learning with Hard Negative Samplescited by 13
5 more
- 2023Hard-Negative Sampling for Contrastive Learning: Optimal Representation Geometry and Neural- vs Dimensional-Collapsecited by 6
- 2023Towards understanding neural collapse in supervised contrastive learning with the information bottleneck methodcited by 5
- 2023Symmetric Neural-Collapse Representations with Supervised Contrastive Loss: The Impact of ReLU and Batchingcited by 5
- 2024Supervised Contrastive Representation Learning: Landscape Analysis with Unconstrained Featurescited by 5
- 2018Monte Carlo Information Geometry: The dually flat casecited by 3
Built on by
Not cited yet.