arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.14370cs.CVcs.AI
收藏

CaCo:正样本和负样本都可以通过合作-对抗对比学习直接学习

CaCo: Both Positive and Negative Samples are Directly Learnable via Cooperative-adversarial Contrastive Learning

Purdue University(普渡大学);Shanghai University(上海大学);Futurewei Seattle Cloud Lab(Futurewei西雅图云实验室)

Xiao Wang, Yuhang Huang, Dan Zeng, Guo-Jun Qi

摘要:

对比学习作为一种有代表性的自监督学习方法,在表征的无监督训练方面取得了巨大的成功。它通过区分给定查询锚的正样本和负样本来训练编码器。这些正样本和负样本在定义学习判别式编码器的目标方面起着关键作用,避免了学习琐碎的特征。虽然现有的方法选择这些样本,但我们提出了一种原则性的方法,其中正负样本都可以直接与编码器端到端学习。我们表明,积极和消极的样本可以通过最小化和最大化的对比损失,分别合作和对抗学习。这就产生了关于编码器的合作积极和对抗消极,它们被更新以连续跟踪小批量查询锚点的学习表示。该方法在ImageNet 1 K上预训练ResNet-50主干的200和800个epoch中分别达到了71.3%和75.3%的前1准确率,而没有多作物或更强的增强等技巧。通过多作物,它可以进一步提高到75.7%。源代码和预训练模型在https://github.com/maple-research-lab/caco中发布。

英文摘要:

As a representative self-supervised method, contrastive learning has achieved great successes in unsupervised training of representations. It trains an encoder by distinguishing positive samples from negative ones given query anchors. These positive and negative samples play critical roles in defining the objective to learn the discriminative encoder, avoiding it from learning trivial features. While existing methods heuristically choose these samples, we present a principled method where both positive and negative samples are directly learnable end-to-end with the encoder. We show that the positive and negative samples can be cooperatively and adversarially learned by minimizing and maximizing the contrastive loss, respectively. This yields cooperative positives and adversarial negatives with respect to the encoder, which are updated to continuously track the learned representation of the query anchors over mini-batches. The proposed method achieves 71.3% and 75.3% in top-1 accuracy respectively over 200 and 800 epochs of pre-training ResNet-50 backbone on ImageNet1K without tricks such as multi-crop or stronger augmentations. With Multi-Crop, it can be further boosted into 75.7%. The source code and pre-trained model are released in https://github.com/maple-research-lab/caco.

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

↑