arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.08690cs.LG
收藏

带负采样校正的对比学习

Contrastive Learning with Negative Sampling Correction

Microsoft(微软);Microsoft 365(微软365);East China Normal University(华东师范大学)

Lu Wang, Chao Du, Pu Zhao, Chuan Luo, Zhangchi Zhu, Bo Qiao, Wei Zhang, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang, Qi Zhang

AI总结:

针对对比学习中负样本被正样本污染导致的偏差问题,本文提出正-无标签对比学习(PUCL),将负样本视为无标签样本并利用正样本信息校正损失,在图像和图分类任务上取得优于现有方法的性能。

摘要:

作为最有效的自监督表示学习方法之一,对比学习(CL)依赖多个负样本对与每个正样本对进行对比。在对比学习的标准实践中,数据增强方法被用于生成正样本对和负样本对。虽然现有工作一直专注于改进正采样,但负采样过程往往被忽视。事实上,生成的负样本经常被正样本污染,这会导致损失存在偏差并造成性能下降。为了校正负采样偏差,我们提出了一种新的对比学习方法,名为正-无标签对比学习(PUCL)。PUCL将生成的负样本视为无标签样本,并利用正样本的信息来校正对比损失中的偏差。我们证明了与无偏对比损失相比,PUCL中使用的校正损失只会产生可忽略的偏差。PUCL可应用于一般的对比学习问题,并在各种图像和图分类任务上优于最先进的方法。PUCL的代码在补充文件中。

英文摘要:

As one of the most effective self-supervised representation learning methods, contrastive learning (CL) relies on multiple negative pairs to contrast against each positive pair. In the standard practice of contrastive learning, data augmentation methods are utilized to generate both positive and negative pairs. While existing works have been focusing on improving the positive sampling, the negative sampling process is often overlooked. In fact, the generated negative samples are often polluted by positive samples, which leads to a biased loss and performance degradation. To correct the negative sampling bias, we propose a novel contrastive learning method named Positive-Unlabeled Contrastive Learning (PUCL). PUCL treats the generated negative samples as unlabeled samples and uses information from positive samples to correct bias in contrastive loss. We prove that the corrected loss used in PUCL only incurs a negligible bias compared to the unbiased contrastive loss. PUCL can be applied to general contrastive learning problems and outperforms state-of-the-art methods on various image and graph classification tasks. The code of PUCL is in the supplementary file.

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

↑