Confidence Intervals and Statistical Significance for LLM Eval Deltas
Confidence Intervals and Statistical Significance for LLM Eval Deltas
A two-point accuracy gap between two models on a held-out eval set means almost nothing on its own. Whether that delta reflects a real capability difference or sampling noise depends entirely on how many items you tested, how variable performance was across those items, and whether you applied the right statistical test. Confidence intervals and statistical significance for LLM eval deltas are the tools that separate a real signal from a measurement artifact. This post gives you the formulas, the decision rules, and the failure modes, so you can report eval results your lab will actually trust.
The Direct Answer: What Statistical Significance Means for Eval Deltas
A statistically significant eval delta is one where the probability of observing a difference at least as large as the measured one, assuming the two models perform identically, falls below a pre-specified threshold (typically p < 0.05). Confidence intervals quantify the range of plausible true deltas given your sample. Both are necessary: significance tells you the delta is unlikely to be noise; the interval tells you how large the effect plausibly is. A significant but tiny interval centered near zero is still practically irrelevant.
Why Eval Sample Size Is Almost Always Too Small
Most in-house evals run 200 to 500 items. That range is often insufficient to detect the deltas that actually matter in post-training decisions.
The minimum detectable effect (MDE) for a two-proportion z-test at 80% power and p < 0.05 follows this approximation:
n = (z_alpha/2 + z_beta)^2 * (p1*(1-p1) + p2*(1-p2)) / delta^2
Where z_alpha/2 = 1.96 for a two-tailed test at alpha = 0.05, z_beta = 0.84 for 80% power, p1 and p2 are the baseline pass rates of the two models, and delta is the true difference you want to reliably detect.
Illustrative example: Suppose both models score around 0.70 pass rate and you want to detect a 5-percentage-point difference. Plugging in: n = (1.96 + 0.84)^2 * (0.70*0.30 + 0.70*0.30) / 0.05^2 = 7.84 * 0.42 / 0.0025 = roughly 1,317 items per model. A 200-item eval cannot reliably detect a 5-point delta at this baseline. You'd need to either increase n or accept that only larger deltas are detectable.
This is the most common gap in internal eval practice. Teams report a 3-point improvement and ship. The improvement is real noise.
Confidence Intervals and Statistical Significance for LLM Eval Deltas: The Core Methods
The Wilson Interval for Individual Pass Rates
For binary outcomes (pass/fail per item), the Wilson score interval outperforms the naive normal approximation, especially at extreme pass rates or small n. The formula for a 95% Wilson interval around an observed proportion p_hat with n items is:
center = (p_hat + z^2/(2n)) / (1 + z^2/n) margin = z * sqrt(p_hat*(1-p_hat)/n + z^2/(4n^2)) / (1 + z^2/n) lower = center - margin upper = center + margin
Where z = 1.96 for 95% confidence. Use this before you compute any delta. If the individual intervals for two models overlap substantially, the delta is almost certainly not significant, and you can skip the formal test.
Testing the Delta Directly: Paired vs. Unpaired
Whether you use a paired or unpaired test depends on your eval design, not your preference.
Design | Test | When to use |
|---|---|---|
Same items, both models evaluated on each | McNemar's test (binary) or paired t-test (continuous scores) | Standard A/B eval on a fixed item set |
Different item sets per model | Two-proportion z-test or independent t-test | When item assignment was randomized independently |
Ordinal rubric scores (1-5 scale) | Wilcoxon signed-rank (paired) or Mann-Whitney U (unpaired) | Human or LLM-as-judge ratings with ordinal output |
McNemar's test is the right default for most LLM evals. You run both models on the same items, record pass/fail for each, and test whether the off-diagonal cells (A passes, B fails; B passes, A fails) are symmetric. The test statistic is chi-squared with one degree of freedom. It directly answers the question you care about: do the models disagree on the same items, and is that disagreement systematic?
Confidence Interval for the Delta Itself
Once you have a point estimate of the delta (delta_hat = p1 - p2), construct a 95% CI around it. For independent proportions:
SE_delta = sqrt(p1*(1-p1)/n1 + p2*(1-p2)/n2) CI = delta_hat +/- 1.96 * SE_delta
For paired binary outcomes, the SE is derived from the McNemar discordant cells. Most statistical packages handle this automatically. The point is to report the interval, not just the p-value. A delta of +0.04 with a 95% CI of [-0.01, +0.09] is a very different claim than the same delta with a CI of [+0.02, +0.06].
Worked Illustrative Example: Detecting a Fine-Tune Improvement
Illustrative example (numbers are constructed for illustration):
You're evaluating a base model and a fine-tuned variant on a 600-item domain eval. Both models see the same items. Results:
Base model passes 372 items (p1 = 0.62)
Fine-tune passes 408 items (p2 = 0.68)
Delta_hat = 0.06
Of the 600 items: 54 items where fine-tune passes and base fails; 18 items where base passes and fine-tune fails; 354 items where both pass; 174 where both fail
McNemar's test statistic: chi-squared = (|54 - 18| - 1)^2 / (54 + 18) = (35)^2 / 72 = 1225 / 72 = 17.0. With one degree of freedom, p < 0.001. The delta is significant.
95% CI for the delta (using the paired SE): SE = sqrt((54 + 18) / 600^2) = sqrt(72 / 360000) = 0.014. CI = 0.06 +/- 1.96 * 0.014 = [0.033, 0.087].
Interpretation: the fine-tune improves pass rate by between 3.3 and 8.7 percentage points with 95% confidence. That's a meaningful and detectable effect. You can report it with appropriate confidence.
Common Failure Modes in Eval Statistics
1. Ignoring item-level variance
Detection: Your CI is suspiciously narrow given your n.
Fix: Check whether items cluster by difficulty or domain. If they do, cluster-robust standard errors or bootstrap CIs are more appropriate than the naive formula.
2. Multiple comparison inflation
Detection: You're comparing more than two models or more than one capability dimension simultaneously.
Fix: Apply Bonferroni correction (divide alpha by the number of comparisons) or use Benjamini-Hochberg for false discovery rate control when running many comparisons on the same dataset.
3. Treating LLM-as-judge scores as interval data
Detection: You're running a t-test on 1-5 rubric scores from a judge model.
Fix: Use Wilcoxon signed-rank for paired ordinal data. The assumption of equal intervals between rubric levels rarely holds, and violating it inflates false positives.
4. Underpowered evals reported as null results
Detection: p > 0.05 on a 200-item eval, interpreted as 'no difference'.
Fix: Compute the MDE for your n. If your eval can only detect deltas larger than 10 points, a non-significant result tells you almost nothing about smaller real differences.
5. Evaluating on the same items used for hyperparameter selection
Detection: The eval set was consulted during training or threshold tuning.
Fix: Maintain a held-out test set that no training decision touches. This is a contamination issue, not just a statistics issue, and inflated deltas from it won't be caught by any significance test.
6. Reporting pass rate without accounting for prompt sensitivity
Detection: Rerunning the same eval with a slightly different system prompt shifts results by more than the measured delta.
Fix: Sample across prompt variants and treat prompt as a random effect, or report variance across prompt conditions alongside the point estimate.
Where This Approach Breaks Down
These methods assume items are exchangeable and independently drawn from the same distribution. In practice, LLM eval sets often have latent structure: items cluster by template, by difficulty tier, or by domain subdomain. When that structure exists, the standard errors computed above are optimistic. Bootstrap resampling at the item level is more honest, but it still won't fix an eval set that's too narrow in its coverage.
Statistical significance also doesn't address whether the eval measures the right thing. A significant delta on a contaminated benchmark is a precise measurement of the wrong quantity. The statistical machinery is only as useful as the eval it's applied to. This is why task provenance and difficulty calibration matter before you run any test: if your items are web-derived or solvable by prompt engineering alone, the delta you measure isn't a capability delta.
Finally, these tests are designed for fixed evaluation sets. When you're using pass@k across multiple samples per item, the unit of analysis shifts, and the standard two-proportion framework no longer applies directly. See the Chiron Data Labs blog for more on pass@k estimation and its relationship to eval design.
Frequently Asked Questions
How many eval items do I need to detect a 5-point accuracy delta?
At a baseline pass rate of 0.70, detecting a 5-percentage-point delta at 80% power and p < 0.05 requires roughly 1,300 items per model in an unpaired design, or fewer in a paired design because pairing reduces variance. The exact number scales with baseline variance and the size of the delta you want to detect.
Should I use p-values or confidence intervals?
Both. P-values tell you whether to reject the null hypothesis of no difference; confidence intervals tell you the plausible range of the true delta. Reporting only p-values discards information about effect size. Reporting only intervals makes it harder to apply a decision threshold. Use both, and pre-specify your alpha before looking at results.
What's the right test for LLM-as-judge scores?
For paired ordinal rubric scores (1-5 per item, both models rated on the same items), use the Wilcoxon signed-rank test. For unpaired ordinal scores, use Mann-Whitney U. If your judge outputs continuous scores and you're confident in the interval assumption, a paired t-test is acceptable, but verify the score distribution first.
How do I handle multiple capability dimensions in the same eval?
Treat each dimension as a separate hypothesis and apply a multiple comparisons correction. Bonferroni is conservative but simple: divide your alpha threshold by the number of dimensions. Benjamini-Hochberg controls the false discovery rate and is less conservative when you have many dimensions and expect some real effects.
Can I use bootstrap CIs instead of analytic formulas?
Yes, and often you should. Bootstrap CIs make fewer distributional assumptions and handle clustered or skewed item-level data better than analytic formulas. Resample at the item level (not the token or turn level), compute the delta on each resample, and take the 2.5th and 97.5th percentiles of the bootstrap distribution as your 95% CI.
What if my eval set is too small to run any meaningful test?
Report the delta with its CI and the MDE for your n. Be explicit that the eval is underpowered for the effect sizes you care about. Don't suppress the result, but don't interpret non-significance as evidence of no effect. The honest answer is that the eval doesn't have enough resolution to answer the question.
What This Means in Practice
Confidence intervals and statistical significance for LLM eval deltas aren't bureaucratic overhead. They're the mechanism that keeps post-training decisions grounded in evidence rather than noise. A two-point delta on 200 items is almost always uninterpretable. The same delta on 1,500 paired items, tested with McNemar's and reported with a CI, is a decision you can defend.
The deeper issue is that statistical rigor only helps when the eval itself is sound: items that are original, difficulty-calibrated, and free of contamination. Without that foundation, precise statistics applied to a flawed eval set give you false confidence rather than real insight. Getting the eval design right is the prerequisite, not the afterthought.
For more on building evals that hold up under this kind of scrutiny, explore the Chiron Data Labs blog on evaluation methodology, or see how Chiron Data Labs approaches expert-authored, empirically calibrated tasks for frontier model evaluation. If you're building evals or RL environments in a specialist domain, get in touch with Chiron Data Labs.
A two-point accuracy gap between two models on a held-out eval set means almost nothing on its own. Whether that delta reflects a real capability difference or sampling noise depends entirely on how many items you tested, how variable performance was across those items, and whether you applied the right statistical test. Confidence intervals and statistical significance for LLM eval deltas are the tools that separate a real signal from a measurement artifact. This post gives you the formulas, the decision rules, and the failure modes, so you can report eval results your lab will actually trust.
The Direct Answer: What Statistical Significance Means for Eval Deltas
A statistically significant eval delta is one where the probability of observing a difference at least as large as the measured one, assuming the two models perform identically, falls below a pre-specified threshold (typically p < 0.05). Confidence intervals quantify the range of plausible true deltas given your sample. Both are necessary: significance tells you the delta is unlikely to be noise; the interval tells you how large the effect plausibly is. A significant but tiny interval centered near zero is still practically irrelevant.
Why Eval Sample Size Is Almost Always Too Small
Most in-house evals run 200 to 500 items. That range is often insufficient to detect the deltas that actually matter in post-training decisions.
The minimum detectable effect (MDE) for a two-proportion z-test at 80% power and p < 0.05 follows this approximation:
n = (z_alpha/2 + z_beta)^2 * (p1*(1-p1) + p2*(1-p2)) / delta^2
Where z_alpha/2 = 1.96 for a two-tailed test at alpha = 0.05, z_beta = 0.84 for 80% power, p1 and p2 are the baseline pass rates of the two models, and delta is the true difference you want to reliably detect.
Illustrative example: Suppose both models score around 0.70 pass rate and you want to detect a 5-percentage-point difference. Plugging in: n = (1.96 + 0.84)^2 * (0.70*0.30 + 0.70*0.30) / 0.05^2 = 7.84 * 0.42 / 0.0025 = roughly 1,317 items per model. A 200-item eval cannot reliably detect a 5-point delta at this baseline. You'd need to either increase n or accept that only larger deltas are detectable.
This is the most common gap in internal eval practice. Teams report a 3-point improvement and ship. The improvement is real noise.
Confidence Intervals and Statistical Significance for LLM Eval Deltas: The Core Methods
The Wilson Interval for Individual Pass Rates
For binary outcomes (pass/fail per item), the Wilson score interval outperforms the naive normal approximation, especially at extreme pass rates or small n. The formula for a 95% Wilson interval around an observed proportion p_hat with n items is:
center = (p_hat + z^2/(2n)) / (1 + z^2/n) margin = z * sqrt(p_hat*(1-p_hat)/n + z^2/(4n^2)) / (1 + z^2/n) lower = center - margin upper = center + margin
Where z = 1.96 for 95% confidence. Use this before you compute any delta. If the individual intervals for two models overlap substantially, the delta is almost certainly not significant, and you can skip the formal test.
Testing the Delta Directly: Paired vs. Unpaired
Whether you use a paired or unpaired test depends on your eval design, not your preference.
Design | Test | When to use |
|---|---|---|
Same items, both models evaluated on each | McNemar's test (binary) or paired t-test (continuous scores) | Standard A/B eval on a fixed item set |
Different item sets per model | Two-proportion z-test or independent t-test | When item assignment was randomized independently |
Ordinal rubric scores (1-5 scale) | Wilcoxon signed-rank (paired) or Mann-Whitney U (unpaired) | Human or LLM-as-judge ratings with ordinal output |
McNemar's test is the right default for most LLM evals. You run both models on the same items, record pass/fail for each, and test whether the off-diagonal cells (A passes, B fails; B passes, A fails) are symmetric. The test statistic is chi-squared with one degree of freedom. It directly answers the question you care about: do the models disagree on the same items, and is that disagreement systematic?
Confidence Interval for the Delta Itself
Once you have a point estimate of the delta (delta_hat = p1 - p2), construct a 95% CI around it. For independent proportions:
SE_delta = sqrt(p1*(1-p1)/n1 + p2*(1-p2)/n2) CI = delta_hat +/- 1.96 * SE_delta
For paired binary outcomes, the SE is derived from the McNemar discordant cells. Most statistical packages handle this automatically. The point is to report the interval, not just the p-value. A delta of +0.04 with a 95% CI of [-0.01, +0.09] is a very different claim than the same delta with a CI of [+0.02, +0.06].
Worked Illustrative Example: Detecting a Fine-Tune Improvement
Illustrative example (numbers are constructed for illustration):
You're evaluating a base model and a fine-tuned variant on a 600-item domain eval. Both models see the same items. Results:
Base model passes 372 items (p1 = 0.62)
Fine-tune passes 408 items (p2 = 0.68)
Delta_hat = 0.06
Of the 600 items: 54 items where fine-tune passes and base fails; 18 items where base passes and fine-tune fails; 354 items where both pass; 174 where both fail
McNemar's test statistic: chi-squared = (|54 - 18| - 1)^2 / (54 + 18) = (35)^2 / 72 = 1225 / 72 = 17.0. With one degree of freedom, p < 0.001. The delta is significant.
95% CI for the delta (using the paired SE): SE = sqrt((54 + 18) / 600^2) = sqrt(72 / 360000) = 0.014. CI = 0.06 +/- 1.96 * 0.014 = [0.033, 0.087].
Interpretation: the fine-tune improves pass rate by between 3.3 and 8.7 percentage points with 95% confidence. That's a meaningful and detectable effect. You can report it with appropriate confidence.
Common Failure Modes in Eval Statistics
1. Ignoring item-level variance
Detection: Your CI is suspiciously narrow given your n.
Fix: Check whether items cluster by difficulty or domain. If they do, cluster-robust standard errors or bootstrap CIs are more appropriate than the naive formula.
2. Multiple comparison inflation
Detection: You're comparing more than two models or more than one capability dimension simultaneously.
Fix: Apply Bonferroni correction (divide alpha by the number of comparisons) or use Benjamini-Hochberg for false discovery rate control when running many comparisons on the same dataset.
3. Treating LLM-as-judge scores as interval data
Detection: You're running a t-test on 1-5 rubric scores from a judge model.
Fix: Use Wilcoxon signed-rank for paired ordinal data. The assumption of equal intervals between rubric levels rarely holds, and violating it inflates false positives.
4. Underpowered evals reported as null results
Detection: p > 0.05 on a 200-item eval, interpreted as 'no difference'.
Fix: Compute the MDE for your n. If your eval can only detect deltas larger than 10 points, a non-significant result tells you almost nothing about smaller real differences.
5. Evaluating on the same items used for hyperparameter selection
Detection: The eval set was consulted during training or threshold tuning.
Fix: Maintain a held-out test set that no training decision touches. This is a contamination issue, not just a statistics issue, and inflated deltas from it won't be caught by any significance test.
6. Reporting pass rate without accounting for prompt sensitivity
Detection: Rerunning the same eval with a slightly different system prompt shifts results by more than the measured delta.
Fix: Sample across prompt variants and treat prompt as a random effect, or report variance across prompt conditions alongside the point estimate.
Where This Approach Breaks Down
These methods assume items are exchangeable and independently drawn from the same distribution. In practice, LLM eval sets often have latent structure: items cluster by template, by difficulty tier, or by domain subdomain. When that structure exists, the standard errors computed above are optimistic. Bootstrap resampling at the item level is more honest, but it still won't fix an eval set that's too narrow in its coverage.
Statistical significance also doesn't address whether the eval measures the right thing. A significant delta on a contaminated benchmark is a precise measurement of the wrong quantity. The statistical machinery is only as useful as the eval it's applied to. This is why task provenance and difficulty calibration matter before you run any test: if your items are web-derived or solvable by prompt engineering alone, the delta you measure isn't a capability delta.
Finally, these tests are designed for fixed evaluation sets. When you're using pass@k across multiple samples per item, the unit of analysis shifts, and the standard two-proportion framework no longer applies directly. See the Chiron Data Labs blog for more on pass@k estimation and its relationship to eval design.
Frequently Asked Questions
How many eval items do I need to detect a 5-point accuracy delta?
At a baseline pass rate of 0.70, detecting a 5-percentage-point delta at 80% power and p < 0.05 requires roughly 1,300 items per model in an unpaired design, or fewer in a paired design because pairing reduces variance. The exact number scales with baseline variance and the size of the delta you want to detect.
Should I use p-values or confidence intervals?
Both. P-values tell you whether to reject the null hypothesis of no difference; confidence intervals tell you the plausible range of the true delta. Reporting only p-values discards information about effect size. Reporting only intervals makes it harder to apply a decision threshold. Use both, and pre-specify your alpha before looking at results.
What's the right test for LLM-as-judge scores?
For paired ordinal rubric scores (1-5 per item, both models rated on the same items), use the Wilcoxon signed-rank test. For unpaired ordinal scores, use Mann-Whitney U. If your judge outputs continuous scores and you're confident in the interval assumption, a paired t-test is acceptable, but verify the score distribution first.
How do I handle multiple capability dimensions in the same eval?
Treat each dimension as a separate hypothesis and apply a multiple comparisons correction. Bonferroni is conservative but simple: divide your alpha threshold by the number of dimensions. Benjamini-Hochberg controls the false discovery rate and is less conservative when you have many dimensions and expect some real effects.
Can I use bootstrap CIs instead of analytic formulas?
Yes, and often you should. Bootstrap CIs make fewer distributional assumptions and handle clustered or skewed item-level data better than analytic formulas. Resample at the item level (not the token or turn level), compute the delta on each resample, and take the 2.5th and 97.5th percentiles of the bootstrap distribution as your 95% CI.
What if my eval set is too small to run any meaningful test?
Report the delta with its CI and the MDE for your n. Be explicit that the eval is underpowered for the effect sizes you care about. Don't suppress the result, but don't interpret non-significance as evidence of no effect. The honest answer is that the eval doesn't have enough resolution to answer the question.
What This Means in Practice
Confidence intervals and statistical significance for LLM eval deltas aren't bureaucratic overhead. They're the mechanism that keeps post-training decisions grounded in evidence rather than noise. A two-point delta on 200 items is almost always uninterpretable. The same delta on 1,500 paired items, tested with McNemar's and reported with a CI, is a decision you can defend.
The deeper issue is that statistical rigor only helps when the eval itself is sound: items that are original, difficulty-calibrated, and free of contamination. Without that foundation, precise statistics applied to a flawed eval set give you false confidence rather than real insight. Getting the eval design right is the prerequisite, not the afterthought.
For more on building evals that hold up under this kind of scrutiny, explore the Chiron Data Labs blog on evaluation methodology, or see how Chiron Data Labs approaches expert-authored, empirically calibrated tasks for frontier model evaluation. If you're building evals or RL environments in a specialist domain, get in touch with Chiron Data Labs.