A Theoretical Framework for Preventing Class Collapse in Supervised Contrastive Learning

Chungpa Lee, Jeongheon Oh, Kibok Lee, Jy-yong Sohn
3/11/2025
cs.LGcs.CV
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Supervised contrastive learning (SupCL) has emerged as a prominent approach in representation learning, leveraging both supervised and self-supervised losses. However, achieving an optimal balance between these losses is challenging; failing to do so can lead to class collapse, reducing discrimination among individual embeddings in the same class.

Show full abstract

In this paper, we present theoretically grounded guidelines for SupCL to prevent class collapse in learned representations. Specifically, we introduce the Simplex-to-Simplex Embedding Model (SSEM), a theoretical framework that models various embedding structures, including all embeddings that minimize the supervised contrastive loss. Through SSEM, we analyze how hyperparameters affect learned representations, offering practical guidelines for hyperparameter selection to mitigate the risk of class collapse. Our theoretical findings are supported by empirical results across synthetic and real-world datasets.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lee2025theoretical,
  title  = {A Theoretical Framework for Preventing Class Collapse in Supervised Contrastive Learning},
  author = {Chungpa Lee and Jeongheon Oh and Kibok Lee and Jy-yong Sohn},
  year   = {2025},
  eprint = {2503.08203},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.08203v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.08203.svg)](https://codeofpaper.com/paper/2503.08203)

Discussion