arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.14749cs.CVcs.AIcs.LGmath.OC
收藏

一种理论驱动的对比表示学习自标注精化方法

A Theory-Driven Self-Labeling Refinement Method for Contrastive Representation Learning

Salesforce Research(赛富时研究院)

Pan Zhou, Caiming Xiong, Xiao-Tong Yuan, Steven Hoi

摘要:

对于图像查询,无监督对比学习将同一图像的裁剪标记为阳性,而将其他图像裁剪标记为阴性。虽然直观,这样的原生标签分配策略不能揭示查询与其肯定词和否定词之间的潜在语义相似性,并且损害性能,因为一些否定词在语义上与查询相似,或者甚至与查询共享相同的语义类。在这项工作中,我们首先证明了对比学习,不准确的标签分配严重损害其泛化语义实例歧视,而准确的标签有利于其泛化。受此启发,我们提出了一种新的自标记细化方法的对比学习。它通过两个互补的模块来提高标签质量:(i)自标记精炼(SLR)以生成准确的标签;(ii)动量混合(MM)以增强查询与其正面之间的相似性。SLR使用查询的肯定来估计查询与其肯定和否定之间的语义相似度,并将估计的相似度与对比学习中的香草标签分配相结合,以迭代地生成更准确和信息量更大的软标签。我们从理论上证明了我们的SLR可以准确地恢复标签损坏数据的真实语义标签,并监督网络在分类任务上实现零预测错误。MM随机组合查询和肯定,以增加生成的虚拟查询和它们的肯定之间的语义相似度,从而提高标签准确性。在CIFAR10、ImageNet、VOC和COCO上的实验结果表明了该方法的有效性。PyTorch代码和模型将在线发布。

英文摘要:

For an image query, unsupervised contrastive learning labels crops of the same image as positives, and other image crops as negatives. Although intuitive, such a native label assignment strategy cannot reveal the underlying semantic similarity between a query and its positives and negatives, and impairs performance, since some negatives are semantically similar to the query or even share the same semantic class as the query. In this work, we first prove that for contrastive learning, inaccurate label assignment heavily impairs its generalization for semantic instance discrimination, while accurate labels benefit its generalization. Inspired by this theory, we propose a novel self-labeling refinement approach for contrastive learning. It improves the label quality via two complementary modules: (i) self-labeling refinery (SLR) to generate accurate labels and (ii) momentum mixup (MM) to enhance similarity between query and its positive. SLR uses a positive of a query to estimate semantic similarity between a query and its positive and negatives, and combines estimated similarity with vanilla label assignment in contrastive learning to iteratively generate more accurate and informative soft labels. We theoretically show that our SLR can exactly recover the true semantic labels of label-corrupted data, and supervises networks to achieve zero prediction error on classification tasks. MM randomly combines queries and positives to increase semantic similarity between the generated virtual queries and their positives so as to improves label accuracy. Experimental results on CIFAR10, ImageNet, VOC and COCO show the effectiveness of our method. PyTorch code and model will be released online.

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

↑