Simulated. All systems below are planted with known success rates.
Simulated. All systems below are planted with known success rates.
Evaluations rarely compare just two systems. A paper may compare a method against a baseline on twenty benchmarks, or twenty variants of a method against one baseline. With many comparisons, some will appear significant by chance, and the interval or test that was calibrated for one comparison is no longer calibrated for the set.
To see the size of the problem, I simulated twenty systems that are truly identical to a baseline, each with a success rate of 0.70, compared on 200 shared tasks with the exact McNemar test of the companion book example. In 1,000 repetitions, at least one of the twenty tests came out significant at the 5% level in 32% of runs, with 0.75 false rejections per run on average. If the twenty tests were independent and exactly calibrated, the chance of at least one rejection would be . The simulated value is lower for two reasons: the exact test on discrete data is conservative, rejecting somewhat less than 5% of the time (about 3.7% here), and the comparisons share the same baseline and so are positively correlated. Even so, nearly a third of runs report a spurious win.
Two standard remedies control different error rates.
Holm’s step-down procedure controls the familywise error rate, the probability of at least one false rejection (Holm, 1979). Sort the -values from smallest to largest. Reject the smallest if it is at most , the next if it is at most , and so on, stopping at the first failure. It is never less powerful than the simple Bonferroni correction, which compares every -value with , and it needs no assumption about dependence between tests. The library function is holm.
The Benjamini–Hochberg procedure controls the false discovery rate, the expected share of rejections that are false (Benjamini and Hochberg, 1995). Sort the -values, find the largest rank with , and reject all hypotheses up to that rank. It rejects more than Holm and is the usual choice when you expect many true effects and can tolerate a known fraction of false leads. It is exact for independent tests and holds under certain forms of positive dependence; the simulation below uses tests that share a baseline, so I report its performance rather than assume it. The library function is benjamini_hochberg.
Simulated comparison. I planted four systems that are truly 10 points better than the baseline (success rate 0.80 against 0.70) and sixteen that are identical to it, again with 200 tasks and McNemar tests, over 500 repetitions.
| Procedure | True detections per run (of 4) | False rejections per run (of 16 nulls) |
|---|---|---|
| Unadjusted at 5% | 2.26 | 0.55 |
| Holm | 0.72 | 0.03 |
| Benjamini–Hochberg | 0.94 | 0.07 |
The trade-off is plain. Without adjustment you find more real effects but nearly one false lead in every two runs. Holm almost eliminates false leads and detects fewer than one of the four real improvements per run, because a 10-point improvement on 200 tasks is only moderately detectable even before adjustment (2.26 of 4 at the unadjusted level). Benjamini–Hochberg lands between them. None of the procedures creates power that the data do not contain. If you need to find real effects among many candidates, the remedy is more tasks, which the companion book example and the companion book quantify.
The more important discipline is to count honestly. The number of comparisons is the number you could have reported, including benchmarks you ran and dropped, variants you tried and discarded, and metrics you looked at. the companion book describes pre-registration, which fixes the family of comparisons before the data arrive.
Continue with the book
Explore the full treatment, worked examples, and exercises in Next-Generation AI, Explained and Evaluated.
Companion article for Next-Generation AI, Explained and Evaluated, published by Choral Software. Article text and original examples © 2026 Choral Software. All rights reserved.
