AI GLOSSARY · AI CONCEPTS

Self-supervised learning

Markdown version · Wikidata Q77562367

Definition

Self-supervised learning is a way of training a model on unlabelled data by creating the training targets from the data itself, such as predicting a hidden part of an input, so no person has to label each example.

Also called: SSL, SSL machine learning, self supervised, self-supervised, self supervised learning model.

In plain language

Normally, teaching an AI to recognise something means showing it many examples that people have labelled by hand. Self-supervised learning avoids much of that labelling. One training setup hides part of the data and asks the model to predict it, for example the next word in a sentence or a masked piece of a picture. The correct answer is already in the data, so the model can check itself. The model can then be adapted to a specific job with less labelled data. The limit is that what it picks up depends on the task chosen and the data used, and raw data can carry bias or errors. Training at scale also costs a lot of computing power.

Technical definition

IBM describes self-supervised learning as a subset of unsupervised learning in which a model generates implicit labels from unstructured data and is trained against them with a loss function, in what it calls a pretext task. The learned representations are then reused on downstream tasks. In SimCLR, a contrastive method, data augmentations define the prediction task, a learnable nonlinear transformation sits between the representation and the contrastive loss, and the paper reports benefits from larger batch sizes and longer training. Next-token prediction derives targets from text. CLIP instead learns image-caption matching from web pairs, which its paper calls natural-language supervision: captions can be human-authored, even without task-specific manual image-category labels.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Guide · Illustrative, not executed

    What Is an LLM? The Facts Agent Users Need

    What you see
    The guide contrasts next-token generation by a Transformer decoder with BERT's masked bidirectional pretraining and explains the different training objectives.
    Why it exercises the concept
    Next-token and masked-token objectives derive targets from text. The guide's architecture and masking example makes this distinction concrete; its completions are illustrative, not model runs.
  2. Skill by Hugging Face · Illustrative, not executed

    huggingface-datasets 25/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Hugging Face datasets read through the Dataset Viewer API: metadata, rows, search and filters.
    Why it exercises the concept
    Adjacent: self-supervised pretraining uses large unlabelled collections. This skill lets you inspect a dataset's rows and metadata, but this inspected reader does not train a model.
  3. Skill by Skill Almanac · Illustrative, not executed

    data-analysis-eda 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A fixed exploratory-analysis procedure and CSV profiler that keeps findings descriptive, evidenced and caveated.
    Why it exercises the concept
    Adjacent: raw data used for training still needs profiling for gaps and duplicates. The skill profiles CSV files and does not train anything.

How it shows up when you use agents

When you use Claude Code, Codex or Cursor, you use a model that was trained before it reached you. For a language model, one common training target is the next token, so raw text supplies its own answers, which fits the definition above. You do not run that stage. What you can do is prompt or fine-tune the finished model. See pretraining and large language model.

It matters in practice because it hints at what a model knows and does not. It learned patterns from the text it saw, not facts checked one by one by a person, so it can state wrong things fluently. A reader who thinks a model was taught only from labelled answers may misjudge where its mistakes come from.

What breaks when the term is misunderstood: people assume that "no labels" means "no human choices". Someone still picks the data, the pretext task and the later tuning. If you plan to adapt a model with your own data, a next action is to ask whether you need labelled examples at all, or whether prompting a pretrained model is enough. The inspected skill cards are adjacent data checks, while the guide illustrates training objectives; none of these examples executes pretraining here.

Common confusions

  • Self-supervised versus unsupervised. IBM calls self-supervised learning a subset of unsupervised learning. The difference it gives is that self-supervised models are measured against an implicit ground truth with a loss function. See unsupervised learning.
  • Self-supervised versus supervised. Supervised learning needs labelled datasets. Self-supervised objectives derive targets from the data rather than requiring a separate task label for every example; human-authored text and human data choices can still supply supervision. See supervised learning.
  • Myth. Self-supervised models do not need any labelled data afterwards. The SimCLR paper uses labels for its downstream linear evaluation and for fine-tuning.
  • Pretext task versus downstream task. The pretext task, such as predicting a hidden part, trains useful representations. The downstream task is the real job those representations are later reused for.

Terms that mention Self-supervised learning

2 terms mention this one

More in AI concepts

Next steps

  1. What Is an LLM? The Facts Agent Users Need The long-form guide.
  2. huggingface-datasets A skill that exercises it.
  3. Unsupervised learning Related term.
  4. Large language model (LLM) Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; OpenAI Codex bounded factual repairs; sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (5)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : First version.
  • : Verifier pass: dropped unsourced clustering clause.
  • : Bounded source repairs: Scoped hidden-part prediction as one objective; distinguished CLIP natural-language supervision and corrected actual training-guide caption. Pending independent re-review.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.