Omid Golchin · Study
Error Bars for LLM Evals
When an LLM is scored on N questions with K repeated runs each, which confidence intervals actually contain the true accuracy 95% of the time, and should a fixed budget of calls go to more questions or to more runs?
Main result
The usual interval covers 69–80%, not 95%
Pooling all N × K runs and taking a Wilson interval, the common practice, contained the true accuracy only 0.69 to 0.80 of the time at the typical 50 questions × 5 runs design, and it got worse as runs were added. Intervals that treat questions as the units (cluster-robust, question means, two-stage bootstrap) stayed near 0.95. At a fixed 250-call budget, 250 questions × 1 run gave the narrowest correct interval for all three models.
Design
- Runs: three models answered the same 400 GSM8K test questions 5 times each, 6,000 calls through Together AI (temperature 0.7, one fixed zero-shot prompt); total spend $4.67.
- Truth: each model's accuracy over its full 400 × 5 grid.
- Coverage check: for 16 designs (N = 25 to 200 questions, K = 1 to 5 runs), 2,000 smaller evals drawn from the real runs; coverage is the share whose interval contains the truth.
- Frozen plan: design, methods and decision rules were fixed in PLAN.md, with a SHA-256 manifest, before the main run; none was changed afterwards.
- Credit: clustering by question is the recommendation of Miller (2024, arXiv:2411.00640). This study adds an empirical coverage check on real runs, a hierarchical Bayesian comparison and budget guidance.
Explore the results
Do the intervals really cover?
Pick a model, an interval method and a design. Each number comes from thousands of subsamples of the real runs, so you can see how often each kind of "95%" interval actually contained the model's true accuracy.
Same budget, split differently: more questions or more runs?
Fix the budget at 250 model calls and split it four ways: 250 questions × 1 run, 125 × 2, 83 × 3, or 50 × 5. The chart shows the median interval width each split actually produced in the runs, against the width predicted from the variance components. Same model as above.
Why questions beat repeats
An accuracy estimate varies for two reasons: questions differ in difficulty (between-question variance, σ²q), and the same question flips between runs (within-question variance, σ²w). The variance of the estimate at design (N, K) is σ²q/N + σ²w/(N·K). Extra runs only shrink the second term; extra questions shrink both. For these models the first term dominates, so repeats are a poor buy:
| Model | σ²q (between questions) | σ²w (within question) | Parse-failure rate |
|---|
Clustering uncertainty by question is not this project's idea: it is the recommendation of Miller (2024), “Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations” (arXiv:2411.00640), and this project follows it. What is added here is the empirical coverage check on real runs, the Bayesian comparison, the budget guidance, and this results page. All numbers are precomputed from the saved runs — the page makes no live model calls.
Limitations
- One benchmark (GSM8K) under one prompt; results may not transfer to other benchmarks, prompts or sampling settings.
- Three models in a mid-range accuracy band; behaviour near 0% or 100% accuracy is out of scope.
- "Truth" is the mean over the 400 × 5 pool, not the population value, so coverage at large N is conservative in that specific way.
- One model had a 31.6% parse-failure rate, so part of its measured inaccuracy is output behaviour.
- The hierarchical Bayesian interval under-covered for the highest-accuracy model; reported as-is, with no post-hoc fix.