Sampling Strategy for Estimating Classifier Accuracy with a Fixed Review Budget
Statistics & ExperimentsModel answerLast 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:
- Frame this as a formal statistical estimation problem. Define your estimator for classifier accuracy in each option.
- Derive (or clearly argue) the bias and variance of each estimator as a function of K, r, and reviewer noise p.
- State the conditions under which Option B beats Option A, and give a concrete numerical example.
- 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.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Step 1 — Notation and Problem Statement
Let N be the population size (large). The true accuracy of the classifier is:
θ = P(model prediction = true label)
We cannot observe true labels directly. A reviewer produces a label that matches the true label with probability p, independently of other reviewers. Assume p > 0.5 (reviewers are better than random). Our estimator θ̂ is the fraction of subjects where the model's prediction matches the label we assigned.
Step 2 — Option A: One Review Per Subject
We label K subjects, each once. For subject i, let Yᵢ ∈ {0,1} be the reviewer's label and Mᵢ ∈ {0,1} be the model's prediction.
θ̂_A = (1/K) Σ 1[Mᵢ = Yᵢ]
Bias. The reviewer is wrong with probability (1-p). When the reviewer flips the label, a correct prediction looks wrong and vice versa. This introduces a bias that pulls the estimate toward 0.5:
E[θ̂_A] = p·θ + (1-p)·(1-θ)
= θ(2p-1) + (1-p)
So θ̂_A is biased unless p = 1. The bias is (θ - 0.5)(2p - 1) - (θ - 0.5) = ... simplifying: bias = (2p-1-1)(θ - E[θ̂_A]) — the key point is it shrinks toward 0.5.
Variance. Each term is Bernoulli, so:
Var(θ̂_A) ≈ θ(1-θ) / K
(Using the noisy accuracy as the effective probability, which is close when p is near 1.)
Step 3 — Option B: r Reviews Per Subject, Majority Vote
We now have K/r subjects. For each subject, majority vote is correct when more than r/2 reviewers are correct. If each reviewer is independently correct with probability p, the majority-vote label is correct with probability:
q(p, r) = Σ_{k=⌈r/2⌉}^{r} C(r,k) · p^k · (1-p)^{r-k}
This is the survival function of a Binomial(r, p) evaluated at ⌈r/2⌉. For p > 0.5, q > p, and q → 1 as r → ∞.
Concrete example — p = 0.7, r = 3:
q = C(3,2)·0.7²·0.3 + C(3,3)·0.7³
= 3·0.49·0.3 + 0.343
= 0.441 + 0.343 = 0.784
So majority vote over 3 reviewers acts as if each reviewer had 78.4% accuracy instead of 70%.
Bias of Option B is the same form as Option A but with q substituted for p:
E[θ̂_B] = θ(2q-1) + (1-q)
Bias shrinks because q > p means the estimate is less compressed toward 0.5.
Variance of Option B:
Var(θ̂_B) ≈ θ(1-θ) / (K/r) = r·θ(1-θ) / K
Variance increases by a factor of r because we have fewer subjects.
Step 4 — The Trade-off and When Option B Wins
Option B reduces bias but inflates variance. Whether it produces a lower mean squared error (MSE = bias² + variance) depends on the parameters.
Option B is better when:
- p is notably below 1 (say p < 0.85) — bias correction matters
- θ is close to 0.5 — because the bias shrinks the estimate toward 0.5 most aggressively near there
- K is large — the variance penalty from having K/r subjects is more tolerable
Option A is better when:
- p is high (reviewers are very reliable, say p > 0.9) — bias is already small, so more coverage wins
- You care more about having a representative sample than clean labels
Rule of thumb for r: r = 3 is often the sweet spot. Going from r=1 to r=3 boosts effective accuracy meaningfully (0.70 → 0.78 in the example above) at the cost of only 3× fewer subjects. Going from r=3 to r=5 gives diminishing returns.
Step 5 — Confidence Interval
After computing θ̂ on K/r subjects, use the normal approximation:
CI: θ̂ ± z_{α/2} · √(θ̂(1-θ̂) / (K/r))
For K = 300, r = 3, θ̂ = 0.80: 95% CI ≈ 0.80 ± 1.96 · √(0.16/100) = 0.80 ± 0.078.
If you need a tighter interval, either increase K or accept r = 1 to keep more subjects.
Step 6 — Edge Cases and Practical Complications
Correlated reviewers. If reviewers share a bias (e.g., they see the same context), the effective noise doesn't reduce as fast as the Binomial formula assumes. You need to account for inter-rater correlation; effective sample size shrinks.
Heterogeneous reviewer quality. Some reviewers have p = 0.9, others p = 0.6. Majority vote with unequal weights (weighted voting proportional to estimated reliability) beats equal-weight voting. You can estimate per-reviewer reliability from overlap subjects.
Very high or very low true accuracy. When θ is near 0 or 1, the bias toward 0.5 is large relative to the true value, making Option B (which corrects bias) relatively more important. The normal approximation for the CI also breaks down; use a Wilson or Clopper-Pearson interval instead.
Validation. Run a small simulation: generate synthetic model outputs at known accuracy, apply reviewer noise at your estimated p, and check that your estimator recovers θ within the claimed CI coverage. Sensitivity-test over a range of p values to see how fragile the recommendation is.
Summary
| Option A (r=1) | Option B (r=3) | |
|---|---|---|
| Subjects labeled | K | K/3 |
| Per-label noise | p | q > p |
| Bias | higher | lower |
| Variance | lower | higher |
| Best when | p is high | p is moderate-low |
Default to Option A when reviewer reliability is above ~0.85. Use Option B with r = 3 when reviewer noise is a real concern, and report a CI that accounts for the reduced sample size.