arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.07960cs.LGstat.ML
收藏

使用监督对比损失的对称神经崩溃表示:ReLU和批处理的影响

Symmetric Neural-Collapse Representations with Supervised Contrastive Loss: The Impact of ReLU and Batching

University of California, Santa Barbara(加州大学圣巴巴拉分校);University of British Columbia(不列颠哥伦比亚大学)

Ganesh Ramachandra Kini, Vala Vakilian, Tina Behnia, Jaidev Gill, Christos Thrampoulidis

AI总结:

本文发现,在SCL的最终层引入ReLU激活,可在不损害测试准确性的情况下,有效恢复类别不平衡下学习表示的对称性,并提出了批绑定策略以确保该对称性。

摘要:

监督对比损失(SCL)是用于分类的交叉熵损失的一个具有竞争力且通常更优的替代方案。尽管先前的研究已经证明,在平衡数据下,两种损失都会产生对称的训练表示,但这种对称性在类别不平衡时会被打破。本文提出了一个有趣的发现:在最终层引入ReLU激活,有效地恢复了SCL学习表示中的对称性。我们通过分析得出了这一发现,证明了具有SCL损失和逐元素非负约束的无约束特征模型的全局极小化子构成一个正交框架。在多个数据集、架构和不平衡场景下进行的广泛实验证实了我们的发现。重要的是,我们的实验表明,包含ReLU激活能在不损害测试准确性的情况下恢复对称性。这是不平衡下SCL的首次几何特征刻画。此外,我们的分析和实验强调了批选择策略在表示几何中的关键作用。通过证明确保不变对称表示的小批量选择的必要和充分条件,我们引入了批绑定作为一种高效策略,以保证这些条件成立。

英文摘要:

Supervised contrastive loss (SCL) is a competitive and often superior alternative to the cross-entropy loss for classification. While prior studies have demonstrated that both losses yield symmetric training representations under balanced data, this symmetry breaks under class imbalances. This paper presents an intriguing discovery: the introduction of a ReLU activation at the final layer effectively restores the symmetry in SCL-learned representations. We arrive at this finding analytically, by establishing that the global minimizers of an unconstrained features model with SCL loss and entry-wise non-negativity constraints form an orthogonal frame. Extensive experiments conducted across various datasets, architectures, and imbalance scenarios corroborate our finding. Importantly, our experiments reveal that the inclusion of the ReLU activation restores symmetry without compromising test accuracy. This constitutes the first geometry characterization of SCL under imbalances. Additionally, our analysis and experiments underscore the pivotal role of batch selection strategies in representation geometry. By proving necessary and sufficient conditions for mini-batch choices that ensure invariant symmetric representations, we introduce batch-binding as an efficient strategy that guarantees these conditions hold.

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

↑