ML & Deep Learning Foundations·Question 52 of 55Advanced

You have 10M unlabelled examples and budget for 20k labels. How do you spend it?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

The first ~2k go to a random sample, not to anything clever. I need an unbiased eval set and a baseline before any acquisition strategy means anything. Skip this and you have no way to know whether active learning helped.

Full worked answer with diagram

The first ~2k go to a random sample, not to anything clever. I need an unbiased eval set and a baseline before any acquisition strategy means anything. Skip this and you have no way to know whether active learning helped.

Then iterate against that baseline. Acquisition options:

  • Uncertainty sampling (margin, entropy, least-confidence). Cheap and effective, but it collects redundant near-duplicates and over-samples outliers and mislabels.
  • Diversity / coverage (core-set, cluster-then-sample in embedding space). Complements uncertainty rather than competing with it.
  • Hybrid batch-mode selection, maximising uncertainty subject to diversity. This is what actually works, because you label in batches of thousands, not one at a time, and pure uncertainty gives you a thousand copies of the same confusing case.
  • Ensemble disagreement as the uncertainty signal when raw confidence is uncalibrated, which it usually is.

Traps that separate people who have run this from people who have read about it:

  1. The labelled set becomes non-iid. You cannot use it as a test set and you cannot estimate prevalence from it. The random eval set stays sacred and separate.
  2. Cold start. Uncertainty sampling driven by a garbage initial model is worse than random.
  3. Rare classes break it. With 0.5% positives, uncertainty sampling burns budget on the boundary and never finds new positives. For rare-event discovery, use targeted search instead: embedding kNN from known positives, high-recall weak rules, stratified sampling.
  4. Model coupling. Labels acquired via one model family are biased toward that family's blind spots and may not transfer to your next architecture.

The 2026 reframing matters more than any of the above. Use a strong LLM to pre-label all 10M cheaply, then spend human budget on three things: a rigorously adjudicated gold eval set, the items where model self-consistency or ensemble disagreement is high, and an audit sample to estimate the pre-label error rate with a confidence interval. That converts 20k human labels into 10M labels of measured quality. Human effort goes exactly where model labels are least trustworthy, which is the whole point of active learning anyway, just with a much better base learner.

Worth sketching. Splitting the budget into three named buckets on the board makes the argument concrete: humans go where model labels are least trustworthy.

flowchart TD
    A["10M unlabelled,<br/>20k label budget"] --> B["2k random: the eval set,<br/>kept iid and sacred"]
    A --> C["Strong model pre-labels<br/>all 10M cheaply"]
    C --> D["Audit sample: error rate<br/>with a confidence interval"]
    C --> E["High ensemble disagreement<br/>or low self-consistency"]
    E --> F["Spend remaining human<br/>budget here"]
    B --> G["Did acquisition actually<br/>beat random?"]
    F --> G
    D --> G

What a good answer covers

  • The first ~2k go to a random sample, not to anything clever
  • I need an unbiased eval set and a baseline before any acquisition strategy means anything
  • Skip this and you have no way to know whether active learning helped
  • Then iterate against that baseline
  • Uncertainty sampling (margin, entropy, least-confidence)

Key terms: random sample · Uncertainty sampling · Diversity / coverage · Hybrid batch-mode selection · Ensemble disagreement · The labelled set becomes non-iid · Cold start · Rare classes break it · Model coupling

Interviewer follow-ups to expect

  1. How do you estimate the true error rate of 10M model-generated labels from an audit sample, and how big does the sample need to be?

  2. Your uncertainty sampling keeps surfacing the same ambiguous case. What does that tell you about the task, not the model?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep