arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.07387cs.CV
收藏

基于相似度协同校准的半监督对比学习

Semi-supervised Contrastive Learning with Similarity Co-calibration

Shanghai Jiao Tong University(上海交通大学);Huawei Inc.(华为公司)

Yuhang Zhang, Xiaopeng Zhang, Robert. C. Qiu, Jie Li, Haohang Xu, Qi Tian

摘要:

半监督学习是利用大量未标记数据的有效方法。在本文中,我们提出了一种新的训练策略,称为半监督对比学习(SsCL),它结合了著名的对比损失在自监督学习和交叉熵损失在半监督学习,并联合优化这两个目标在一个端到端的方式。与基于自训练的半监督学习对相同模型权值进行预测和再训练不同,SsCL在两个分支之间交换了对未标记数据的预测,从而制定了一个协同校准过程,我们发现这有利于更好地预测并避免陷入局部最小值。为了实现这个目标,对比损失分支使用从交叉熵分支生成的最近邻域对样本之间的成对相似性进行建模,并且进而用对比相似性校准交叉熵分支的预测分布。我们表明,SsCL产生更多的歧视性表示,是有益的少样本学习。值得注意的是,在以ResNet 50为主干的ImageNet上,SsCL分别在1%和10%的标记样本中实现了60.2%和72.1%的top-1准确率,显著优于基线,并且优于以前的半监督和自监督方法。

英文摘要:

Semi-supervised learning acts as an effective way to leverage massive unlabeled data. In this paper, we propose a novel training strategy, termed as Semi-supervised Contrastive Learning (SsCL), which combines the well-known contrastive loss in self-supervised learning with the cross entropy loss in semi-supervised learning, and jointly optimizes the two objectives in an end-to-end way. The highlight is that different from self-training based semi-supervised learning that conducts prediction and retraining over the same model weights, SsCL interchanges the predictions over the unlabeled data between the two branches, and thus formulates a co-calibration procedure, which we find is beneficial for better prediction and avoid being trapped in local minimum. Towards this goal, the contrastive loss branch models pairwise similarities among samples, using the nearest neighborhood generated from the cross entropy branch, and in turn calibrates the prediction distribution of the cross entropy branch with the contrastive similarity. We show that SsCL produces more discriminative representation and is beneficial to few shot learning. Notably, on ImageNet with ResNet50 as the backbone, SsCL achieves 60.2% and 72.1% top-1 accuracy with 1% and 10% labeled samples, respectively, which significantly outperforms the baseline, and is better than previous semi-supervised and self-supervised methods.

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

↑