Lune

ICML2022顶会

Provable Stochastic Optimization for Global Contrastive Learning: Small Batch Does Not Harm Performance

Zhuoning Yuan, Yuexin Wu, Zi-Hao Qiu, Xianzhi Du, Lijun Zhang, Denny Zhou, Tianbao Yang

摘要

In this paper, we study contrastive learning from an optimization perspective, aiming to analyze and address a fundamental issue of existing contrastive learning methods that either rely on a large batch size or a large dictionary of feature vectors. We consider a global objective for contrastive learning, which contrasts each positive pair with all negative pairs for an anchor point. From the optimization perspective, we explain why existing methods such as SimCLR require a large batch size in order to achieve a satisfactory result. In order to remove such requirement, we propose a memory-efficient Stochastic Optimization algorithm for solving the Global objective of Contrastive Learning of Representations, named SogCLR. We show that its optimization error is negligible under a reasonable condition after a sufficient number of iterations or is diminishing for a slightly different global contrastive objective. Empirically, we demonstrate that SogCLR with small batch size (e.g., 256) can achieve similar performance as SimCLR with large batch size (e.g., 8192) on self-supervised learning task on ImageNet-1K. We also attempt to show that the proposed optimization technique is generic and can be applied to solving other contrastive losses, e.g., two-way contrastive losses for bimodal contrastive learning. The proposed method is implemented in our open-sourced library LibAUC (www.libauc.org).

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • 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
  • Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualization 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • 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
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Generalization Analysis for Contrastive Representation Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Generalization Analysis for Contrastive Representation Learning 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Tight Mutual Information Estimation With Contrastive Fenchel-Legendre Optimization 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Tight Mutual Information Estimation With Contrastive Fenchel-Legendre Optimization 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Tight Mutual Information Estimation With Contrastive Fenchel-Legendre Optimization 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • The Role of Entropy and Reconstruction in Multi-View Self-Supervised Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • The Role of Entropy and Reconstruction in Multi-View Self-Supervised Learning 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • The Role of Entropy and Reconstruction in Multi-View Self-Supervised Learning 引用了 Learning Transferable Visual Models From Natural Language Supervision
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper24

  1. 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 次引用
  2. Generalization Analysis for Contrastive Representation LearningYunwen Lei, Tianbao Yang, Yiming Ying, Ding-Xuan ZhouICML 2023 · 28 次引用
  3. Tight Mutual Information Estimation With Contrastive Fenchel-Legendre OptimizationQing Guo, Junya Chen, Dong Wang, Yuewei Yang 等NeurIPS 2022 · 28 次引用
  4. The Role of Entropy and Reconstruction in Multi-View Self-Supervised LearningBorja Rodríguez Gálvez, Arno Blaas, Pau Rodríguez, Adam Golinski 等ICML 2023 · 14 次引用
  5. Non-Smooth Weakly-Convex Finite-sum Coupled Compositional OptimizationQuanqi Hu, Dixian Zhu, Tianbao YangNeurIPS 2023 · 13 次引用

它引用的 Paper24

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
  3. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
  4. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  5. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec 等NeurIPS 2020 · 9,171 次引用

相关 Paper

  1. AUC-CL: A Batchsize-Robust Framework for Self-Supervised Contrastive Representation LearningRohan Sharma, Kaiyi Ji, Zhiqiang Xu, Changyou ChenICLR 2024 · 5 次引用
  2. EMC2: Efficient MCMC Negative Sampling for Contrastive Learning with Global ConvergenceChung-Yiu Yau, Hoi-To Wai, Parameswaran Raman, Soumajyoti Sarkar 等ICML 2024 · 3 次引用
  3. On the duality between contrastive and non-contrastive self-supervised learningQuentin Garrido, Yubei Chen, Adrien Bardes, Laurent Najman 等ICLR 2023 · 24 次引用
  4. Crafting Better Contrastive Views for Siamese Representation LearningXiangyu Peng, Kai Wang, Zheng Zhu, Mang Wang 等CVPR 2022 · 107 次引用
  5. InsCLR: Improving Instance Retrieval with Self-SupervisionZelu Deng, Yujie Zhong, Sheng Guo, Weilin HuangAAAI 2022 · 18 次引用
黄昏的海面,两侧是细线勾勒的悬崖