16/35
Part 4 of 6 · Spend the labelsLearn and do

Spend the label budget: active learning

Everything so far produces candidates. Active learning is choosing among them. Settles' survey starts from its key idea: a learning algorithm can reach higher accuracy with fewer labels if it gets to choose the data it learns from.

Here it runs in batches: score the pool, pick a batch, label it, retrain, re-score.

A batch of the most uncertain images is one confusing thing, many times

The batch is where simple strategies break. The 10,000 most uncertain images are often 10,000 views of the same confusing thing.

Sener and Savarese found that many active learning heuristics from the literature, the usual rules for what to pick, aren't effective for CNNs in the batch setting, where you pick many images at once. They recast the problem as covering the data, as core-set selection: choose a set of points so that a model trained on that subset does about as well on the remaining points as on the subset itself.

Their greedy k-center algorithm is simple. Repeatedly add the candidate farthest from everything already selected or labeled. It spreads the batch across the space.

It also reaches for the farthest points first, and those are outliers. Put two junk images in the pool, and they become its first two picks, before any real candidate. The paper adds an outlier budget to make k-center robust: it assumes an upper limit on the number of outliers. In practice, run k-center inside a filtered candidate set, never over the raw pile.

The editor holds a greedy k_center with a bug, so run it first: all three picks land in one corner. labeled is the one image already labeled at (0, 0), three of the five candidates sit together near (10, 10), and Point is a name for an (x, y) pair.