arXiv:2610.32039cs.LGOct 2026

Manuscript Offprint

arXiv:2610.32039

Rethinking Representation Geometry in Supervised Contrastive Learning under Long-Tailed Data

Joonhyeok Jeong, Jy-yong Sohn, Kibok Lee

ABSTRACT

Supervised contrastive learning and its balanced variants have demonstrated their effectiveness for representation learning under long-tailed distributions. However, although prior analyses suggest that their optimal representations may exhibit a regular simplex geometry, whether such a geometry is indeed exhibited remains insufficiently understood. In this work, we present a theoretical framework for these objectives that characterizes whether a regular simplex is formed at the optimum. By applying this to representative objectives, we show that these objectives fail to form a regular simplex at the optimum because they remain dependent on the number of samples per class. Motivated by this analysis, we introduce structural balancing that can be applied to contrastive objectives, and propose a fully balanced contrastive objective that provably forms a regular simplex geometry at its optimum. Both theoretical and empirical results demonstrate that the proposed method yields a more balanced representation space and improves performance on long-tailed recognition and transfer learning tasks.

1 INTRODUCTION

Deep learning has achieved remarkable success over the past decade, yet much of this progress relies on highly curated, balanced datasets (Krizhevsky, 2009; Deng et al., 2009), while real-world data often exhibit long-tailed distributions, in which a small number of head classes are represented by abundant samples while a large number of tail classes contain only a few samples (Van Horn et al., 2018). Models trained under such long-tailed distributions tend to learn skewed decision boundaries, which in turn degrades generalization performance on tail classes (Cao et al., 2019; Ren et al., 2020).

Supervised contrastive objectives have shown promising results in learning representations from long-tailed distributions (Kang et al., 2021; Wang et al., 2021; Cui et al., 2021; Li et al., 2022b; Zhu et al., 2022; Cui et al., 2023; Hou et al., 2023; Du et al., 2024; De Alvis et al., 2025; Yi et al., 2025). As in balanced distributions (Graf et al., 2021; Yi et al., 2026), characterizing an optimum of a loss is important for understanding the representation geometry the loss favors. However, the representation spaces induced at the minimum of these objectives remain insufficiently understood under long-tailed distributions. Among existing methods, balanced contrastive learning (BCL) (Zhu et al., 2022) showed that the loss is minimized if and only if the class centers form a regular simplex, suggesting that the ideal geometry remains optimal even under long-tailed distributions.

In this paper, we establish a theoretical framework for determining whether a regular simplex is a global minimizer of a supervised contrastive objective under long-tailed distributions. We first reduce the analysis from the feature space to the class-wise center space by deriving a lower bound of the loss, whose equality condition corresponds to class collapse. We then show that a center configuration that does not minimize the lower bound cannot minimize the original loss. Finally, we derive a condition that the lower bound must satisfy for a regular simplex to be its minimizer. We apply this framework to two widely used objectives for long-tailed recognition, SCL (Khosla et al., 2020) and BCL, and prove that the regular simplex is not a global minimizer of either loss. Fig. 1 shows this behavior with ImageNet samples.

We further investigate why this result holds by examining how class imbalance affects the loss. From a balancing perspective, SCL and BCL adjust the loss only within the contrastive loss defined for each anchor, the sample for which the contrastive loss is computed. Consequently, as the losses

Figure

SCL

BCL

(a) 1:1:1

FBCL (Ours)

SCL

BCL

(b) 1000:10:1

FBCL (Ours)

Figure 1: Visualizations of embedding spaces learned by three contrastive objectives (SCL, BCL, and FBCL) on a subset of ImageNet: three random classes sampled under (a) a balanced setting and (b) an imbalanced setting with class cardinality ratios of 1:1:1 and 1000:10:1, respectively. Angles are measured between class centers. Under (a), all three methods form a regular simplex; under (b), only FBCL forms it, whereas SCL and BCL fail.

for individual anchors are aggregated into the overall loss, the absence of balancing this aggregation leaves the loss dependent on the number of samples per class. This dependence is inherited by the lower bound, preventing the regular simplex from being a minimizer of the objective. Motivated by this observation, we present structural balancing, a method applicable to supervised contrastive objectives that balances the aggregation across anchors and removes the remaining dependence on the number of samples per class. Based on structural balancing, we propose Fully Balanced Contrastive Learning (FBCL), whose global minimizer is a regular simplex.

We also analyze the effect of structural balancing on the representation space by examining how the loss penalizes the intra-class variance of each class as the loss is minimized. Under SCL and BCL, the coefficient of the intra-class variance penalty is approximately proportional to class frequency, whereas under FBCL it is approximately independent of it. This suggests more balanced contraction across classes, which is further supported by our empirical analysis of intra-class variance. We further evaluate FBCL with other contrastive objectives and apply structural balancing to other long-tailed recognition methods. Results show that FBCL and structural balancing can be effectively combined with other methods and improve their performance.

Our main contributions are summarized as follows:

• We establish a framework for determining whether a regular simplex is a global minimizer of a supervised contrastive objective under long-tailed distributions. Applying this framework to SCL and BCL, we prove that the regular simplex is a global minimizer of neither loss.

• We observe that this failure occurs as a result of the remaining dependence on the number of samples per class in the loss. Based on this observation, we present structural balancing and propose Fully Balanced Contrastive Learning (FBCL), whose loss removes this dependence and admits the regular simplex as its global minimizer.

• We empirically evaluate FBCL on long-tailed recognition and transfer learning, and further examine structural balancing in combination with other methods. The results show consistent improvements in classification accuracy and transferability across these settings.

References (66)