Contrastive-Collapsed Loss for Flexible and Geometrically Optimal Embeddings and Faster Convergence

Blanca Cano-Camarero, Ángela Fernández-Pascual, José R. Dorronsoro
7/14/2026
cs.LG

No confident code implementation found for this paper.

Abstract

In this work, we introduce CoCo, a loss function aimed at learning normalized and well-structured representations. The proposed loss encourages intra-class collapse and inter-class contrast while preserving sufficient flexibility for neural networks to approximate geometrically optimal embeddings with large angular separation between classes.

Show full abstract

We provide a theoretical analysis positioning CoCo with respect to related objectives such as dot regression and cross-entropy, showing that the new proposed loss benefits from closer initialization to the optimal configuration, more informative gradients, and stronger incentives for class-wise representation collapse. Extensive experiments on diverse tabular datasets from the OpenML-CC18 benchmark show that CoCo achieves competitive performance with state-of-the-art methods, including kernel SVM, Random Forest, dot regression, and cross-entropy-based neural networks. In addition, both theoretical arguments and empirical analyses demonstrate that the proposal promotes tighter class clustering and faster convergence. These results highlight CoCo loss as an effective objective for learning discriminative representations while maintaining competitive predictive performance.

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{canocamarero2026contrastivecollapsed,
  title  = {Contrastive-Collapsed Loss for Flexible and Geometrically Optimal Embeddings and Faster Convergence},
  author = {Blanca Cano-Camarero and Ángela Fernández-Pascual and José R. Dorronsoro},
  year   = {2026},
  eprint = {2607.12916},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.12916v1}
}

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/2607.12916.svg)](https://codeofpaper.com/paper/2607.12916)

Discussion