← Explainer Library

Interactive Explainer

Active Learning, Picked Live

Pool-based active learning on a 2-D classification problem. Pick an acquisition function, step the loop, and watch the decision boundary tighten where the queries land. Race four strategies against each other on the same dataset and same starting label budget.

Prelude

The labelling-budget problem

You can label 1000 satellite tiles, or 1000 thermal frames, or 1000 sleep epochs — but no more. Which 1000 do you spend the budget on? Picking randomly is the baseline; picking the points the current model finds most confusing usually beats it by a lot. That's active learning.

The slogan. Don't show the model points it already knows the answer to. Spend labelling budget on the boundary it's most uncertain about.
Step 1

The four acquisition functions you'll meet

Step 2

Run the loop on a real pool

We seeded a 2-D classification problem (3 colour-coded classes, with overlap). 5 labels start the model; click Acquire to add one more. Watch the decision boundary tighten exactly where the chosen acquisition pulls a label from. The legend keeps four scoreboards in sync — same starting set, same logistic-regression-with-RBF-features model, four strategies racing on accuracy.

labels = 5 / 200 test acc
Pool + chosen strategy boundary
Acquisition score map
Accuracy vs labels (4 strategies)
What to watch for. The acquisition score map (middle) is a heat-map of how informative each pool point is right now. Random ignores it; uncertainty picks the brightest spot; margin picks where two classes nearly tie; committee picks where ensemble members disagree (this often catches the most useful boundary points first). Run 25 acquisitions on each strategy and read off the gap on the right.
Step 3

The traps real labelling budgets fall into

Step 4

Where active learning is the right tool

Final takeaway. Active learning is one of the cheapest ways to multiply labelling budget. It costs only a model retrain per query and a small bit of book-keeping. For any annotation pipeline with a finite budget, it should be the default rather than the optional add-on.
Step 5

Why active learning often fails in deep learning

The literature is full of "active learning works" papers and the production lore is full of "AL didn't beat random sampling for us". Both are right; the reconciling observation comes from a 2021–22 wave of careful empirical work (Munjal et al., 2022; Lüth et al., 2024):

Step 6

Reading list