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

EqCo:自监督对比学习的等价规则

EqCo: Equivalent Rules for Self-supervised Contrastive Learning

MEGVII Technology(旷视科技);The Chinese University of Hong Kong(香港中文大学)

Benjin Zhu, Junqiang Huang, Zeming Li, Xiangyu Zhang, Jian Sun

摘要:

在本文中,我们提出了EqCo(对比学习的等效规则),使自监督学习无关的负样本的数量在对比学习框架。受InfoMax原理的启发,我们指出对比损失中的边缘项需要根据负对的数量自适应地缩放,以保持稳定的互信息界和梯度幅值。EqCo弥合了广泛的负样本量之间的性能差距,因此,我们第一次可以只使用少数负对(例如,每个查询16个)来对ImageNet等大规模视觉数据集进行自监督对比训练,同时几乎没有准确性下降。这与当前实践中广泛使用的大批量训练或存储体机制形成鲜明对比。配备了EqCo,我们的简化MoCo(SiMo)在ImageNet(线性评估协议)上实现了与MoCov2相当的准确性,而每个查询只涉及16个阴性对,而不是65536个,这表明大量的阴性样本不是对比学习框架中的关键因素。

英文摘要:

In this paper, we propose EqCo (Equivalent Rules for Contrastive Learning) to make self-supervised learning irrelevant to the number of negative samples in the contrastive learning framework. Inspired by the InfoMax principle, we point that the margin term in contrastive loss needs to be adaptively scaled according to the number of negative pairs in order to keep steady mutual information bound and gradient magnitude. EqCo bridges the performance gap among a wide range of negative sample sizes, so that for the first time, we can use only a few negative pairs (e.g., 16 per query) to perform self-supervised contrastive training on large-scale vision datasets like ImageNet, while with almost no accuracy drop. This is quite a contrast to the widely used large batch training or memory bank mechanism in current practices. Equipped with EqCo, our simplified MoCo (SiMo) achieves comparable accuracy with MoCov2 on ImageNet (linear evaluation protocol) while only involves 16 negative pairs per query instead of 65536, suggesting that large quantities of negative samples is not a critical factor in contrastive learning frameworks.

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

↑