Self-Supervised Learning · Deep Learning
CREATE your own labels from the data — predict what was hidden, no human annotation needed
Foundation models (BERT, GPT, CLIP, Stable Diffusion) are ALL self-supervised pretrained
C
Create labels from data structure itself
Self-supervised learning generates its own "labels" directly from the structure of the data, requiring no human annotation at all — the data itself provides the supervision signal.
Example: taking a sentence and hiding one word, then using the surrounding words as automatically-generated "input" and the hidden word itself as the automatically-generated "label."
R
Representative examples — masking, rotating, cropping
BERT predicts masked tokens within text; GPT predicts the next token; SimCLR matches two differently-augmented views of the same image; MAE masks 75% of image patches and reconstructs them — all creating supervision from the data itself.
Example: MAE hiding 75% of an image's patches and training the model to reconstruct the missing parts, using the original unmasked image as the automatically-derived "answer key."
E
Enabling contrastive learning
Contrastive learning approaches (like SimCLR) pull representations of the same underlying sample closer together while pushing representations of different samples further apart, learning useful representations purely from these relationships.
Example: two different augmented crops of the same photo should end up with similar representations, while crops from two entirely different photos should end up with very different representations.
A
Access to internet-scale unlabeled data
Because self-supervised learning requires no human labeling at all, it enables training on massive internet-scale datasets that would be far too expensive and time-consuming to manually label.
Example: training a foundation model on billions of unlabeled web pages or images, something that would be practically impossible if every single example needed a human-provided label.
1
A team wants to pretrain a massive foundation model but doesn't have the resources to manually label billions of training examples.
2
Using self-supervised learning, they don't need human labels at all — the training signal comes directly from the structure of the data itself.
3
For a text model, this might mean predicting masked words (like BERT) or predicting the next word (like GPT); for an image model, this might mean reconstructing masked patches (like MAE) or matching augmented views of the same image (like SimCLR).
4
This self-supervised approach is exactly what allows foundation models like BERT, GPT, CLIP, and Stable Diffusion to be pretrained on truly massive internet-scale datasets, without requiring an impossible amount of manual human labeling.

Exams test whether you can name specific self-supervised techniques for both NLP (BERT's masked token prediction, GPT's next-token prediction) and computer vision (SimCLR's contrastive learning, MAE's masked patch reconstruction), and whether you understand why self-supervised learning specifically enables training on internet-scale unlabeled data.

The most common trap is confusing self-supervised learning with unsupervised learning. Self-supervised learning DOES use labels — but those labels are automatically generated from the data's own structure (like a masked word or hidden image patch), rather than being provided by human annotators, which is a distinct and important nuance from true unsupervised learning.

1. What makes self-supervised learning different from traditional supervised learning?
The labels are automatically generated from the data's own structure, rather than being manually provided by human annotators.
Tap to reveal / hide
2. What does BERT predict during self-supervised pretraining?
Masked tokens within text.
Tap to reveal / hide
3. What does GPT predict during self-supervised pretraining?
The next token in a sequence.
Tap to reveal / hide
4. What does MAE do during self-supervised pretraining for images?
Masks 75% of an image's patches and trains the model to reconstruct them.
Tap to reveal / hide
5. Why does self-supervised learning enable training on internet-scale data?
Because it requires no human labeling at all, making it feasible to use massive unlabeled datasets that would be impractical to manually annotate.
Tap to reveal / hide