Semi-supervised Active Learning

Machine Learning
Introduced by
Muslea, I., Minton, S., & Knoblock, C. A.
Year
2002
Type
Hybrid learning framework
Family
Machine learning

What does it do?

Semi-supervised Active Learning (SSAL) is a hybrid framework that combines the query step of active learning with a semi-supervised learner that also uses the unlabeled pool.

In each round, the model is trained on labeled and unlabeled data, an acquisition function selects unlabeled instances for an oracle to label, and the labeled set grows. It is aimed at partially labeled tabular, text, or image data where annotation is the main bottleneck.

The intuition behind the method

Most real datasets contain far more unlabeled examples than labeled ones, and human labels are costly. Active learning asks which unlabeled examples would be most useful to label next. Semi-supervised learning asks whether the unlabeled examples can improve the model without labels. SSAL does both in a loop: the semi-supervised component uses the unlabeled pool to shape the model, and the acquisition function uses the model's current state to choose which examples go to the annotator. Because each new label changes both the labeled set and the model that drives the next query, the two parts interact, and the outcome depends on how well they work together.

History

Active learning and semi-supervised learning were developed largely in parallel before being combined into hybrid frameworks. Settles (2012) provides a synthesis of active learning strategies. Deep semi-supervised methods based on consistency regularization have since been used as SSL components in this setting.

When to use it

Choose SSAL when labels are costly to obtain, a substantial unlabeled pool is available, and a supervised model trained on a small labeled seed is too weak. Domains covered in the applications section include medical imaging, information extraction, text classification, remote sensing, and drug discovery. Do not use SSAL when labeling the whole pool is cheap, when the oracle is unreliable, or when the labeled and unlabeled data come from different distributions, since the semi-supervised assumptions can then mislead the model. It also requires a retraining loop and pilot tuning of the acquisition function, so it is poorly suited to small datasets that can simply be labeled in full.

Limitations and considerations

  • Requires implementing and tuning two interacting components, the acquisition function and the SSL learner, so a poor result is hard to attribute to one or the other.
  • Results depend on the acquisition function, and no single function is established as dominant across tasks; it should be checked on the target data.
  • The SSL assumptions (cluster, manifold, or smoothness) may fail on real data, and a self-training component can reinforce its own early errors.
  • Because the labeled set depends on query order, different random seeds or acquisition orders can yield different label sets, which complicates reproducibility and fair comparison.
  • Retraining the SSL model after each query, especially on a large unlabeled pool, adds computational cost.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Directs annotation effort toward instances that the current model is uncertain about or that add diversity, instead of labeling the pool at random.
  • Lets the unlabeled pool shape the model between query rounds, which pure active learning does not do.
  • Accepts several SSL backends (self-training, label propagation, graph methods, consistency-regularized networks), so the base learner can be matched to the data type.
  • The stopping rule can be tied to an explicit label budget or to a validation plateau.

Applications

  • Medical image segmentation and classification, where expert annotation is expensive and unlabeled scans are abundant.
  • Named entity recognition and information extraction in domains with limited labeled corpora.
  • Sentiment and intent classification in low-resource languages or specialized domains.
  • Remote sensing and satellite imagery analysis with sparse ground-truth labels.
  • Drug discovery and molecular property prediction, where wet-lab labeling is costly.

How it works

How it works

1

The process starts with a small labeled set L, a large unlabeled pool U, and an oracle that can assign labels on request. The initial labeled set is typically chosen at random or by diversity sampling, so that it covers the input space roughly before any query is made.

2

A semi-supervised model is trained on both L and U. Common choices include self-training, label propagation, graph-based methods, or consistency-regularized deep networks, which are trained so that predictions stay stable under perturbation of unlabeled inputs. The SSL component uses the structure of the unlabeled data, so the model is not limited to what the small labeled set alone supports.

3

An acquisition function scores each unlabeled instance in U for its expected informativeness. Popular criteria include uncertainty sampling (entropy, least confidence, margin), query-by-committee (disagreement among an ensemble), expected model change, and core-set geometric diversity. Entropy rewards predictions spread across classes, least confidence favours instances whose most likely class has low probability, and margin favours instances where the two most likely classes are nearly tied. The top-ranked instance or batch of instances is selected for querying.

4

The selected instances are presented to a human expert or automated oracle for labeling. In real deployments this step is usually the main cost, so the quality of the acquisition function largely determines how much labeling effort is spent on useful examples.

5

Newly labeled instances move from U to L, and the semi-supervised model is retrained on the expanded L and the remaining U. Because the SSL component uses both sets, labels added in one round can change what the model learns from the rest of the pool in later rounds.

6

The cycle repeats (query, label, retrain) until a predefined budget, such as a number of labels or a labeling cost, is exhausted, or until performance on a separate labeled validation set stops improving. Validation labels count toward the annotation budget. Some implementations also halt querying when no remaining unlabeled example is judged sufficiently uncertain.

Common pitfalls

  • Choosing an acquisition function without validating it on a held-out pilot set, although different functions suit different data geometries.
  • Ignoring distribution shift between the labeled seed and the unlabeled pool, which can cause the SSL component to reinforce early errors.
  • Reporting final accuracy without the total annotation budget, which makes results from different studies hard to compare.
  • Retraining from scratch after every single query instead of querying in batches, which wastes compute and annotator time.
  • Failing to account for annotator disagreement or label noise, which corrupts the SSL signal and the query rankings.

Frequently asked questions

How does SSAL differ from pure active learning?

Pure active learning queries an oracle and trains only on labeled data, using the unlabeled pool mainly as the set of query candidates. SSAL also uses the unlabeled pool during training through a semi-supervised objective, so the aim is to reach a given accuracy with fewer labels.

Which acquisition function should I start with?

Uncertainty sampling (e.g., prediction entropy) is the simplest and a common baseline. Core-set and gradient-based strategies such as BADGE are alternatives that have been proposed for deep models. Validate any choice against random sampling on a pilot set.

Can SSAL hurt performance compared to random labeling?

Yes, in some cases. If the acquisition function builds a biased labeled set (for example, by over-sampling hard or outlier examples) and the SSL component spreads this bias to the unlabeled pool, final accuracy can be worse than with random sampling. Batch-mode querying and more diverse acquisition functions can reduce this risk.

How large should the initial labeled set be?

The seed should be small but representative, drawn by stratified or diversity sampling. A non-representative seed can make the SSL component learn a skewed distribution, so the early query rounds may be misleading.

Is SSAL applicable to tabular data or mainly to images and text?

SSAL is intended for the partially labeled tabular, text, and image settings named above. For tabular data, graph-based SSL (label propagation) or self-training combined with uncertainty sampling is a natural choice. Deep SSL methods are more natural for images and text, and can be adapted to structured data with suitable encoders. The SSL backend and encoder should match the data type.

Related methods

Sources

  1. Settles, B. (2012). Active Learning. Synthesis Lectures on Artificial Intelligence and Machine Learning. Morgan & Claypool.

    Open DOI reference
  2. Zhu, X. (2005). Semi-supervised learning literature survey. Technical Report 1530, Computer Sciences, University of Wisconsin-Madison.

    Open publication reference