arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.08852cs.LG
收藏

监督对比学习与自监督对比学习之间的一致性研究

On the Alignment Between Supervised and Self-Supervised Contrastive Learning

Department of Computer Science and Engineering(计算机科学与工程系);Texas A&M University(德克萨斯农工大学)

Achleshwar Luthra, Priyadarsi Mishra, Tomer Galanti

AI总结:

本文研究自监督对比学习(CL)与监督替代损失(NSCL)在表示层面的对齐,证明其相似性矩阵在现实条件下保持接近,并指出参数空间耦合不稳定,实验验证对齐随规模和温度增强。

摘要:

自监督对比学习(CL)已取得显著的实证成功,其产生的表示在下游任务上往往能与监督预训练相媲美。近期理论通过证明随着类别数量的增长,CL损失紧密逼近一种监督替代损失——仅负样本监督对比学习(NSCL)损失,来解释这一现象。然而,这种损失层面的相似性留下了一个悬而未决的问题:在训练过程中,CL和NSCL是否不仅在目标上,而且在表示层面也保持对齐?我们通过分析在共享随机性(相同初始化、批次和增强)下训练的CL和NSCL模型的表示对齐来解决这一问题。首先,我们证明它们诱导的表示保持相似:具体而言,我们证明在现实条件下,CL和NSCL的相似性矩阵保持接近。我们的界限为对齐度量(如中心核对齐(CKA)和表征相似性分析(RSA))提供了高概率保证,并阐明了对齐如何随类别数增加、温度升高而改善,以及其对批次大小的依赖。相反,我们证明参数空间耦合本质上是不稳定的:CL和NSCL权重之间的发散可能随训练时间呈指数增长。最后,我们通过实验验证了这些预测,表明CL-NSCL对齐随规模和温度增强而加强,且NSCL比其他监督目标更紧密地跟踪CL。这将NSCL定位为自监督学习与监督学习之间的原则性桥梁。我们的代码和项目页面可在[代码](https://github.com/DLFundamentals/understanding_ssl_v2)和[项目页面](https://dlfundamentals.github.io/cl-nscl-representation-alignment/)获取。

英文摘要:

Self-supervised contrastive learning (CL) has achieved remarkable empirical success, often producing representations that rival supervised pre-training on downstream tasks. Recent theory explains this by showing that the CL loss closely approximates a supervised surrogate, Negatives-Only Supervised Contrastive Learning (NSCL) loss, as the number of classes grows. Yet this loss-level similarity leaves an open question: {\em Do CL and NSCL also remain aligned at the representation level throughout training, not just in their objectives?} We address this by analyzing the representation alignment of CL and NSCL models trained under shared randomness (same initialization, batches, and augmentations). First, we show that their induced representations remain similar: specifically, we prove that the similarity matrices of CL and NSCL stay close under realistic conditions. Our bounds provide high-probability guarantees on alignment metrics such as centered kernel alignment (CKA) and representational similarity analysis (RSA), and they clarify how alignment improves with more classes, higher temperatures, and its dependence on batch size. In contrast, we demonstrate that parameter-space coupling is inherently unstable: divergence between CL and NSCL weights can grow exponentially with training time. Finally, we validate these predictions empirically, showing that CL-NSCL alignment strengthens with scale and temperature, and that NSCL tracks CL more closely than other supervised objectives. This positions NSCL as a principled bridge between self-supervised and supervised learning. Our code and project page are available at [\href{https://github.com/DLFundamentals/understanding_ssl_v2}{code}, \href{https://dlfundamentals.github.io/cl-nscl-representation-alignment/}{project page}].

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

↑