
Self-supervised learning is a method where models learn representations from unlabeled data by predicting parts of the input.Self-supervised learning is a paradigm in which the model generates training signals by extracting them from the very structure of unlabeled data. Unlike unsupervised learning, which often focuses on clustering or dimensionality reduction, here surrogate (pretext) tasks are built that do not require human annotations. For example, in natural language processing, some words in an input sentence are masked, and the network learns to recover them from the context. In computer vision, contrastive methods are popular: two randomly distorted versions of the same image are brought closer in the representation space, while being pushed away from other images. This forms a visual concept reminiscent of how infants distinguish objects from the background.
Ideas of self-supervision can be traced to works on autoencoders (Hinton, 2006) and representation learning through reconstruction. The turning point was 2018 with the emergence of BERT (Devlin et al.), which uses word masking. For images, in 2020, the SimCLR method (Chen et al.) showed that a simple contrastive scheme with large batch sizes is comparable to supervised learning. Later, Vision Transformers combined with masked autoencoding (MAE) replicated the success of NLP, demonstrating scalability.
The general SSL scheme includes: 1) a pretext task — automatic generation of a target signal; 2) an encoder that extracts representations; 3) optionally, a projector for metric comparison; 4) a loss function that solves the specific pretext task. In NLP: masked language modeling (MLM) — the task of recovering hidden tokens. The model receives a sequence with [MASK] tokens and learns to predict the original words via cross-entropy. In CV: contrastive methods learn representations invariant to augmentations, using large batches and a momentum encoder mechanism for stabilization. Recent masked autoencoders (MAE) mask random patches of the image, and the decoder reconstructs the pixels, forcing the model to understand the global structure of objects.
Speech recognition systems, machine translation, all modern large language models (like GPT), medical diagnostics from images without doctors' annotations.
After self-supervised training on texts, the GPT-3 model turned out to be able to write poems, code, and scientific essays, although no one specifically taught it to do so.














