Active learning

Active learning is a training strategy in which the model picks the unlabeled examples people should label next, usually those it is least sure about, so that every round of labeling adds as much new information as possible. In Supervisely, active learning is part of the Pro plan.

Tasks and training

The loop

  1. Label a small starting set and train a first model on it.
  2. Run the model over the pool of unlabeled images.
  3. Score each image by how useful its label would be.
  4. Send the top-scoring images to annotators.
  5. Add the new labels, retrain and repeat until the metric stops improving.

The payoff is fewer labels for the same accuracy: images the model already handles well are left for later, or never labeled at all.

How images are chosen

  • Uncertainty: low top confidence, a small margin between the two most likely classes, or high entropy of the predicted distribution.
  • Disagreement: several models, or several checkpoints of one model, predict different things for the same image.
  • Diversity: pick images that cover different parts of the feature space, so one batch is not twenty near-copies of the same hard scene.

For detection, an image score is built from its objects, for example the lowest confidence among its boxes or the count of uncertain ones.

Pitfalls

  • Cold start: with a weak first model, its uncertainty is noise, so the first batches are better picked at random.
  • A biased training set. Keep a validation set sampled at random, or the metrics only describe the hard cases.
  • Corrupt, blank or out-of-scope images look very uncertain and rise to the top of the queue.
  • Cost is not uniform: a crowded street scene takes far longer to label than an empty one with the same score.

Active learning in Supervisely

The Pro plan adds active learning (compare plans). A close relative is Live Training on the AI-assisted labeling page: a model fine-tunes while the team labels and pre-labels the next image. To find rare scenes by hand, AI Search on the data curation page ranks a project against a text prompt, and the evaluation report sorts images by their errors. Related: human-in-the-loop.

Frequently asked questions.

What is active learning in machine learning?

A training loop in which the model chooses which unlabeled examples people should label next, usually the ones it is least sure about or that differ most from what it has seen. Each round of labels goes into the next training run, so a model reaches a target accuracy with fewer labeled images.

How is active learning different from model-assisted labeling?

Active learning decides which images to label; model-assisted labeling decides how they get labeled, with a model drafting the labels that people correct. Teams often combine the two.