What is self-supervised learning?

Self-supervised learning is a machine learning approach in which labels are derived automatically from the structure of the data rather than prepared by people; the model learns representations by predicting these targets.

It differs from unsupervised learning in its objective: unsupervised learning looks for clusters or structure, while self-supervised learning builds an artificial prediction task from the data and solves it like supervised learning. Unlike semi-supervised learning it uses no human labels at all.

Topic
Machine learning, models and training
Also known as
SSL, self-supervision

How self-supervised learning works

  1. Input and target pairs are generated from the data, such as predicting the next token or recovering a masked word.
  2. The model predicts the hidden or next part from the visible part; the gap between prediction and reality is the training signal.
  3. In contrastive methods two views of the same example are pulled together and different examples pushed apart.
  4. Learned representations are then transferred to tasks with few labels through fine-tuning.

In more detail

Three main objective families

Self-supervised learning spans three major objective families beyond text: generative or autoregressive (GPT next-token prediction), masked reconstruction (BERT, Vision MAE) and joint-embedding or contrastive learning (SimCLR, DINOv2, I-JEPA) that predict abstract representations rather than raw pixels or tokens. This breadth explains why SSL powers modern vision, audio and multimodal foundation models as well as LLMs.

Commonly confused terms

TermHow it differs
Supervised fine-tuningSupervised fine-tuning (SFT) trains a pre-trained model on curated human- or model-written prompt-response pairs to follow instructions, rather than learning general representations from raw unlabelled text via next-token prediction.

Why self-supervised learning matters for on-premises AI

Pre-training large language models is self-supervised learning: next-token prediction makes learning from internet-scale text possible without labels. For organisations this means unlabelled documents gathered over years can familiarise a model with company language and terms without waiting for expert labelling. The route is continued pre-training with a self-supervised objective, keeping the data in-house, followed by task fine-tuning on few labels.

ON-PREMISES EXAMPLE

A telecom operator continues training its in-house language model on years of call centre transcripts with a next-token objective; once the model learns the operator's tariff and product language, a few labelled examples adapt it to complaint classification.

Common questions

Is self-supervised learning unsupervised?

It is often classed that way because it uses unlabelled data. But it predicts targets derived from the data like supervised learning, so it is named as a separate category.

Are large language models trained with self-supervised learning?

The pre-training stage is self-supervised: the model learns by predicting the next token. Later instruction tuning and human feedback stages use labelled data.

Sources

In the glossary: Glossary, R to Z

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.