arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.03486stat.MLcs.LG

对比学习的紧PAC-Bayesian风险证书

Tight PAC-Bayesian Risk Certificates for Contrastive Learning

LTCI, Télécom Paris, Institut Polytechnique de Paris(LTCI,巴黎电信学院,巴黎高等理工学院);School of Computation Information and Technology, Technical University of Munich(计算信息与技术学院,慕尼黑技术大学)

Anna Van Elst, Debarghya Ghoshdastidar

AI总结:

本文提出紧PAC-Bayesian风险证书,针对对比学习中的依赖性和SimCLR框架,改进了对比损失和下游预测的界。

摘要:

对比表示学习是一种通过增强来学习未标记数据表示的现代范式——具体来说,对比模型学习将语义相似的样本对(正样本对)嵌入得比独立抽取的样本对(负样本)更近。尽管其经验成功和在基础模型中的广泛应用,对比学习的统计理论仍较少被探索。最近的工作开发了对比损失的一般化误差界,但所得的风险证书要么是空的(基于Rademacher复杂度或f-分歧的证书)要么需要对样本做出强假设,这些在实践中是不合理的。本文开发了针对对比表示学习的非空PAC-Bayesian风险证书,考虑了流行SimCLR框架的实践因素。值得注意的是,我们考虑到SimCLR重用增强数据的正样本对作为其他数据的负样本,从而诱导了强依赖性,使得经典PAC或PAC-Bayesian界不适用。我们进一步通过纳入SimCLR特定因素(包括数据增强和温度缩放)来细化现有对下游分类损失的界,推导出对比零一风险的风险证书。所得的对比损失和下游预测的界比之前的风险证书要紧密得多,如在CIFAR-10上的实验所展示的那样。

英文摘要:

Contrastive representation learning is a modern paradigm for learning representations of unlabeled data via augmentations -- precisely, contrastive models learn to embed semantically similar pairs of samples (positive pairs) closer than independently drawn samples (negative samples). In spite of its empirical success and widespread use in foundation models, statistical theory for contrastive learning remains less explored. Recent works have developed generalization error bounds for contrastive losses, but the resulting risk certificates are either vacuous (certificates based on Rademacher complexity or $f$-divergence) or require strong assumptions about samples that are unreasonable in practice. The present paper develops non-vacuous PAC-Bayesian risk certificates for contrastive representation learning, considering the practical considerations of the popular SimCLR framework. Notably, we take into account that SimCLR reuses positive pairs of augmented data as negative samples for other data, thereby inducing strong dependence and making classical PAC or PAC-Bayesian bounds inapplicable. We further refine existing bounds on the downstream classification loss by incorporating SimCLR-specific factors, including data augmentation and temperature scaling, and derive risk certificates for the contrastive zero-one risk. The resulting bounds for contrastive loss and downstream prediction are much tighter than those of previous risk certificates, as demonstrated by experiments on CIFAR-10.

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

↑