Know Your Self-supervised Learning: A Survey on Image-based Generative and Discriminative Training

Utku Ozbulak, Hyun Jung Lee, Beril Boga, Esla Timothy Anzaku, Ho-min Park, Arnout Van Messem, Wesley De Neve, Joris Vankerschaver

Abstract

Although supervised learning has been highly successful in improving the state-of-the-art in the domain of image-based computer vision in the past, the margin of improvement has diminished significantly in recent years, indicating that a plateau is in sight. Meanwhile, the use of self-supervised learning (SSL) for natural language processing (NLP) has seen tremendous successes, yielding powerful language models. Inspired by these results, self-supervised methods relying on clustering, contrastive learning, distillation, and information-maximization—collectively known as discriminative SSL—have experienced a swift uptake in computer vision. Shortly afterwards, generative SSL frameworks, primarily based on masked image modeling, complemented and surpassed discriminative results. This survey reviews over 100 unique general-purpose frameworks for generative and discriminative SSL, providing a historic view, best practices, and promising research directions.

The "Labeling Wall" and the Rise of SSL

Supervised learning has historically driven computer vision, but it has hit a significant bottleneck. Manually annotating the millions of images required for modern deep neural networks is expensive, slow, and prone to human error. Furthermore, supervised models can be brittle, often struggling with small distribution shifts in data.

ImageNet top-1 accuracy trends (2012-2022) showing the performance plateau of supervised methods and the rise of SSL.

Self-supervised learning (SSL) addresses this by learning robust features from unlabeled data through "pretext tasks" where the data provides its own supervision. While SSL revolutionized NLP with models like BERT and GPT, its success in computer vision was delayed by the high-dimensional, continuous, and unstructured nature of images compared to discrete words. This survey organizes the landscape of CV-based SSL to help researchers navigate the transition from label-dependent to label-agnostic training.

A Taxonomy of Self-Supervised Learning

The authors categorize the vast SSL landscape into two primary branches:

1. Discriminative SSL

These methods learn representations by comparing different views of images or grouping them based on similarity:

  • Clustering: Grouping similar images together in the feature space (e.g., Deep Cluster, Swav).
  • Contrastive Learning: Learning to "pull together" different augmentations of the same image while "pushing away" different images (e.g., SimCLR, MoCo).
  • Distillation: A "student" network learns to predict the representations generated by a "teacher" network (e.g., BYOL, DINO).
  • Information-Maximization: Reducing redundancy in embeddings to ensure they carry as much unique information as possible (e.g., Barlow Twins, VicReg).

2. Generative SSL

Generative methods learn by reconstructing missing or corrupted parts of the input data:

  • GAN-based: Using adversarial networks to generate realistic images (e.g., BiGAN).
  • Masked Image Modeling (MIM): The current state-of-the-art. Models hide random patches of an image and task the network with reconstructing the pixels or visual tokens.
An example of Masked Image Modeling (MIM), where the model reconstructs missing patches to learn visual representations.

The survey highlights several critical shifts in the field:

  • The Architecture Match: Discriminative SSL (contrastive) works exceptionally well with ResNets, while Generative SSL (MIM) is almost inseparable from Vision Transformers (ViTs).
  • Evaluation Paradigms: A major finding is that discriminative models often perform better under "linear probing" (where the backbone is frozen), whereas generative models (MIM) shine brightest when the entire model is fine-tuned for a specific downstream task.
  • Performance Parity: SSL models have now reached—and in some cases surpassed—the performance of fully supervised models on ImageNet-1K. Generative MIM models like BEiT-v3 and MAE currently hold the top spots for fine-tuning accuracy.

Future Directions and Limitations

Despite its success, SSL remains computationally expensive, often requiring massive TPU/GPU resources available only to large industry labs. There are also significant theoretical gaps; for instance, we do not fully understand how some methods avoid "dimensional collapse" (outputting the same representation for every image) without explicit negative samples.

Future research is expected to move toward "Universal SSL" that combines discriminative and generative losses, and the application of these techniques to specialized domains like medical imaging, remote sensing, and 3D data.

Summary updated

BibTeX
@article{ozbulak2023know,
  author = {Utku Ozbulak and Hyun Jung Lee and Beril Boga and Esla Timothy Anzaku and Ho-min Park and Arnout Van Messem and Wesley De Neve and Joris Vankerschaver},
  title = {{Know Your Self-supervised Learning: A Survey on Image-based Generative and Discriminative Training}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=Ma25S4ludQ},
}
Figure