Human-in-the-loop

Human-in-the-loop (HITL) machine learning is a setup in which people review, correct or decide on a model's outputs at chosen points, and their corrections flow back into the data the model is trained on. In Supervisely, annotators correct model labels and Smart Tool masks, and with Live Training each correction feeds the next prediction.

AnnotationAlso called HITL

Where people sit in the loop

  • Labeling: a model proposes labels and annotators fix them, see model-assisted labeling.
  • Selection: the model flags the images it is unsure about and people label those first, see active learning.
  • Review: a second person checks labels or predictions before they count.
  • Production: predictions below a confidence threshold go to a person instead of straight to the downstream system.

What makes it a loop is the return path. A correction that is never fed back into training only fixes one image; one that is fed back improves the next thousand.

Design decisions

Three questions shape a HITL system. Which outputs go to a person: all of them, a random sample, or only the uncertain ones? How is human time measured, so the team knows whether the model is saving effort? And how often does the model retrain on the corrections: after every batch, or continuously?

How it goes wrong

  • Automation bias: reviewers accept a plausible but wrong prediction instead of checking it.
  • Feedback that never reaches training, so the same mistakes keep coming back.
  • Routing only low-confidence outputs to people, while confident mistakes pass unseen. A small random sample of confident outputs catches them.

Human-in-the-loop in Supervisely

On the AI-assisted labeling side, annotators start from model labels, correct Smart Tool masks with a few clicks, and with Live Training each correction feeds a model that pre-labels the next image. On the quality side, the labeling workflow adds review, consensus and quality checks, and the model evaluation report leads from a model error to the labeling tool, so the fix goes into the next training run.

Frequently asked questions.

What is human-in-the-loop machine learning?

A setup in which people review, correct or decide on a model's outputs at chosen points, and their corrections flow back into the data the model trains on. In data labeling it usually means a model drafts the labels and annotators fix them.

What is an example of human-in-the-loop?

Pre-labeling a dataset with a detector, having annotators correct the boxes in the labeling tool, retraining the detector on the corrected labels and repeating. Each round needs fewer corrections.