What is semi-supervised learning?

Semi-supervised learning is a machine learning approach that trains a model using a small amount of labelled data together with a much larger amount of unlabelled data.

Supervised learning uses only labelled data and unsupervised learning looks for structure in unlabelled data alone; semi-supervised learning sits between them. It differs from self-supervised learning in human labels: here a small but real labelled set exists.

Topic
Machine learning, models and training
Also known as
SSL, semi-supervised training

How semi-supervised learning works

  1. The model is first trained on a small expert-labelled set.
  2. It predicts on unlabelled examples; in pseudo-labelling only high-confidence predictions are kept as labels.
  3. Consistency methods push the model to give the same answer to slightly altered versions of an example.
  4. Training repeats on labelled and unlabelled data together; results are measured on a held-out labelled test set.

In more detail

Core assumptions and open-set risk

Semi-supervised learning relies on key geometric assumptions, the smoothness, cluster (low-density separation) and manifold assumptions, meaning unlabelled data helps only when decision boundaries pass through low-density regions between classes. If classes overlap heavily or the unlabelled pool contains out-of-distribution or unseen classes (open-set noise), semi-supervised training can actually perform worse than supervised training alone.

Confirmation bias and confidence calibration

Neural networks are often overconfident on unfamiliar inputs, causing raw softmax thresholds in pseudo-labelling to amplify early mistakes, a failure mode known as confirmation bias. Modern pipelines mitigate this via confidence calibration (temperature scaling), dynamic class-specific thresholds, EMA teacher-student updates such as Mean Teacher or consistency-based methods such as FixMatch.

LLM-assisted teacher-student labelling

In enterprise NLP workflows, classical semi-supervised pseudo-labelling is frequently complemented or replaced by LLM-assisted weak supervision: a large frontier or on-prem LLM acts as a zero-shot or few-shot teacher to annotate unlabelled documents, distilling a compact, fast encoder classifier (such as DeBERTa or ModernBERT) for production.

Class imbalance and test set isolation

When class distribution is skewed, fixed confidence thresholds disproportionately pseudo-label the majority class and starve minority classes. Ensuring strict isolation of the held-out test set before any unlabelled filtering and applying class-balanced thresholds prevents silent collapse on rare categories.

Commonly confused terms

TermHow it differs
Active learningActive learning iteratively selects the most informative or uncertain unlabelled samples for human experts to label, whereas semi-supervised learning leverages the model's confident predictions (or consistency) on unlabelled data without waiting for human annotation of every selected sample.

Why semi-supervised learning matters for on-premises AI

Organisations have plenty of unlabelled data while labels are expensive, as correctly classifying a contract or claim file takes expert time. Semi-supervised learning builds a better model on the same labelling budget and uses unlabelled data without it leaving the organisation. The unlabelled data must however come from the same distribution as the labelled set, or the model can learn its own mistakes and degrade. It is often paired with active learning, which picks which examples to label.

ON-PREMISES EXAMPLE

A law firm trains a document type classifier on a few hundred labelled contracts and thousands of unlabelled ones, adding the model's confident predictions to training and sending uncertain ones to lawyers for labelling.

Common questions

Does semi-supervised learning treat unlabelled data as reliably as labelled data?

No. The signal from unlabelled data rests on assumptions, so only high-confidence predictions are used and results are checked on a real labelled test set.

How does it differ from self-supervised learning?

Semi-supervised learning has a small but real labelled set. Self-supervised learning has no human labels; targets come from the data itself.

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.