The Mechanism of Prediction Head in Non-contrastive Self-supervised Learning
Zixin Wen, Yuanzhi Li
摘要
Recently the surprising discovery of Bootstrap Your Own Latent (BYOL) method by Grill et al. shows the negative term in contrastive loss can be removed if we add the so-called prediction head to the network architecture, which breaks the symmetry between the positive pairs. This initiated the research of non-contrastive self-supervised learning. It is mysterious why even when trivial collapsed global optimal solutions exist, neural networks trained by (stochastic) gradient descent can still learn competitive representations and avoid collapsed solutions. This phenomenon is one of the most typical examples of implicit bias in deep learning optimization, and its underlying mechanism remains little understood to this day. In this work, we present our empirical and theoretical discoveries about the mechanism of prediction head in non-contrastive self-supervised learning methods. Empirically, we find that when the prediction head is initialized as an identity matrix with only its off-diagonal entries being trained, the network can learn competitive representations even though the trivial optima still exist in the training objective. Moreover, we observe a consistent rise and fall trajectory of off-diagonal entries during training. Our evidence suggests that understanding the identity-initialized prediction head is a good starting point for understanding the mechanism of the trainable prediction head. Theoretically, we present a framework to understand the behavior of the trainable, but identity-initialized prediction head. Under a simple setting, we characterized the substitution effect and acceleration effect of the prediction head during the training process. The substitution effect happens when learning the stronger features in some neurons can substitute for learning these features in other neurons through updating the prediction head. And the acceleration effect happens when the substituted features can accelerate the learning of other weaker features to prevent them from being ignored. These two effects together enable the neural networks to learn all the features rather than focus only on learning the stronger features, which is likely the cause of the dimensional collapse phenomenon. To the best of our knowledge, this is also the first end-to-end optimization guarantee for non-contrastive methods using nonlinear neural networks with a trainable prediction head and normalization.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Emerging Properties in Self-Supervised Vision Transformers 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Emerging Properties in Self-Supervised Vision Transformers 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Joint-Embedding vs Reconstruction: Provable Benefits of Latent Space Prediction for Self-Supervised Learning 引用了 Emerging Properties in Self-Supervised Vision Transformers
- Joint-Embedding vs Reconstruction: Provable Benefits of Latent Space Prediction for Self-Supervised Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Joint-Embedding vs Reconstruction: Provable Benefits of Latent Space Prediction for Self-Supervised Learning 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- On the Power of Foundation Models 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- On the Power of Foundation Models 引用了 Language Models are Few-Shot Learners
- On the Power of Foundation Models 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- On the Power of Foundation Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Understanding Self-Predictive Learning for Reinforcement Learning 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Understanding Self-Predictive Learning for Reinforcement Learning 引用了 BYOL-Explore: Exploration by Bootstrapped Prediction
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Matrix Information Theory for Self-Supervised Learning 引用了 Emerging Properties in Self-Supervised Vision Transformers
- Matrix Information Theory for Self-Supervised Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Matrix Information Theory for Self-Supervised Learning 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- BYOL-Explore: Exploration by Bootstrapped Prediction 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- 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 引用了 Language Models are Few-Shot Learners
- Learning Transferable Visual Models From Natural Language Supervision 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
引用它的顶会 Paper19
- BYOL-Explore: Exploration by Bootstrapped PredictionZhaohan Guo, Shantanu Thakoor, Miruna Pislar, Bernardo Ávila Pires 等NeurIPS 2022 · 104 次引用
- On the Power of Foundation ModelsYang YuanICML 2023 · 55 次引用
- Understanding Self-Predictive Learning for Reinforcement LearningYunhao Tang, Zhaohan Daniel Guo, Pierre Harvey Richemond, Bernardo Ávila Pires 等ICML 2023 · 46 次引用
- Joint-Embedding vs Reconstruction: Provable Benefits of Latent Space Prediction for Self-Supervised LearningHugues Van Assel, Mark Ibrahim, Tommaso Biancalani, Aviv Regev 等NeurIPS 2025 · 39 次引用
- Matrix Information Theory for Self-Supervised LearningYifan Zhang, Zhiquan Tan, Jingqin Yang, Weiran Huang 等ICML 2024 · 26 次引用
它引用的 Paper43
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec 等NeurIPS 2020 · 9,171 次引用
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou 等ICCV 2021 · 8,921 次引用
相关 Paper
- Implicit Contrastive Representation Learning with Guided Stop-gradientByeongchan Lee, Sehyun LeeNeurIPS 2023 · 3 次引用
- Understanding self-supervised learning dynamics without contrastive pairsYuandong Tian, Xinlei Chen, Surya GanguliICML 2021 · 338 次引用
- The Edge of Orthogonality: A Simple View of What Makes BYOL TickPierre Harvey Richemond, Allison C. Tam, Yunhao Tang, Florian Strub 等ICML 2023 · 17 次引用
- Towards a Unified Theoretical Understanding of Non-contrastive Learning via Rank Differential MechanismZhijian Zhuo, Yifei Wang, Jinwen Ma, Yisen WangICLR 2023 · 1 次引用
- Implicit variance regularization in non-contrastive SSLManu Srinath Halvagal, Axel Laborieux, Friedemann ZenkeNeurIPS 2023 · 18 次引用
