Self-Supervised Learning
Learning representations without labels: SimCLR, MoCo, BYOL, MAE, and more.
Barlow TwinsBarlow Twins is a self-supervised learning method that builds a cross-correlation matrix between the dimensions of the embeddings of two views of the same image and pushes it toward the identity matrix. Because the loss itself prevents collapse, it needs no negatives, no predictor, and no moving average, and it trains well even with small batches.
BYOLBYOL is a self-supervised learning method in which an online network trained by gradients predicts the output of a target network that moves as a moving average of the online weights. It avoids collapse without negatives and reaches 74.3% under linear evaluation with ResNet-50.
DINODINO is a label-free self-distillation method that matches the output distribution of a student network to that of a teacher network moving as a moving average of the weights. Centering and sharpening the teacher's output prevent collapse, and when trained with ViT it yields features whose attention weights reveal object regions and that classify accurately even with k-NN.
Masked Autoencoder (MAE)MAE is a self-supervised learning method that randomly hides 75% of an image's patches, passes only the remaining patches through an encoder, and uses a lightweight decoder to reconstruct the pixels of the hidden patches. It greatly reduces encoder computation, allowing large ViTs to be trained quickly, and achieves high accuracy after fine-tuning.
MoCoMoCo is a contrastive learning method that stores features from past minibatches in a queue to use as negatives, and slowly updates the encoder that produces the queue with a moving average of the weights. It can use many negatives without enlarging the minibatch, and it matches supervised pretraining on downstream tasks such as detection.
SimCLRSimCLR is a self-supervised learning method that learns image features without labels through contrastive learning: it pulls together two views created from one image and pushes them away from other images.
SimSiamSimSiam is a self-supervised learning method that learns features simply by passing two views through an encoder with shared weights, attaching a predictor to one side, and stopping the gradient on the other. It avoids collapse without negatives, large batches, or a moving-average encoder, and performs well even with a minibatch of 256.
SwAVSwAV is a self-supervised learning method that assigns image features evenly to learnable prototypes and predicts the assignment of one view from the features of another. Because it neither compares features directly nor uses negatives, it trains with small batches, and combined with multi-crop it reaches 75.3% in linear evaluation with ResNet-50.
