Stop When the Ranking Is Settled: Paired Likelihood-Ratio Stopping Inside a Modular LLM Evaluation Harness

Evaluation harnesses for large language models run every candidate model on every benchmark item, then compute scores. Much of that compute is wasted. Often the leader is clear after a few hundred items. In other cases the gap between two models is too small to resolve even with the whole benchmark, and the harness still reports a ranking. We propose making the harness decide, while it runs, whether the question it was asked has been answered. That question might be "which of these K models is best on MMLU-Pro?" or "is model A better than model B?". The harness stops querying a model once the answer is statistically certified. When the full benchmark cannot certify the answer, it says "unresolved."

The statistical core is a generalized likelihood ratio (GLR) stopping rule. This rule compares how well the data fit the claim "the current leader is best" against the most plausible world in which it is not. It is the stopping rule behind the asymptotically optimal Track-and-Stop method of Optimal Best Arm Identification with Fixed Confidence. Three features of benchmark evaluation are absent from that bandit setting: every model answers the same items, items come in subject clusters, and models differ wildly in query cost. We adapt the rule to all three. The engineering core is a modular design in which the stopping logic is a separate controller placed between the item iterator and batched inference servers, so it does not interfere with the GPU batching that makes modern harnesses fast.

Core Claim

The test should be built on paired outcomes. Two models evaluated on the same item give one of four outcomes: both right, both wrong, only A right, or only B right. Only the last two carry information about which model is better. A GLR statistic built on these "discordant" items is far sharper than one that treats each model's accuracy as an independent stream, because most items are concordant between strong models. Let $n_{ab}$ be the number of shared items that model $a$ gets right and $b$ gets wrong, and let $n_{ba}$ be the reverse count. The GLR statistic for "$a$ beats $b$" against the closest alternative of equal accuracy is

$$Z_{ab} = (n_{ab}+n_{ba})\,\mathrm{kl}\!\left(\frac{n_{ab}}{n_{ab}+n_{ba}},\tfrac{1}{2}\right)\quad\text{when } n_{ab}>n_{ba},$$

where $\mathrm{kl}(x,y)$ is the Bernoulli Kullback–Leibler divergence. The harness declares leader $\hat a$ best once $\min_{b\neq \hat a} Z_{\hat a b}$ exceeds a threshold $\beta(t,\delta)\approx \log(K/\delta)+c\log\log t$. Here $K$ is the number of models, $\delta$ is the error tolerance, $t$ is the number of item batches seen, and the iterated-log term keeps the guarantee valid at any stopping time.

The minimum over challengers matters. It says the leader only has to beat its closest competitor, not resolve every pair. Unlike pairwise McNemar testing, the rule never spends samples ordering the bottom of the leaderboard. Because the threshold is valid at every time, checking it only at batch boundaries costs at most one extra batch per model. This is the property that reconciles sequential stopping with batched GPU inference.

The claim is that this controller cuts the number of model-item queries by a large factor on standard suites, while keeping the empirical error rate below $\delta$. It also flags as unresolved exactly the comparisons that Resolution Diagnostics for Paired LLM Evaluation identifies as underpowered.

Relation to Prior Work

Three papers motivate the gap. Resolution Diagnostics for Paired LLM Evaluation frames leaderboard comparison as paired testing and finds many comparisons unresolved: 11 of 40 on the Open LLM Leaderboard v1, and 4 of 9 adjacent pairs on MMLU-Pro, rising to 6 of 9 under subject clustering. It recommends anytime-valid sequential testing. However, it works post hoc on finished leaderboards and never decides adaptively what to query. Best-of-Infinity: Asymptotic Performance of Test-Time LLM Ensembling shows that adaptive stopping pays off for LLMs: on MATH500 it matches fixed $N=10$ accuracy with about 3 samples on average. Its stopping rule is a Dirichlet-process Bayes factor over answers to a single prompt, not a frequentist test that ranks models across a benchmark. A Composable Evaluation System for Reproducible Omni-Modal Foundation Model Evaluation supplies the system we build on. OmniEvaluator splits evaluation into four stages: data iteration, inference, post-processing, and metric computation. It pools federated GPU servers for a 1.3–2.8× speedup, and uses a 0.6B semantic verifier with 85.0% accuracy on human-verified labels. It still evaluates exhaustively.

Three papers supply the method. Optimal Best Arm Identification with Fixed Confidence provides the GLR-against-closest-alternative rule and its lower bound; we replace its independent arms with paired, shared-item observations. Cost Aware Best Arm Identification provides the square-root-cost sampling rule of its Chernoff Overlap algorithm. That algorithm runs 20–40× faster than exact cost-aware tracking with nearly identical identification. We reuse it to avoid solving an optimization at every step, which matters when arms are API endpoints. Fast Cross-Validation via Sequential Testing is the closest ancestor. It prunes hyperparameter configurations with Cochran's Q, Friedman tests and Wald's sequential test, running 50–120× faster than full cross-validation. It uses a fixed "safety zone" rather than a closest-alternative statistic, and it targets supervised tuning rather than multi-model benchmark suites with heterogeneous serving costs.

One paper constrains the design. Pure Exploration with Feedback Graphs shows that binary outcomes become unidentifiable when a zero reward cannot be told apart from a failed observation. Our analogue is a parsing failure scored as a wrong answer. This is why the post-processing stage must use a semantic verifier, and why verifier errors must be modelled rather than ignored.

Research Program

We will build a controller module that plugs into an OmniEvaluator-style schema. The data-iteration stage stops being a fixed loop and becomes a query policy. Each round, the policy draws a batch of $B$ unseen items, sampled without replacement and stratified by subject. It sends the batch to the current leader and to the challengers whose $Z$ is smallest. Each model's inference request is weighted by $1/\sqrt{c_m}$, following Cost Aware Best Arm Identification, where $c_m$ is the measured per-item cost of model $m$: GPU-seconds for local models, dollars for API models, converted to one currency by a user-set exchange rate.

Inference servers see ordinary batches, so throughput is preserved. Post-processing applies the semantic verifier. The controller updates the discordant counts and the stopping statistic, and either stops or issues the next batch. If the item pool is exhausted first, the output is "unresolved at $\delta$." That is the honest answer for the cases Kotawala flags.

The work has three analytic pieces. First, we derive the stopping threshold for paired sampling without replacement from a finite item pool, and choose what the guarantee is about: the finite benchmark's accuracy, or the accuracy on the distribution the benchmark was drawn from. We will report both. Second, we handle subject clustering. We will use a stratified statistic that sums per-subject discordant evidence under proportional allocation. We will test empirically whether it keeps validity where an unstratified statistic fails; the 4/9 to 6/9 jump suggests the unstratified statistic will fail. Third, we will account for verifier noise. We model the verifier's error rate, estimated on its human-labelled split, as a known flip probability. Symmetric flips do not change which model leads, but they do shrink the observed discordance, so the threshold must be inflated accordingly.

Baselines

The naive reference is exhaustive evaluation: every model on every item, scored once, which is the current behaviour of the OmniEvaluator harness. It defines the ground-truth ranking and the cost ceiling. Beating it means using a small fraction of its queries, at an empirical misidentification rate no higher than $\delta$ and with identical outputs on resolved comparisons.

The strongest statistical competitor is an anytime-valid pairwise McNemar procedure, the direct operationalization of Kotawala's recommendation. Items are evaluated in uniform random order on all models. Every pair is tested with a time-uniform threshold under a Bonferroni correction over $K(K-1)/2$ pairs, and a model is eliminated once some other model beats it. This is the strongest competitor because it already exploits pairing and anytime validity. It lacks only the closest-alternative minimum and adaptive, cost-aware allocation. We will run it on the same cached outcomes and item orders, with the same $\delta$ and batch size and the same verifier, and give it the same tuning budget for its one free constant. Our method beats it if it needs significantly fewer model-item queries, or less dollar cost, at matched error.

The bandit reference is Track-and-Stop with KL-LUCB as a secondary comparator. Each model is treated as an independent Bernoulli arm, ignoring pairing. In the file's 5-arm synthetic bandit, Track-and-Stop needs about 4,000 draws versus over 8,000 for KL-LUCB (Optimal Best Arm Identification with Fixed Confidence). We expect pairing to beat both by a margin that grows as models agree on more items.

The sequential model-selection reference is CVST-style elimination with Cochran's Q and a safety zone (Fast Cross-Validation via Sequential Testing). Its reported speedups are 50–120× on kernel model selection. There is no reported result on Lacuna for any adaptive stopping method that ranks LLMs on MMLU-Pro or the OLL v1 suite, so these comparisons will be new.

Three ablations isolate the key ingredients. The first keeps our stopping rule but samples models uniformly, which separates the value of the stopping statistic from the value of allocation. The second keeps everything but scores with exact-match parsing instead of the verifier, which measures the identifiability cost of parse failures. The third drops subject stratification, which measures the validity cost of clustering.

Why not just…?

Why not just run anytime-valid pairwise McNemar tests, as Kotawala suggests? This is the real threat, and it may capture most of the gain on small leaderboards. The difference shows up as $K$ grows and as the bottom of the ranking spreads out. Pairwise testing pays a $\log K^2$ correction and keeps querying weak models until every pair separates. The closest-alternative rule only needs the leader against its nearest rival. The uniform-allocation ablation against this baseline settles the question directly. If the two are within noise at $K\le 10$, we will narrow the claim to large-$K$ and cost-heterogeneous settings.

Why not just evaluate on a random 10% subset? A fixed subset is blind to instance difficulty. It wastes queries on easy comparisons and is underpowered on close ones. Fast Cross-Validation via Sequential Testing reports that 10% subsetting yields worse choices than sequential tests. Resolution Diagnostics for Paired LLM Evaluation shows that power shortcuts underestimate the needed sample size by about 2× for close pairs. We will include fixed fractions of 5%, 10% and 25% and report how often each certifies a wrong leader.

Why not just use full Track-and-Stop with optimal allocation? Exact tracking requires a max-min optimization at each step. Cost Aware Best Arm Identification reports that this is 20–40× slower than the square-root heuristic for nearly identical identification. Moreover, its independent-arm model discards the pairing. We will run it anyway as a reference, to confirm that the heuristic loses little.

Proposed Experiments

The first phase is a replay study. We run a pool of open models of differing size, plus a few API models, exhaustively once on MMLU-Pro (12,032 items, 14 subjects) and on the OLL v1 suite (ARC-Challenge, HellaSwag, Winogrande, GSM8K). We cache per-item verifier verdicts and costs. Every method is then replayed over 1,000 random item permutations at $\delta\in\{0.01,0.05\}$.

We report three metrics. The first is empirical misidentification rate against the exhaustive ranking. The second is queries and cost as a fraction of exhaustive. The third is agreement between our "unresolved" outputs and the pairs Kotawala's resolution ratio marks unresolved. The decisive checks are threefold. Error must stay below $\delta$ under subject-structured permutations, and the unstratified ablation should break that guarantee. Our method should beat the pairwise McNemar baseline in cost at matched error. And the controller should resolve the clear pairs early while leaving the 6 of 9 cluster-affected MMLU-Pro pairs unresolved rather than falsely ordering them.

The second phase is live. The controller runs inside a federated harness with batch sizes from 8 to 256. We measure wall-clock time and GPU utilization against exhaustive federated evaluation, to show that batch-boundary stopping keeps the 1.3–2.8× pooling gains while removing most of the queries.

A synthetic sanity check on Bernoulli bandits with controlled item-level correlation between arms completes the study. It confirms that our gains over independent-arm Track-and-Stop grow with the concordance rate, as the paired statistic predicts.