What is pool-based active learning, and if a three-class classifier outputs predicted probabilities (0.50,0.45,0.05), (0.40,0.30,0.30) and (0.85,0.10,0.05) for unlabelled points A, B and C, which point do least-confidence and margin sampling query first?

Foundations, Learning setup
Level L2 Elementary. Length Short. Nature Th+Mat Both.

What's being asked

Whether you know the active-learning loop and can compute standard uncertainty-sampling scores on a multi-class example where they disagree.

Key idea

Pool-based active learning selectively queries a human oracle for the labels of the most informative unlabelled examples; least confidence scores 1−p1 (largest uncertainty on the top class), while margin sampling scores p1−p2 (closest race between the top two classes).

Steps

  1. Explain pool-based active learning: you start with a small labelled set and a large pool of unlabelled examples, train a model, use an acquisition rule to pick the most informative unlabelled point(s) to label, add them to the training set, and repeat.
  2. Compute least-confidence uncertainty ULC(x)=1−max⁡kP(y=k∣x): for A, 1−0.50=0.50; for B, 1−0.40=0.60; for C, 1−0.85=0.15. Least confidence queries B first.
  3. Compute the margin M(x)=P(y^1∣x)−P(y^2∣x) between the highest and second-highest predicted probabilities (smaller margin means higher confusion): for A, 0.50−0.45=0.05; for B, 0.40−0.30=0.10; for C, 0.85−0.10=0.75. Margin sampling queries A first.
  4. Note why they differ: least confidence ignores how the remaining probability mass is split among runner-up classes, whereas margin sampling targets points sitting right on the boundary between two competing classes.

Common mistakes

How long your answer should be

3–5 sentences plus the short calculations for A, B and C.

Last checked on 4 December 2026.

Read this

Previous in Foundations: Data are spread uniformly in the unit hypercube [0,1]d. A nearest-neighbour method uses a small cube around each point that contains 1% of the data. What edge length must that cube have for d=1, 10 and 100, and what does this say about local methods in high dimensions?
Next in Foundations: Suppose a concept is a conjunction of three attributes (Sky,Temp,Wind) with Sky∈{Sunny,Rainy}, Temp∈{Warm,Cold} and Wind∈{Strong,Weak}. Given the training examples (Sunny,Warm,Strong,+), (Sunny,Warm,Weak,+), (Rainy,Cold,Strong,−) and (Sunny,Cold,Strong,+), what sequence of hypotheses does the Find-S algorithm produce, and what assumptions does it rely on?