Practical technical guides / AI engineering: evaluation (subset selection risk)

A Small Eval Subset Is Usually Close and Sometimes Far Off: Measure the Tail Before Trusting It

Most random 40-case eval subsets land within 4 points of the full score; one in seven misses by over 10. Stratify, match on probe models (arXiv 2611.00883), and audit.

By Sandeep Belgavi · Published 2026-11-07

Most random 40-case eval subsets land within 4 points of the full score; one in seven misses by over 10. Stratify, match on probe models (arXiv 2611.00883), and audit.

A cheap eval that is right most of the time

Running a full evaluation suite on every prompt change gets expensive once an agent's suite grows into the hundreds of cases. The help-desk agent at Belgavi's Book Store has 600 scored cases: returns, refunds, damaged deliveries, gift receipts, order lookups. A full run with a large model costs real money and takes most of an hour, so Hansini proposes the obvious shortcut: pick 40 cases at random once, run those on every change, and run the full suite weekly.

The shortcut usually works, and that is the problem. Most random subsets track the full score closely. A few miss badly, and you cannot tell from inside the subset which kind you drew. This guide measures that tail on a synthetic benchmark, shows two ways to shrink it, and says what a 40-case subset still cannot do. It draws on a paper posted on 31 October 2026 that studies the same question across more than 70 benchmarks.

What arXiv 2611.00883 says

Ling and colleagues, "Random Is Almost Enough? Stable and Low-Cost Benchmark Compression via BestRand" (arXiv 2611.00883, submitted 31 October 2026, a preprint), derive an approximation to the error distribution of a subset estimate and find it long-tailed: "most subsets yield small errors, while a few produce much larger errors". That means "random sampling alone can achieve surprisingly strong performance with high probability, but remains unstable due to rare large errors". They also argue the instability comes from correlation between models, so evaluating more models does not average it away.

Their method, BestRand, keeps the low cost of random sampling and trims the tail. It draws a pool of items, scores a few cheap probe models on the pool, then draws several random candidate subsets and "selects the one whose mean probe scores best match a pool reference". Across their benchmarks they report that BestRand "reduces high-error risk by 50.2% and estimation error by 16.4% on average" against competing methods, at 51.3 percent of their construction cost. Those are the authors' figures on their benchmarks; the experiment below is mine, on invented data, and only reproduces the shape of the argument.

The experiment

The companion example builds a synthetic 600-case benchmark with a difficulty per case and simulates five models once with a fixed seed: three older probe models, the current production agent and a candidate. Each model solves a case with a probability that falls as difficulty rises. On the full benchmark the current agent scores 64.83 percent and the candidate 71.00 percent, a 6.2-point gap.

It then draws 10,000 random 40-case subsets and records how far the candidate's subset score lands from 71.00, and whether the subset still ranks the candidate above the current agent.

MethodMedian miss95th percentile99th percentileWorstMisses over 10 pointsRanking not preserved
Random, 40 cases4.013.516.528.515.0%26.8%
Stratified by difficulty4.011.514.021.57.6%27.4%
Probe-matched (1,000 draws)4.011.516.018.510.2%25.8%

All numbers are percentage points. Three things stand out.

The median looks fine and the tail does not. Half the subsets land within 4 points. One in seven lands more than 10 points away, and the worst of 10,000 draws missed by 28.5 points. A team that drew one of those once and kept it would carry a 28-point bias into every comparison.

Selection shrinks the tail, not the typical error. Stratifying by difficulty, so that each third of the difficulty range contributes its share, halved the share of misses over 10 points. Probe matching, the BestRand idea in its simplest form (a pool of 200 cases, 20 candidate subsets, three probe models), cut the worst case from 28.5 to 18.5 points. Neither changed the median, because the median error is mostly ordinary sampling noise.

Forty cases cannot rank models six points apart. About a quarter of subsets put the current agent level with or ahead of the candidate under every method. That is not a selection problem; it is sample size. With random subsets the 95th percentile miss is 13.5 points at 40 cases, 8 at 100 and 5 at 200.

Choosing a subset you can trust

The fixes follow directly:

def stratified(rng, difficulty, k):
    order = sorted(range(len(difficulty)), key=lambda i: difficulty[i])
    thirds = [order[:200], order[200:400], order[400:]]
    per = [k // 3 + (1 if j < k % 3 else 0) for j in range(3)]
    return [i for part, n in zip(thirds, per) for i in rng.sample(part, n)]

def probe_matched(rng, outcome, k, pool_mult=5, candidates=20, probes=('probe_a', 'probe_b', 'probe_c')):
    pool = rng.sample(range(N_CASES), min(N_CASES, pool_mult * k))
    ref = [score(outcome[p], pool) for p in probes]
    best = min((rng.sample(pool, k) for _ in range(candidates)),
               key=lambda c: sum(abs(score(outcome[p], c) - r) for p, r in zip(probes, ref)))
    return best
  1. Stratify on something you already know. Difficulty from past pass rates, case category (refunds, returns, lookups), or input length. Strata you can name are also easier to explain when a subset result looks odd.
  2. Use the models you already have as probes. Last month's prompt, a smaller model, the previous release. Their full-suite results are already paid for, so choosing the candidate subset that best matches their full scores costs nothing extra at evaluation time.
  3. Audit the subset against the full suite. Every time the weekly full run happens, compare each model's subset score with its full score. If the gap exceeds a threshold you set in advance, redraw.
  4. Redraw on a schedule anyway. A subset that fit last quarter's models can drift away from this quarter's, because what the models get wrong changes. The paper's out-of-distribution results address exactly this kind of shift; a scheduled redraw is the cheap version.
  5. Size the subset for the decision. A 40-case subset is fine as a smoke test that catches a broken prompt. It is not enough to choose between two good candidates. For that, run the full suite or a much larger subset, and use paired comparisons on the same cases.

Failure modes

  • Fixed subsets get tuned to. If people iterate on prompts against the same 40 cases, the subset stops measuring the suite and starts measuring how well the prompt fits those 40. Keep the subset out of the development loop, or rotate it.
  • Probes that are too similar to each other. Probe matching works because the probes disagree across cases. Three near-identical probe models give the selector nothing to match.
  • Hidden strata. A category that is rare in the suite (gift-receipt cases, say) may be absent from many 40-case subsets. If it matters, give it its own stratum with a minimum count.
  • Nondeterministic agents. If the agent itself varies run to run, subset error and run-to-run noise add up. Measure both before trusting either.

Measuring your own tail from one past run

You do not need new model calls to learn how risky your subset size is. Take one full run of the suite, with a pass or fail per case, and resample it:

import random

def subset_tail(passes, k, draws=5000, seed=1):
    rng = random.Random(seed)
    full = sum(passes) / len(passes)
    errs = sorted(abs(sum(rng.sample(passes, k)) / k - full) for _ in range(draws))
    return {'p50': errs[draws // 2], 'p95': errs[int(draws * 0.95)], 'p99': errs[int(draws * 0.99)]}

Run it for the subset sizes you are considering and write the 95th and 99th percentile next to the decision the subset is meant to support. If the 99th percentile miss is larger than the smallest regression you care about, the subset cannot be trusted to catch that regression on a bad draw, however good its median looks. With two models' per-case results you can do the same for the ranking: count how often the subset orders them differently from the full run.

What this does not tell you

The simulation uses an invented benchmark and a simple outcome model, so its numbers show direction and scale, not what your suite will do. The paper's results are on public benchmarks and model families, and are reported by the authors, not reproduced here. To learn your own tail, take any past full run, draw a few thousand subsets of your intended size from it, and look at the 95th and 99th percentile misses and the ranking flips, exactly as the companion example does. That takes minutes and costs no model calls.

Primary references and authorship

Original explanation and synthetic examples by Sandeep Belgavi. Companion code: Sandeep-BA/agent-decision-lab/examples/python/eval_subset_tail. Views are my own and do not represent any employer, past or present.