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

对比学习的硬负混合

Hard Negative Mixing for Contrastive Learning

NAVER LABS Europe(NAVER LABS欧洲)

Yannis Kalantidis, Mert Bulent Sariyildiz, Noe Pion, Philippe Weinzaepfel, Diane Larlus

摘要:

对比学习已成为计算机视觉的自监督学习方法的关键组成部分。通过学习将同一图像的两个增强版本彼此靠近地嵌入,并将不同图像的嵌入分开,可以训练高度可转移的视觉表示。正如最近的研究所揭示的那样,大量的数据增强和大量的否定集在学习这种表示时都是至关重要的。与此同时,在图像或特征级别的数据混合策略通过合成新的示例来改善监督和半监督学习,迫使网络学习更鲁棒的特征。在本文中,我们认为,对比学习的一个重要方面,即,硬底片的影响,迄今为止一直被忽视。为了获得更有意义的负样本,当前的顶级对比自监督学习方法要么大幅增加批量大小,要么保持非常大的存储体;然而,增加存储体大小会导致性能方面的收益递减。因此,我们首先深入研究一个表现最好的框架,并证明需要更难的否定来促进更好更快的学习。基于这些观察结果,并受到数据混合成功的激励,我们提出了在特征级别的硬负混合策略,可以以最小的计算开销实时计算。我们详尽地消融我们的线性分类,目标检测和实例分割的方法,并表明,采用我们的硬负混合过程提高了质量的视觉表示学习的最先进的自监督学习方法。

英文摘要:

Contrastive learning has become a key component of self-supervised learning approaches for computer vision. By learning to embed two augmented versions of the same image close to each other and to push the embeddings of different images apart, one can train highly transferable visual representations. As revealed by recent studies, heavy data augmentation and large sets of negatives are both crucial in learning such representations. At the same time, data mixing strategies either at the image or the feature level improve both supervised and semi-supervised learning by synthesizing novel examples, forcing networks to learn more robust features. In this paper, we argue that an important aspect of contrastive learning, i.e., the effect of hard negatives, has so far been neglected. To get more meaningful negative samples, current top contrastive self-supervised learning approaches either substantially increase the batch sizes, or keep very large memory banks; increasing the memory size, however, leads to diminishing returns in terms of performance. We therefore start by delving deeper into a top-performing framework and show evidence that harder negatives are needed to facilitate better and faster learning. Based on these observations, and motivated by the success of data mixing, we propose hard negative mixing strategies at the feature level, that can be computed on-the-fly with a minimal computational overhead. We exhaustively ablate our approach on linear classification, object detection and instance segmentation and show that employing our hard negative mixing procedure improves the quality of visual representations learned by a state-of-the-art self-supervised learning method.

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

↑