On the Stepwise Nature of Self-Supervised Learning
Authors:
- James B. SimonJSJames B. Simon
- Maksis KnutinsMKMaksis Knutins
- Liu ZiyinLZLiu Ziyin
- Daniel GeiszDGDaniel Geisz
- Abraham J. FettermanAFAbraham J. Fetterman
- Joshua AlbrechtJAJoshua Albrecht
Preprint
Abstract
We present a simple picture of the training process of joint embedding self-supervised learning methods. We find that these methods learn their high-dimensional embeddings one dimension at a time in a sequence of discrete, well-separated steps. We arrive at this conclusion via the study of a linearized model of Barlow Twins applicable to the case in which the trained network is infinitely wide. We solve the training dynamics of this model from small initialization, finding that the model learns the top eigenmodes of a certain contrastive kernel in a stepwise fashion, and obtain a closed-form expression for the final learned representations. Remarkably, we then see the same stepwise learning phenomenon when training deep ResNets using the Barlow Twins, SimCLR, and VICReg losses. Our theory suggests that, just as kernel regression can be thought of as a model of supervised learning, kernel PCA may serve as a useful model of self-supervised learning.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Self-consistent dynamical field theory of kernel evolution in wide neural networks *Journal of Statistical Mechanics: Theory and Experiment, 2023
- Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture2023
- Towards Understanding the Spectral Bias of Deep Learning2021
- The Generalization Error of Random Features Regression: Precise Asymptotics and the Double Descent CurveCommunications on Pure and Applied Mathematics, 2021
- Spectral bias and task-model alignment explain generalization in kernel regression and infinitely wide neural networksNature Communications, 2021
- Nonconvex Optimization Meets Low-Rank Matrix Factorization: An OverviewIEEE Transactions on Signal Processing, 2019
- Implicit Regularization in Matrix Factorization2018
- Statistical Physics of Fields2007
- Kernel Methods for Pattern Analysis2004