Lune

CVPR2022顶会

Dual Temperature Helps Contrastive Learning Without Many Negative Samples: Towards Understanding and Simplifying MoCo

Chaoning Zhang, Kang Zhang, Trung X. Pham, Axi Niu, Zhinan Qiao, Chang D. Yoo, In So Kweon

摘要

Contrastive learning (CL) is widely known to require many negative samples, 65536 in MoCo for instance, for which the performance of a dictionary-free framework is often inferior because the negative sample size (NSS) is limited by its mini-batch size (MBS). To decouple the NSS from the MBS, a dynamic dictionary has been adopted in a large volume of CL frameworks, among which arguably the most popular one is MoCo family. In essence, MoCo adopts a momentum-based queue dictionary, for which we perform a fine-grained analysis of its size and consistency. We point out that InfoNCE loss used in MoCo implicitly attract anchors to their corresponding positive sample with various strength of penalties and identify such inter-anchor hardness-awareness property as a major reason for the necessity of a large dictionary. Our findings motivate us to simplify MoCo v2 via the removal of its dictionary as well as momentum. Based on an InfoNCE with the proposed dual temperature, our simplified frameworks, Sim-MoCo and SimCo, outperform MoCo v2 by a visible margin. Moreover, our work bridges the gap between CL and non-CL frameworks, contributing to a more unified under-standing of these two mainstream frameworks in SSL. Code is available at: https://bit.ly/3LkQbaT.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Emerging Properties in Self-Supervised Vision Transformers 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Emerging Properties in Self-Supervised Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Emerging Properties in Self-Supervised Vision Transformers 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • See Your Emotion from Gait Using Unlabeled Skeleton Data 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • See Your Emotion from Gait Using Unlabeled Skeleton Data 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualization 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualization 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • On the duality between contrastive and non-contrastive self-supervised learning 引用了 Emerging Properties in Self-Supervised Vision Transformers
  • On the duality between contrastive and non-contrastive self-supervised learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • On the duality between contrastive and non-contrastive self-supervised learning 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Model-Aware Contrastive Learning: Towards Escaping the Dilemmas 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Model-Aware Contrastive Learning: Towards Escaping the Dilemmas 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Model-Aware Contrastive Learning: Towards Escaping the Dilemmas 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

  1. DomainAdaptor: A Novel Approach to Test-time AdaptationJian Zhang, Lei Qi, Yinghuan Shi, Yang GaoICCV 2023 · 31 次引用
  2. Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature IndividualizationZi-Hao Qiu, Quanqi Hu, Zhuoning Yuan, Denny Zhou 等ICML 2023 · 29 次引用
  3. On the duality between contrastive and non-contrastive self-supervised learningQuentin Garrido, Yubei Chen, Adrien Bardes, Laurent Najman 等ICLR 2023 · 24 次引用
  4. See Your Emotion from Gait Using Unlabeled Skeleton DataHaifeng Lu, Xiping Hu, Bin HuAAAI 2023 · 21 次引用
  5. Model-Aware Contrastive Learning: Towards Escaping the DilemmasZizheng Huang, Haoxing Chen, Ziqi Wen, Chao Zhang 等ICML 2023 · 15 次引用

它引用的 Paper40

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
  2. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
  3. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  4. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec 等NeurIPS 2020 · 9,171 次引用
  5. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou 等ICCV 2021 · 8,921 次引用

相关 Paper

  1. Momentum Contrast for Unsupervised Visual Representation LearningKaiming He, Haoqi Fan, Yuxin Wu, Saining Xie 等CVPR 2020
  2. Exploring the Impact of Negative Samples of Contrastive Learning: A Case Study of Sentence EmbeddingRui Cao, Yihao Wang, Yuxin Liang, Ling Gao 等ACL Findings 2022 · 30 次引用
  3. InsCLR: Improving Instance Retrieval with Self-SupervisionZelu Deng, Yujie Zhong, Sheng Guo, Weilin HuangAAAI 2022 · 18 次引用
  4. Provable Stochastic Optimization for Global Contrastive Learning: Small Batch Does Not Harm PerformanceZhuoning Yuan, Yuexin Wu, Zi-Hao Qiu, Xianzhi Du 等ICML 2022 · 43 次引用
  5. Crafting Better Contrastive Views for Siamese Representation LearningXiangyu Peng, Kai Wang, Zheng Zhu, Mang Wang 等CVPR 2022 · 107 次引用
黄昏的海面,两侧是细线勾勒的悬崖