Silhouette Loss: Differentiable Global Structure Learning for Deep Representations
Matheus Vin\'icius Todescato, Joel Lu\'is Carbonera

TL;DR
This paper introduces Soft Silhouette Loss, a differentiable clustering-inspired objective that enhances deep representations by explicitly optimizing global structure, and demonstrates its effectiveness when combined with cross-entropy and contrastive learning.
Contribution
The paper proposes a novel Soft Silhouette Loss that captures global structure in deep embedding spaces and can be integrated with existing loss functions for improved performance.
Findings
Augmenting cross-entropy with Soft Silhouette Loss improves accuracy.
Hybrid of Soft Silhouette Loss and supervised contrastive learning outperforms individual methods.
Combined approach achieves higher accuracy with lower computational overhead.
Abstract
Learning discriminative representations is a central goal of supervised deep learning. While cross-entropy (CE) remains the dominant objective for classification, it does not explicitly enforce desirable geometric properties in the embedding space, such as intra-class compactness and inter-class separation. Existing metric learning approaches, including supervised contrastive learning (SupCon) and proxy-based methods, address this limitation by operating on pairwise or proxy-based relationships, but often increase computational cost and complexity. In this work, we introduce Soft Silhouette Loss, a novel differentiable objective inspired by the classical silhouette coefficient from clustering analysis. Unlike pairwise objectives, our formulation evaluates each sample against all classes in the batch, providing a batch-level notion of global structure. The proposed loss directly…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
