Active Learning

Active learning selects unlabeled examples for annotation because the model expects those labels to improve learning more than random labels would. It is an ML operations loop: model scores a pool, a selection policy creates a labeling batch, human-in-the-loop systems collect labels, and a fixed evaluation dataset checks whether the loop actually helped.

Selecting what to label

Uncertainty sampling selects examples with small margin between the top two predicted classes. Diversity and stratification are usually added so the batch is not full of duplicates or low-value edge cases.

Worked Selection

With uncertainty sampling, compute the margin between the top two class probabilities and label the smallest margins first:

ExampleClass probabilitiesTop-two marginSelected?Reason
00.04yesBorderline between two classes.
10.82noModel is already confident.
20.01yesNearly tied across all classes.
30.40noLess ambiguous than the selected cases.
40.02yesBorderline between the top two classes.

Examples 2, 4, and 0 are most uncertain. The batch should still be deduplicated, source-balanced, and recorded through dataset versioning, otherwise later model degradation analysis cannot tell which labels came from the active-learning policy.

Failure Modes

Active learning can over-sample ambiguous cases, amplify annotator bias, and make evaluation optimistic if the queried pool becomes the benchmark. Keep a random audit sample and freeze the validation set between labeling rounds.

References