arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.08573cs.LGcs.AIcs.CV

轮廓损失:深度表示的可微全局结构学习

Silhouette Loss: Differentiable Global Structure Learning for Deep Representations

Matheus Vinícius Todescato, Joel Luís Carbonera

AI总结:

本文提出Soft Silhouette Loss,通过全局结构学习提升深度表示的判别性,结合交叉熵和对比学习,实验证明其在多个数据集上有效提升性能且计算开销低。

摘要:

学习判别性表示是监督深度学习的核心目标。尽管交叉熵(CE)仍是分类任务的主要目标,但它并未显式强制嵌入空间中的理想几何属性,如类内紧凑性和类间分离性。现有度量学习方法,包括监督对比学习(SupCon)和基于代理的方法,通过操作成对或基于代理的关系来解决这一限制,但通常会增加计算成本和复杂性。在本文中,我们引入了Soft Silhouette Loss,一种受经典轮廓系数启发的新型可微目标。与成对目标不同,我们的公式评估每个样本与所有类别的关系,在批次层面提供全局结构的概念。所提出的目标直接鼓励样本更接近自己的类别而不是竞争类别,同时保持轻量级。Soft Silhouette Loss可以无缝结合交叉熵,并且也补充监督对比学习。我们提出了一种混合目标,整合它们,共同优化局部成对一致性和全局聚类结构。在七个多样化的数据集上进行了广泛的实验,结果表明:(i) 用Soft Silhouette Loss增强CE在CE和其他度量学习基线上一致表现更好;(ii) 混合公式优于SupCon单独使用;(iii) 组合方法在性能上最佳,将平均top-1准确率从36.71%(CE)和37.85%(SupCon2)提升到39.08%,同时计算开销显著降低。这些结果表明,经典聚类原理可以重新解释为深度学习的可微目标,使表示空间中局部和全局结构的高效优化成为可能。

英文摘要:

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 encourages samples to be closer to their own class than to competing classes, while remaining lightweight. Soft Silhouette Loss can be seamlessly combined with cross-entropy, and is also complementary to supervised contrastive learning. We propose a hybrid objective that integrates them, jointly optimizing local pairwise consistency and global cluster structure. Extensive experiments on seven diverse datasets demonstrate that: (i) augmenting CE with Soft Silhouette Loss consistently improves over CE and other metric learning baselines; (ii) the hybrid formulation outperforms SupCon alone; and (iii) the combined method achieves the best performance, improving average top-1 accuracy from 36.71% (CE) and 37.85% (SupCon2) to 39.08%, while incurring substantially lower computational overhead. These results suggest that classical clustering principles can be reinterpreted as differentiable objectives for deep learning, enabling efficient optimization of both local and global structure in representation spaces.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑