Understanding Collapse in Non-Contrastive Siamese Representation Learning
Authors:
Preprint
Abstract
Contrastive methods have led a recent surge in the performance of self-supervised representation learning (SSL). Recent methods like BYOL or SimSiam purportedly distill these contrastive methods down to their essence, removing bells and whistles, including the negative examples, that do not contribute to downstream performance. These "non-contrastive" methods work surprisingly well without using negatives even though the global minimum lies at trivial collapse. We empirically analyze these non-contrastive methods and find that SimSiam is extraordinarily sensitive to dataset and model size. In particular, SimSiam representations undergo partial dimensional collapse if the model is too small relative to the dataset size. We propose a metric to measure the degree of this collapse and show that it can be used to forecast the downstream task performance without any fine-tuning or labels. We further analyze architectural design choices and their effect on the downstream performance. Finally, we demonstrate that shifting to a continual learning setting acts as a regularizer and prevents collapse, and a hybrid between continual and multi-epoch training can improve linear probe accuracy by as many as 18 percentage points using ResNet-18 on ImageNet. Our project page is at https://alexanderli.com/noncontrastive-ssl/.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- The Challenges of Continuous Self-Supervised Learning2022
- Deep double descent: where bigger models and more data hurt*Journal of Statistical Mechanics: Theory and Experiment, 2021
- Exploring Simple Siamese Representation Learning2021
- Momentum Contrast for Unsupervised Visual Representation Learning2020
- Deep Clustering for Unsupervised Learning of Visual Features2018
- Unsupervised Feature Learning via Non-parametric Instance Discrimination2018
- Places: A 10 Million Image Database for Scene RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2017
- Overcoming catastrophic forgetting in neural networksProceedings of the National Academy of Sciences of the United States of America, 2017
- Deep Residual Learning for Image Recognition2016
- Catastrophic forgetting in connectionist networksTrends in Cognitive Sciences, 1999