KatInterview

Sampling Strategy for Estimating Classifier Accuracy with a Fixed Review Budget

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsstatisticsmachine-learningexperimental-design

Last updated

Given a fixed number of human labels, decide whether to label more examples once each or fewer examples multiple times, and quantify the uncertainty either way.

The Setup

Your team trained a binary classifier and wants to know how accurate it is on a large unlabeled population. Ground truth labels don't exist yet — you have to obtain them by paying human reviewers.

Your total budget is K human reviews. A single review on a single subject produces a binary label (0 or 1). Reviewers are not perfect: each reviewer independently gets the true label right with some probability p, where p > 0.5.

You have two ways to spend those K reviews:

Option A — Wide coverage: Send K different subjects to one reviewer each. You get K noisy labels, one per subject.

Option B — Deep coverage: Pick K/r subjects and assign r independent reviewers to each. Aggregate each subject's r labels by majority vote to get a cleaner label per subject, then estimate accuracy on K/r subjects.

Your task:

  1. Frame this as a formal statistical estimation problem. Define your estimator for classifier accuracy in each option.
  2. Derive (or clearly argue) the bias and variance of each estimator as a function of K, r, and reviewer noise p.
  3. State the conditions under which Option B beats Option A, and give a concrete numerical example.
  4. Propose a practical review design: how you would choose r, how you would compute a confidence interval on your accuracy estimate, and what you would do if you suspected reviewers had different noise levels or were not independent.

What the interviewer is looking for:

  • Clear notation and a crisp problem statement before any math
  • A derivation that an interviewer can follow step by step
  • Honest discussion of bias, variance, and the trade-off between them
  • Practical recommendations with numbers, not just qualitative hand-waving
  • Awareness of edge cases: very high or very low true accuracy, correlated reviewers, r = 1, r = K

Hints

Hint 1

Start by writing down exactly what you're estimating: accuracy = P(model output matches true label). Then write the estimator for each option and ask what makes an estimator good — bias and variance are the two levers.

Hint 2

For Option B, treat the majority-vote label on each subject as a new random variable. If each reviewer is correct with probability p independently, use the binomial distribution to derive the probability that the majority vote is correct. That probability (call it q) is always higher than p when p > 0.5 and r > 1.

Hint 3

Once you have q, notice that Option A has high variance (K noisy observations) and zero bias relative to the noisy label, while Option B reduces per-label noise at the cost of fewer subjects. The variance of your final accuracy estimate scales as 1/(number of subjects), so think about what happens to that denominator as you increase r.