Manuscript Offprint
arXiv:2610.07755Trustworthy Method Comparison with AI Judges: Estimation and Design under Order, Batch, and Aggregation Effects
Abstract
Large language models (LLMs) are increasingly used as judges for automated AI evaluation. A common practice is to randomize prompt sequences and average the resulting scores, but its statistical validity remains unclear. We show that LLM evaluation mechanisms can be approximated by a class of Markov generalized linear mixed models (GLMMs), supported by out-of-sample predictions across three major commercial LLMs. Using a first-order Markov GLMM, we study leaderboard ranking and group comparison. For leaderboard ranking, randomize-and-average selection is consistent under a mild separation condition, and a Williams square design can improve efficiency when item qualities are close. For group comparison, naive averaging can yield inconsistent conclusions about differences in group-level quality because of the response model's nonlinearity. Empirical results further support the validity of the proposed model-based inference beyond the first-order theory, including settings with higher-order sequence memory. We illustrate the approach in an application where AI judges compare two graphical model estimation methods.
1 Introduction
Generative large language models (LLMs) are increasingly used as AI judges, scoring and ranking candidate responses, model versions, and even grant proposals at a scale that human raters cannot match. For example, a traditional grant review panel reads a slate of proposals in one review session and makes a sponsoring decision for each. An AI judge can be placed as a screening gate for such a panel by identifying promising proposals before human panels spend effort. For another example, comparing two methods using a benchmark dataset is a common task in scientific publications. When the task involves interpretation and domain knowledge, such as variable selection in genetic studies or graph construction by graphical models, an AI judge with broader background knowledge can take the output of the two methods and help with evaluating whether one gives more scientifically meaningful results. In these examples, a number of items to be evaluated go to the judge together in one shared context, and a decision or “meaningful” label is assigned by the AI judge.
In many of these cases, the items for evaluation are provided together in a batch. This is not only how tasks are commonly posed, since a judgment about one item is made against the standard the rest of the slate sets, but also the token-economical choice to reduce repetitive prompts. In such settings, a judge's ratings may not be independent: what the judge says about the fifth item depends on what it has just said about the fourth. That dependence is the source of complications for much of the related research. In particular, whether the resulting evaluation can be trusted raises two critical questions.
The first is whether the judge is measuring the right thing. Does the criterion it applies track the quality a human evaluator ultimately cares about? This is a question of validity, and it is where most of the field's attention has gone. MT-Bench and Chatbot Arena calibrate judge ratings against human preference data [Zheng et al., 2023, Chiang et al., 2024]; AlpacaEval's length-controlled revision corrects a specific, documented misalignment between the judge's criterion and the human target [Dubois et al., 2024]; and recent surveys and audits catalog the ways a judge's criterion can drift from the intended one [Gu et al., 2024, Ye et al., 2024].
The second question, which is equally important, is whether we can recover what the judge actually concluded. Given a criterion, aligned or not, the judge is typically queried a finite number of times under a common protocol for stability, and its answers are aggregated into a score, a ranking, or a conclusion about which of two groups is better. Does that aggregation return the judge's own answer, or does the procedure introduce error of its own? This is a question of measurement rather than validity. A perfectly aligned judge tells us nothing useful if the aggregation step distorts its answer, and, as we show, the distortion can grow with the evaluation budget, so that the more one spends on collecting more answers, the more confident one could become in a conclusion the judge never reached.
In this paper, we focus on solving the second problem (measurement). We take the judge's criterion as given. Every failure we study is therefore a failure of the evaluator's statistics rather than of the rubric it was judged by, and every remedy is a change of estimator or of experimental design rather than of prompt.
The dominant evaluation pipeline used in practice has two steps. First, items are presented to the judge in randomized order to mitigate the well-documented position bias of LLM judges. Such bias has been observed in pairwise judging [Zheng et al., 2023, Wang et al., 2024], list-wise ranking [Shi et al., 2024], and multiple-choice option order [Pezeshkpour and Hruschka, 2024], and is reviewed together with other judge biases in recent surveys and audits [Gu et al., 2024, Ye et al., 2024]. Proposed remedies include reversing presentation order and averaging scores [Wang et al., 2024], splitting and re-merging candidate answers [Li et al., 2024], bootstrapping over reshuffled presentations [Hou et al., 2024], symmetrizing pairwise comparisons [Liusie et al., 2024], and multi-agent debate [Khan et al., 2024]. These remedies are largely heuristic, format-specific, and often computationally costly. Second, each item is scored by its marginal average rating, and these averages are compared or ranked. Variants of this “random shuffle followed by marginal averaging” pipeline underlie many contemporary judge-based benchmarks, including MT-Bench, which averages absolute grades [Zheng et al., 2023], and AlpacaEval, which averages win rates against a fixed baseline [Dubois et al., 2023, 2024]. A notable exception is Chatbot Arena, which fits a logit-scale Bradley–Terry model to pairwise votes [Chiang et al., 2024] and is therefore insulated from the bias studied below. It is the second step, the estimator, that the order-effect literature largely leaves untouched. Yet aggregation itself can introduce systematic error: a biased, order-dependent rating process can distort marginal averages in ways that randomization cannot remove. As we show, this is where the statistical failure arises.
A statistical model is needed to assess the validity of the “randomize and average” procedure and to develop improved alternatives. We show that an LLM judge scoring a shuffled batch can be well approximated by a Markov generalized linear mixed model (GLMM), in which each item’s binary rating follows a Bernoulli distribution on the logit scale, with a serial effect, a cold-start effect, and a batch-level random intercept. We view this as a working model class, rather than a representation of the judge’s internal mechanism. Its adequacy can be assessed empirically through out-of-sample predictive evaluation, as demonstrated in our experiments.
Under the order-1 Markov GLMM, we study two common evaluation tasks. For leaderboard ranking, which seeks to identify the best item in a pool, we show that the naive average is consistent under a mild separation condition. A Williams Latin square design, combined with the same estimator, can further improve selection performance at no additional computational or token cost. In contrast, for group comparison, the A/B test of whether one collection of items outperforms another, the naive procedure can fail. We show that it is structurally biased, leading to invalid point estimation and hypothesis testing; increasing the evaluation budget does not remove this bias. A unified alternative is to fit the GLMM under an ordinary random shuffle and conduct standard model-based inference. This procedure is valid for both tasks. Although the theory is developed under the order-1 model, we further show that an order-1 approximation can still provide reliable inference when the judge exhibits higher-order memory.
The rest of the paper is organized as follows. Section 2 introduces the Markov-GLMM working model for an AI judge and establishes its empirical adequacy. Section 3 analyzes leaderboard ranking and the properties of the Williams design, while Section 4 analyzes group comparison and the nonlinearity bias of naive averaging. Section 5 considers judges with memory beyond first order, a setting outside our design theory. Section 6 applies the group-comparison method to a real problem, using AI judges to compare two graphical model estimation methods based on the scientific meaningfulness of their discovered associations. Section 7 concludes with further discussion.
Gemini 2.5 Flash provides a representative example. We first examine whether the judge's rating depends on the preceding rating in the same batch. Figure 1 shows that, pooled over positions 2–30, an item presented immediately after a rejection is accepted 73.0% of the time, compared with 66.6% after an acceptance, a difference of -6.4%. Using 2,000 bootstrap resamples of the batches, the corresponding 95% interval is , and all resamples yield a negative gap. The pattern also persists across positions in the batch (Figure 1b). This observation suggests, though does not prove, a negative serial effect.
The opening slot of a batch has no predecessor, so it is excluded from the preceding comparison. Figure 1 also shows that the acceptance rate at the first position can be lower than at positions following a rejection.
Although these results are shown for one judge, qualitatively similar patterns appear for the other two. They motivate a working model in the next subsection.
2.1 A working model for sequential AI judges
We do not seek to recover the internal generative mechanism of an LLM. Instead, we propose a working model class, namely a family of Markov generalized linear mixed models. The goal is to approximate the judge's rating process at the scale relevant for evaluation, providing a basis for estimation, design, and inference. Its adequacy is assessed empirically in Section 2.3.
We consider a fixed pool of items, such as grant proposals, candidate model responses, or essays, evaluated by an LLM judge. The items are presented sequentially within each batch, and the judge assigns a binary rating (accept/reject, valid/invalid, etc.) to each item. This protocol is repeated over batches. Let denote the rating at within-batch position of batch , let denote the item occupying that slot, and let denote the intrinsic quality of item .
The batched protocol is common in practice. It resembles expert-panel evaluation, where items are assessed within a shared slate, and is also token-efficient for LLM evaluation because

(a) Pooled over positions 2–30.

(b) The same split, position by position.
Figure 1: Dependence on the immediately preceding rating in the illustrative judge (Gemini 2.5 Flash), visible in the raw data before any modeling.
instructions and rubrics are shared across items. The resulting context sharing induces the dependence of interest: within a batch, each rating may depend on preceding ratings. The previous subsection identified three features: dependence on previous ratings, a distinct first-position effect, and batch-level heterogeneity.
A natural statistical tool to capture these features is a mixed-effects model with Markov dependence. In particular, we encode the patterns through a contextual shift added to quality on the logit scale, and model the rating at slot , for item , as conditionally Bernoulli:
The model class is indexed by memory depth , with
with boundary convention for . Here is the serial contrast at lag , is the cold-start effect on the first item of a batch, and is a batch-level random intercept capturing variation in judge stringency across batches. The model includes as special cases no serial contrast ( ), no cold-start effect ( ), and no batch-level variation ( ). The depth is not fixed a priori. We select it separately for each judge by standard model-selection criteria; Section 2.2 selects for Gemini 2.5 Flash and for GPT-5.4-mini and Claude Haiku 4.5.
The key structural feature, shared by every member of the class, is that depends only on information preceding slot : it is a function of previous ratings, the position indicator, and the batch effect, but not of the item identity . Combined with a randomized, item-exchangeable allocation (Assumption 1), this yields a single generic contextual shift , defined as the position-averaged distribution of over a batch, unconditional on the item occupying the slot.
We then define the marginal win probability
The map is convex when almost surely and concave when almost surely.
Assumption 1 (Exchangeable allocation in independent randomization units). The allocation is exchangeable across items, meaning that for every permutation of , the law of equals that of , and the allocation is independent of and the ratings' conditional draws. Every batch presents every item exactly once, so is both the number of batches and the per-item evaluation budget. Moreover, the allocation is generated in independent randomization units: either (a) the within-batch orders are drawn i.i.d. across batches, or (b) the batches form i.i.d. blocks of consecutive batches, with the within-block orders given by a fixed array of sequences composed with a single item-to-symbol bijection drawn uniformly and independently for each block.
Two allocations satisfy this assumption and are compared in the paper: the complete random shuffle, corresponding to (a) with uniformly random orders, and the balanced Williams design of Section 3, corresponding to (b) with and an independently redrawn item-to-symbol assignment for each block. The independent-unit condition ensures the applicability of the law of large numbers, central limit theorem, and concentration bounds used below, with the batch as the unit under (a) and the block under (b). Exchangeability alone is insufficient, since it permits, for example, a single random order to be reused across all batches, yielding random limits for the empirical win rates. Exchangeability allows both designs to be treated within a common framework and ensures that the reference law , and hence the map in (3), is the same under either design.
The model (2) is a transition (Markov) model of order K. Conditional on , the chain rule factorizes the batch joint probability according to the previous K ratings, so the “lagged response as covariate” objective maximized by a mixed-model routine is the exact likelihood. Thus, (1)–(2) can be fitted by maximum likelihood using standard mixed-model methods, with likelihood-based inference available directly. Under mild regularity conditions, the GLMM MLE is consistent and asymptotically normal as the number of independent randomization units grows, following standard GLMM inference theory (see Supplement G).
One practical caveat is separation. For example, if an item is accepted or rejected on nearly all of its appearances, the corresponding may have no finite maximum likelihood estimate. A common remedy is to use a weakly informative prior on the fixed effects, such as a Gaussian prior, equivalent to a ridge penalty [Chung et al., 2013], or a heavier-tailed Cauchy prior [Gelman et al., 2008]. When penalization is used, inference can be based on the bootstrap. Under the random-shuffle design, the experimental unit is the batch, and the bootstrap resamples whole batches with replacement.
2.2 Fitted models for three AI judges
Figure 2 reports the bootstrap estimates of the memory kernel for all three judges from the proposal evaluation data, using ridge-penalized fitting, with V = 30 and N = 200. The lag-1 contrast is negative and supported by the bootstrap for all three judges, indicating that an acceptance lowers the probability of a subsequent acceptance. Memory depth nonetheless varies. Gemini's signal is confined to lag-1; GPT-5.4-mini shows an additional supported lag-3 effect and a borderline cold-start effect; and Claude shows significant negative contrasts at all three lags and a significant cold-start effect. The batch random effect is substantial in all three, with equal to 0.446, 1.173, and 0.418, and the overall acceptance rate decreases across the three judges, from 0.686 to 0.675 and 0.567.
We emphasize that this shared structure is specific to these three judges and this task. For other tasks and judges, an appropriate specification should be selected within the proposed model class, or a suitable extension, rather than adopting the fitted structure found here.
Lag-1 contrast (previous_label)

Lag-2 (lag2_label)
Lag-3 (lag3_label)
Cold-start (is_position_1)
Figure 2: Cross-model serial-contrast estimates of coefficients, with the bootstrap 95% intervals.
2.3 Model adequacy by out-of-sample predictive evaluation
Establishing that the GLMM is a reasonable summary is not sufficient for our study. Sections 3 and 4 build estimators and tests on top of (1)–(2), so if the working model were missing important structure, and capturing the judge truly required a neural-network surrogate, those guarantees would be vacuous. We therefore assess model adequacy through out-of-sample predictive checks of lagged transition probabilities, using newly collected batches that were not used for model fitting or selection.
We collected 100 new batches using shuffled ordering. Meanwhile, we froze each judge's fitted GLMM and simulated 500 datasets from these fitted models under the same new orderings. For any quantity computed from the new test data, we can use the 500 simulated datasets to construct confidence intervals (by taking the corresponding percentiles). The resulting 95% prediction intervals cover 34 of 36 (94.4%) lagged-transition probabilities (Figure 3); the two misses are GPT-5.4-mini's lag-2 and lag-3 0→1 cells. Also, the predictive intervals are narrow, relative to the magnitude of the true values. The approximately correct and informative coverage supports the working model. Note that the intervals condition on fitted parameters, so this is a predictive diagnostic rather than a formal goodness-of-fit test. We also calculate the predictive CIs for three conditional-entropy values (up to order 3) on the new data and all of these are correctly covered. More details about this experiment can be found in Supplement A.

(a) Gemini 2.5 Flash.

(b) GPT-5.4-mini.

(c) Claude Haiku 4.5.
Figure 3: Predictive performance check. Each panel has two blocks. Above the rule: the twelve transition terms. Below the rule: the three conditional entropies . For every term we compare the value observed in the 100 new batches against the 95% prediction intervals. The intervals are shifted to the common center for visualization purposes.
In summary, we have shown that the proposed Markov GLMM family can serve as a reasonable approximation of the AI judging mechanism under the batch protocol. In the next two sections, we will use this model to study the “randomize and average” evaluation strategy for a deep understanding of its properties.
3 Task 1: Leaderboard Ranking
The design theory of this section and of Section 4 is developed for the lag-1 working model of Section 2, the first-order member of the class (2).
Assumption 2. The judge satisfies (1) with the K = 1 member of (2),
where we write , with boundary convention . Define . The margin in Proposition 1 below allows for the order-1/V dependence of each item's win rate on the rest of the pool.
The first canonical task is the leader selection: from all the items, we want to identify the best one. As the marginal win probability of (3) is strictly monotone in quality, the naive win-rate ranking is expected to be order-consistent, as we will rigorously verify. We will also show that we can further improve the performance via a balanced design. In particular, we will show that a Williams square design gives a variance reduction.
Let the items have distinct qualities , so item 1 is the unique optimum and is the minimal quality gap. Recall the naive marginal estimator is , where is the position of item in batch , and the corresponding selection rule is , with ties broken by any fixed rule.
The performance metric we care about is the probability of correct selection , where the subscript records the design under which input orders were generated. We consider two designs under Assumption 1 to give the presentation orders in the batches:
• Random Shuffle , in which the N within-batch orders are drawn i.i.d. uniformly;
• Williams Latin square , a balanced design that is simultaneously position balanced, so that each item appears equally often in each of the V positions, and first-order carryover balanced, so that each ordered pair appears as consecutive items equally often [Williams, 1949]. Such a square exists for every even V, which we assume throughout for this design. Both forms of balance are properties of a complete square of V batches, so we take the budget N to be a multiple of V; the design is then N/V stacked squares, and the item-to-symbol assignment is redrawn independently for each of them, so every block is exactly balanced. We call the result the symbol-randomized Williams design: the square itself is deterministic, and the only randomness is the uniform assignment of items to its symbols, redrawn per block. More details can be found in Jones and Kenward [2015].
Intuition based on classical experimental design theory suggests the advantage of the Williams Latin square design: it makes every item's measurement conditions identical, since each item spends the same number of batches in each position and follows each other item equally often. Two features, nevertheless, separate our setting from the classical one. First, instead of a standard mixed effect model, our current model is Markov with a serial effect on the logit scale. Second, the naive estimator is not an unbiased estimator of the true strength parameter ; meanwhile, our primary goal is to recover the top item, instead of estimating the individual parameters. The classical experiment design results are therefore not directly applicable. However, as we show next, the principled idea of balanced design still works.
3.1 Theory for the naive estimator in leaderboard selection
We will start with an initial result showing that the naive “randomize-and-average” method works for this task. Technical details are included in Supplement H.1.
Proposition 1. Under Assumptions 1 and 2, if the gap between the two top items is sufficiently large such that , naive selection is consistent under either design,
Moreover, for every and every .
Consistency in holds for any pool whose two leaders are separable. So the naive “randomize-and-average” recipe under both designs is consistent for the task. Based on the above result, any advantage of one design over the other must therefore live in the variance and that is what we will study next. Writing for the vector of contrasts , , and for its mean once the design is drawn, the law of total variance decomposes the covariance under either design into the same two pieces,
The first term is sampling variation with the design fixed; the second is variation from randomized presentation orders. Let be the expected rating of item in order , and its average expected rating over a Williams block with symbol assignment . Define and , with uniform random orders or assignments. The corresponding design variances are and . In addition, we write and for the second term, the design term, under the random shuffle and under the symbol-randomized Williams design, respectively. What is being averaged over differs: for the shuffle the design draw is the independent orderings, for Williams it is the per-block item-to-symbol bijections.
For the design variance to be worth removing, it must be present in the first place. Equivalently, we need expected ratings to vary across slots.
Assumption 3 (Non-degenerate design variance). , and every top contrast carries positive per-batch design variance: for every .
Proposition 2 (Finite-sample variance dominance). Fix the item qualities and let Assumptions 1 and 2 hold. Then for every budget N (a multiple of V),
and the right-hand side does not depend on . If all qualities are equal then exactly, so the right-hand side is , positive under Assumption 3. Both sides are continuous in ; hence for every common value at which Assumption 3 holds for the flat configuration , there is a such that whenever , every contrast has strictly smaller variance under the Williams design at every finite .
To compare selection accuracy when leading items are close, consider . Write . At , let and for ; exchangeability makes these derivatives independent of the chosen indices.
Theorem 1 (Mean separation and selection dominance under local alternatives). Consider the local-alternative regime with bounded and fixed contrasts , , where is even, and let Assumptions 1 and 2 hold.
(i) Under both designs,
the background level and the bulk coefficients , , canceling exactly in every contrast.
(ii) If, in addition, Assumption 3 holds at the flat configuration , that is,
for every k, and the self-effect is stronger than the cross-effect, ,
The condition of part (ii) says that the evaluation of item depends more on its own quality than on that of another item , which is intuitively reasonable.
We want to give a summary of the theoretical study above. Overall, for this leaderboard task, the naive estimator remains valid under both designs. We can expect the Williams design to give some advantage, but generally speaking such a gain need not be substantial. However, given that the Williams design does not introduce extra cost in computation, such a gain can still be beneficial, as demonstrated next in our simulation examples.
3.2 Simulation evidence
We simulate items under two fitted judges: Gemini 2.5 Flash gives a nearly flat position profile (Setting 1), whereas Claude Haiku 4.5 gives an uneven profile (Setting 2). Each panel has one best item with gap and otherwise equal qualities. We compare both estimators under both designs at , using 10,000 replicates per cell and uniformly randomized ties. Configuration details can be found in Supplement B.
Table 1 gives the result. In Setting 2 the Williams design is ahead at every budget, by 1.2, 2.0 and 3.1 percentage points. In Setting 1 it is not: the three gains are , and , scattered about zero. The selection probability itself barely changes down either column, as the local scaling intends. The GLMM model-based estimator is always a valid option, and the comparison between the naive estimator and the GLMM estimator depends on the setup of the problem. However, the Williams design does not help the GLMM estimator — the model fitting has already fully leveraged the information.
The direction of the effect matches Proposition 2: the naive estimator gains under the uneven profile of Setting 2, while in Setting 1 the predicted design-variance removal is far below what 10,000 replicates can resolve and no gain is detectable. In contrast, the design does little for the model-based estimator, which already accounts for position.
The advantage is real but modest, about two percentage points of selection accuracy in the favorable configuration, consistent with removing a tenth of the variance of a contrast. Moreover, it is small for a structural reason: the profile's departure from flatness is concentrated in the first slot, which is one slot out of , so the design variance available to be removed shrinks as the item pool grows. Balancing is a tool for small pools evaluated on tight budgets, which is the regime studied here.
Table 1: Top-1 accuracy (%) for all four combinations of estimator and design, , 10,000 replicates per cell (Monte Carlo standard error 0.71 on each gain). The item panel is with , the local scaling of Theorem 1, so the selection problem holds constant difficulty as the budget grows. Setting 1 has a nearly flat position profile, so the removable design variance is nearly zero; Setting 2 has a strongly uneven profile and a substantial predicted gain, which is what the naive columns show.
| Setting | Naive average (%) | GLMM contrast (%) | |||
|---|---|---|---|---|---|
| Budget | random | Williams | random | Williams | |
| Setting 1 (Flat) | 44.6 | 44.1 | 44.4 | 44.5 | |
| 47.8 | 47.7 | 47.8 | 48.2 | ||
| 49.8 | 49.3 | 49.8 | 49.5 | ||
| Setting 2 (Uneven) | 46.7 | 47.9 | 49.6 | 49.0 | |
| 48.0 | 49.9 | 51.3 | 51.5 | ||
| 48.1 | 51.2 | 50.9 | 52.3 | ||
In summary, we find that ranking is the forgiving case. The naive estimator is already consistent under a mild separation condition, and a classical balanced design can further sharpen it at no computational cost, though the magnitude of the improvement varies case by case.
4 Task 2: Group-Level Inference
The other canonical evaluation task is group-level comparison: given two collections of items, such as two prompting strategies, or two candidate model versions, decide whether the AI judge rates one group higher than the other on average. This is the test of the evaluation world. The naive method records each item's empirical win rate and aggregates these values to the group level for final comparisons, as used by many contemporary judge-based benchmarks and leaderboards [Zheng et al., 2023, Dubois et al., 2023, 2024, Chiang et al., 2024]. In this section, we show that, unlike the more forgiving leaderboard task, group-level inference is vulnerable to the nonlinearity of the problem, and that the naive method can lead to wrong conclusions about differences in mean latent item quality.
4.1 The population-level bias
Let and partition the items into groups of sizes and . Under (1), define the group means, within-group variances, and third central moments, for , by
Following the latent-scale formulation of item response models [De Boeck and Wilson, 2004], we define group quality as the mean item effect on the logit scale. Our target is therefore , the difference in average item quality after accounting for the modeled sequential and batch effects. As a linear contrast of the GLMM parameters, admits estimation and inference under Proposition 3. In contrast, the naive group contrast is
Intuitively, the trouble is that estimates a nonlinear transform of quality, namely up to a correction of order (the last term in (8)), and averaging a nonlinear transform is not the same as transforming the average. Typically, the discrepancy is governed by the curvature of , and curvature does not cancel between two groups unless they have the same spread. The following result makes this precise. Write and ; a single third-order expansion of about then describes the naive limit.
Theorem 2. Under Assumptions 1 and 2, with , for every (zero or not), as ,
(8)
where the implied constant depends only on and on the ratio of the two group sizes, and the slope satisfies .
Consider (8) in the special case
(9) which we call the matched-third-moment null. The second condition holds, for instance, whenever the two within-group quality distributions are symmetric. Under (9), and , so the signal term, the third-moment term, and every -part of the remainder become zero, and the limit of the naive estimator carries the curvature term , nonzero whenever the groups differ in spread ( ) and has nonzero curvature at . The limit itself is nonzero whenever the curvature term dominates the remainder of (8). The bias is a pure artifact of the probability scale that the naive method relies on. This is a classical phenomenon arising in the new context of AI evaluation. In longitudinal and clustered-data models it is well understood that averaging a nonlinear link over a heterogeneous population leads to biased estimators [Zeger et al., 1988, Neuhaus et al., 1991]. The naive aggregation, which the field treats as an unbiased summary, therefore silently encodes a difference in within-group spread as a difference in quality.
In general, the group quality difference signal enters the naive estimator's limit as the compressed , shrunk by a factor of at least four and, in harsh regimes where concentrates near 0 or 1, by an order of magnitude. So the true difference , the object we really care about in comparison, can be either masked or distorted in the naive estimator, due to the nonlinearity of the AI models.
Theorem 2 indicates the issue of the naive comparison via point estimation. Resorting to hypothesis testing for uncertainty quantification does not repair it, and makes matters worse. Note that the bias is a constant in the evaluation budget, whereas the sampling noise of shrinks at the usual rate. Write for the in-probability limit of in (8). Under (9), whenever the curvature term dominates the remainder. This indicates that an increasing sampling budget will only lead to a confident mistake for a test based on the naive statistic.
To make this precise, we first fix the test an analyst would actually run. Under the random-shuffle mechanism of Assumption 1, every batch judges each item exactly once, so the naive contrast is the sample mean of N i.i.d. per-batch contrasts:
where denotes item 's rating in batch . The contrasts are i.i.d. across batches with exactly. A studentized level- test can be constructed as follows. Estimate the batch-level variance by some consistent estimator , form , and reject when .
Corollary 1. Under the random-shuffle design and Assumption 2, assume (9) with and . Then for any estimator , .
So for every fixed level the test rejects the true null with probability tending to one. The test procedure in this case cannot control the type I error rate.
4.2 Simulation evidence
We evaluate two settings at V = 30, split 15 versus 15, over a grid of batch counts N:
-
Setting 1 (Null): equal means, unequal spread. , against . So the two groups do not differ in average quality.
-
Setting 2 (Alternative): a true gap, equal spread. Group means +0.2 and -0.2, with , matched spreads . So the two groups differ in their average quality.
Again, we compare the naive method with the principled GLMM fit. Two aspects are evaluated: the proportion of replications identifying group A as the winner, and the rejection rate of the test of at level 0.05. For hypothesis testing we use the percentile bootstrap, rejecting when the 95% interval of the batch-resampled contrast excludes zero, for both the naive estimator and the GLMM fit, since the bootstrap is the preferable method in practice for AI judges, with the GLMM being only an approximation. For completeness we also include the Wald test of the GLMM. Each cell uses 2000 replications for every arm.

(a) Setting 1, point estimate: rate of naming group A.

(b) Setting 2, point estimate: correct-sign rate.

(c) Setting 1, inference: false-positive rate.

(d) Setting 2, inference: power.
Figure 4: Group comparison results (V = 30), for the naive estimator and the GLMM fit. Top row: the rate at which the sign of each estimator picks group A as the winner. Bottom row: the false-positive rate and the power of the test.
The top row of Figure 4 gives, for each estimator, the rate at which its sign declares group A the better one. In Setting 1, the null case, the naive average names the higher-variance group A in 83.1% of replicates at N = 30, rising to 98.1% at N = 150, against a calibrated value of 50%, which the GLMM stays close to. In Setting 2, where group A is truly better, both estimators recover the correct sign in at least 99.8% of replicates at every budget.
The bottom row of Figure 4 reports the rejection rates on the same replicates, illustrating the effects on hypothesis testing at level 0.05. In Setting 1, the rejection rate corresponds to the false-positive rate. The rate of the naive method climbs with the budget, from 18.1% at N = 30 to 54.9% at N = 150, while the tests based on the GLMM fit do not: the Wald test holds at 3.8–5.5% throughout, and the bootstrap at 6.0–8.2% once past the smallest budget, where resampling only thirty batches leaves it liberal at 18.2%. In Setting 2, the rejection rate corresponds to the power of the test, and the three methods are indistinguishable: 78.3%, 77.0% and 75.9% at N = 30, and all above 99.7% from N = 90 on.
The same patterns hold for a smaller pool of V = 6 items as well, whose details can be found in Supplement C.
Lastly, different from Section 3, the Williams square design does not help much in the current case for two reasons. First, in group comparison the primary difficulty is the bias of Theorem 2, not the variance that the balanced design improves. Our experiments also confirm this (see Section D). Second, the bootstrap is less feasible for a Williams square: its batches are rows of a balanced array, and resampling them destroys the very balance the design provides. Resampling blocks is possible, but that only works for very large N, which is not practical in this context.
5 Robustness to Deep Memory
The analysis of Sections 3 and 4 is developed entirely within the order-1 model: the judge's memory is first-order. This section introduces simulation evaluation using the lag-3 model as the generative model. One question of particular interest is: do the conclusions of the two preceding sections survive when the judge's memory runs deeper than the fitted model?
Specifically, the data-generating judge is the K = 3 member of (2) while the fitted GLMM assumes K = 1, so the working model is deliberately wrong. The results below are therefore evidence of empirical robustness within the tested settings, not a guarantee. We compare it against a correctly specified lag-3 GLMM fitting. Each task is examined on the pool relevant to it: ranking at V = 6, where Section 3 found the design effect, and group comparison at V = 30, the pool used in Section 4.2.
Task 1: leaderboard ranking at V = 6. The previous ranking patterns persist under lag-3 generation: Williams designs give a modest gain for naive averaging in the uneven-position setting, and the fitted lag-1 and lag-3 GLMMs perform comparably. Supplement E provides the simulation details and Table S2.
Task 2: group comparison at V = 30. We follow Section 4.2 on the same V = 30 pool split 15 versus 15, again changing only the judge to a lag-3 GLMM. The generating judge is Claude Haiku 4.5, Setting 2 of Task 1, with —the judge whose position profile is uneven. Table 2 gives the result. The naive false-positive rate rises from 26.0% to 70.5% across N while both GLMM versions give approximately correct control of the false positive rate, for a sufficiently large N. The bias of the naive method drives the sign rate from 86.5% to 100%, and the false-positive rate of the test is likewise uncontrolled.
In summary, when the judge's memory runs beyond the fitted lag-1 kernel, the main messages of the preceding sections still hold. The first-order model fitting is still useful though it is only approximately correct. Such an observation serves as reassuring evidence for using a reasonable GLMM fit for AI judges.
Table 2: The group-comparison results under a lag-3 model for . The bootstrap is used for inference. The results are under the null case when .
| Type-I error, null (%) | Sign rate (Group A), null (%) | |||||
|---|---|---|---|---|---|---|
| Naive average | GLMM lag-1 | GLMM lag-3 | Naive average | GLMM lag-1 | GLMM lag-3 | |
| 30 | 26.0 | 24.5 | 25.0 | 86.5 | 41.0 | 40.5 |
| 60 | 38.0 | 10.5 | 11.5 | 95.5 | 43.5 | 44.5 |
| 90 | 51.0 | 6.0 | 4.5 | 97.5 | 46.0 | 46.5 |
| 120 | 66.5 | 6.5 | 6.0 | 99.0 | 49.5 | 51.5 |
| 150 | 70.5 | 5.5 | 6.5 | 100.0 | 44.5 | 46.5 |
6 Data Example: Comparing Two Graphical Model Estimation Methods by AI-Judged Edge Quality
Li et al. [2020] introduced a Gaussian graphical model for network-linked observations called “GNC-lasso”. They applied the method to a corpus of statistics papers from Ji and Jin [2016], by leveraging the coauthorship network between authors. The variables in the graphical model are 300 statistical terms, and each observation is an author’s term-frequency vector, linked by a coauthorship network of 635 authors. The estimated edges are conditional dependencies between terms, such as empirical–likelihood or false-discovery. The benchmark competitor is the ordinary graphical lasso (“glasso”; Friedman et al., 2008, Rothman et al., 2008), which estimates a sparse precision matrix by an -penalized Gaussian likelihood and ignores the coauthorship network. That study uses the two methods to select 25 edges for the graphical structure and assesses them pair by pair. The two estimated graphs are shown in Supplement F (Figure S2). Using human evaluation, they conclude that GNC-lasso recovers the more meaningful associations. We take this human assessment as the reference answer, and test the performance of using AI judges for the same task.
The union of the two lists contains 40 distinct term-pairs, labeled by provenance: GNC-only (, 15 pairs), glasso-only (, 15), or shared (, 10). We exclude the shared pairs, since every judge scores them near-unanimously and they carry no information about the contrast. This leaves the between-method difference on the 30 distinctive pairs. The three judges of Section 2 (Gemini 2.5 Flash, GPT-5.4-mini, Claude Haiku 4.5) score each pair as a meaningful statistical association (1) or not (0) over 160 randomly shuffled batches.
We compare the two aggregation rules: the naive rule using in (7), and the GLMM-based counterpart of Section 2, . The human evaluation in Li et al. [2020] indicates a positive contrast. Because many pairs are judged unanimously, a case of perfect separation at which the unpenalized item effects diverge, we regularize the model fitting by adding an independent Cauchy prior on the item effects as suggested by Gelman et al. [2008]. For a more informative demonstration, we use the Wald-type -value for both rules, with the standard error estimated by resampling whole batches (). Using the quantile-based bootstrap test of Section 4 instead gives the same rejection decisions, but the comparison is less informative because the smallest -value it can report is about . To demonstrate the tradeoff between accuracy and sample size (AI tokens), we check the aggregation results on the first batches for , the sequence an analyst who stopped collecting early would have seen. Figure 5 and Table 3 show how the two methods agree and disagree, depending on the three judges.

naive (probability scale)
GLMM (logit scale)
filled: (agrees with published answer)
hollow: (contradicts it)
Figure 5: Wald p-value with batch-bootstrap standard error against the number of batches for the two aggregation rules, on the 30 distinctive word pairs, fitted on the first N batches. Shading marks p < 0.05. Filled markers are contrasts in the direction of the published reference answer ( , favoring GNC-lasso); hollow markers contradict it. Values below are displayed at the axis limit.
• For OpenAI they agree and both are right. The contrast stays positive and both p-values fall steadily. The difference between the two methods lies in the cost. The GLMM reaches any given level of confidence in roughly half the batches. It reaches the floor of the plotted scale by N = 40, while the naive method needs . So the GLMM inference can save tokens substantially for the same conclusion.
• For Claude the naive method never delivers a conclusive decision. It is not significant at a single sample size in the sequence. Its point estimate crosses zero at and stays negative. The GLMM is significant from onward and falls to . Thus the GLMM achieves the desired conclusion but the naive method fails to get there.
• For Gemini the naive rule is confidently wrong. Its contrast is negative and becomes significant from N = 40 onward. The GLMM never accumulates evidence and is not significant at the full sample. More detailed examination of the data reveals that Gemini is the judge furthest into saturation, with an accept rate of 0.86 and 60% of pairs unanimous. So it has stopped discriminating between the two estimated graphs. The GLMM inference returns an inconclusive result, which is the correct description of the evidence.
7 Discussion and Practical Guidelines
Large language models increasingly perform tasks once requiring human judgment, often at a scale where statistical properties matter. When a judge scores a sequence of items, its ratings are dependent, and prompt engineering alone cannot determine what their average represents. The adoption of LLM-as-a-judge evaluation therefore requires the corresponding statistical theory to guide the design and interpretation for such procedures.
In this paper, we model the judge through a Markov GLMM working model. We treat it as an approximation rather than the true mechanism and assess its adequacy using out-of-sample predictive checks across frontier models. This formulation turns evaluation into inference under an explicit, empirically validated model. The two tasks we study require different strategies. For
Table 3: Full sample (): contrasts against the published reference answer, which is ; -values are from the Wald statistic with bootstrap standard error. “Correct” means significance with the sign matching the human evaluation in Li et al. [2020]; “inconclusive” means not significant; “wrong” means significant with the opposite sign.
| Judge | naive | GLMM | ||||
|---|---|---|---|---|---|---|
| outcome | outcome | |||||
| OpenAI | correct | correct | ||||
| Claude | inconclusive | correct | ||||
| Gemini | wrong | inconclusive | ||||
leaderboard ranking, the naive marginal average is consistent under a mild separation condition, while a Williams square design can improve efficiency in many cases at essentially no computational cost. In contrast, for group comparison, the marginal average can fail severely because the nonlinear link converts differences in within-group variation into persistent bias. The GLMM estimation provides valid inference for both tasks. The method also remains empirically robust beyond our theoretical setting: when the judge has memory beyond the lag-1 kernel, the GLMM achieves approximately correct error control across all regimes considered. We therefore recommend GLMM inference with a random-shuffle batch design for reliable inference using AI judges.
Our conclusions have several limitations. The design theory is developed for a first-order Markov kernel. Although deeper memory is examined empirically and accommodated by the randomized GLMM, optimal designs for higher-order carryover remain open. Two extensions are especially important. First, placing all items in one batch becomes infeasible for large item pools under bounded context for many AI judges; incomplete block designs may offer a natural direction to overcome this restriction. Second, we focus on binary accept/reject outcomes in the paper, which cover pairwise and accept/reject judging but not scalar scores. The framework could replace the Bernoulli-logit model with a cumulative-link or continuous mixed model. However, both the nonlinear bias and design-optimality arguments depend on link curvature and must be re-derived.
Acknowledgment Generative AI has been used to assist with language editing, coding, results visualization, and improving and checking proofs. T. Li was supported in part by NSF grant DMS-2515367. J. Ding was supported in part by NSF grant CAREER-2338506.
References
A. Colin Cameron, Jonah B. Gelbach, and Douglas L. Miller. Bootstrap-based improvements for inference with clustered errors. The Review of Economics and Statistics, 90(3):414–427, 2008.
Wei-Lin Chiang, Lianmin Zheng, Ying Sheng, Anastasios Nikolas Angelopoulos, Tianle Li, Dacheng Li, Banghua Zhu, Hao Zhang, Michael I. Jordan, Joseph E. Gonzalez, and Ion Stoica. Chatbot Arena: An open platform for evaluating LLMs by human preference. In Proceedings of the 41st International Conference on Machine Learning (ICML), 2024.
Yeojin Chung, Sophia Rabe-Hesketh, Vincent Dorie, Andrew Gelman, and Jingchen Liu. A non-degenerate penalized likelihood estimator for variance parameters in multilevel models. Psychometrika, 78(4):685–709, 2013.
A. C. Davison and D. V. Hinkley. Bootstrap Methods and Their Application. Cambridge University Press, Cambridge, 1997.
Paul De Boeck and Mark Wilson, editors. Explanatory Item Response Models: A Generalized Linear and Nonlinear Approach. Springer, New York, 2004. doi: 10.1007/978-1-4757-3990-9.
Yann Dubois, Xuechen Li, Rohan Taori, Tianyi Zhang, Ishaan Gulrajani, Jimmy Ba, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. AlpacaFarm: A simulation framework for methods that learn from human feedback. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, 2023.
Yann Dubois, Balázs Galambosi, Percy Liang, and Tatsunori B. Hashimoto. Length-controlled AlpacaEval: A simple way to debias automatic evaluators. arXiv preprint arXiv:2404.04475, 2024.
Jerome Friedman, Trevor Hastie, and Robert Tibshirani. Sparse inverse covariance estimation with the graphical lasso. Biostatistics, 9(3):432–441, 2008.
Andrew Gelman, Aleks Jakulin, Maria Grazia Pittau, and Yu-Sung Su. A weakly informative default prior distribution for logistic and other regression models. The Annals of Applied Statistics, 2(4):1360–1383, 2008.
Jiawei Gu, Xuhui Jiang, Zhichao Shi, Hexiang Tan, Xuehao Zhai, Chengjin Xu, Wei Li, Yinghan Shen, Shengjie Ma, Honghao Liu, Yuanzhuo Wang, and Jian Guo. A survey on LLM-as-a-judge. arXiv preprint arXiv:2411.15594, 2024.
Yupeng Hou, Junjie Zhang, Zihan Lin, Hongyu Lu, Ruobing Xie, Julian McAuley, and Wayne Xin Zhao. Large language models are zero-shot rankers for recommender systems. In Advances in Information Retrieval – 46th European Conference on Information Retrieval (ECIR), 2024.
Pengsheng Ji and Jiashun Jin. Coauthorship and citation networks for statisticians. The Annals of Applied Statistics, 10(4):1779–1812, 2016.
Jiming Jiang and Thuan Nguyen. Linear and Generalized Linear Mixed Models and Their Applications. Springer Series in Statistics. Springer, New York, 2nd edition, 2021.
Byron Jones and Michael G. Kenward. Design and Analysis of Cross-Over Trials. Chapman & Hall/CRC Monographs on Statistics and Applied Probability. Chapman & Hall/CRC, Boca Raton, FL, 3rd edition, 2015.
Akbir Khan, John Hughes, Dan Valentine, Laura Ruis, Kshitij Sachan, Ansh Radhakrishnan, Edward Grefenstette, Samuel R. Bowman, Tim Rocktäschel, and Ethan Perez. Debating with more persuasive LLMs leads to more truthful answers. In Proceedings of the 41st International Conference on Machine Learning (ICML), 2024.
Hans R. Künsch. The jackknife and the bootstrap for general stationary observations. The Annals of Statistics, 17(3):1217–1241, 1989.
S. N. Lahiri. Resampling Methods for Dependent Data. Springer, New York, 2003.
Tianxi Li, Cheng Qian, Elizaveta Levina, and Ji Zhu. High-dimensional Gaussian graphical models on network-linked data. Journal of Machine Learning Research, 21(74):1–45, 2020.
Zongjie Li, Chaozheng Wang, Pingchuan Ma, Daoyuan Wu, Shuai Wang, Cuiyun Gao, and Yang Liu. Split and merge: Aligning position biases in LLM-based evaluators. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2024.
Adian Liusie, Potsawee Manakul, and Mark J. F. Gales. LLM comparative assessment: Zero-shot NLG evaluation through pairwise comparisons using large language models. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (EACL), 2024.
John M. Neuhaus, John D. Kalbfleisch, and Walter W. Hauck. A comparison of cluster-specific and population-averaged approaches for analyzing correlated binary data. International Statistical Review, 59(1):25–35, 1991.
Lei Nie. Convergence rate of MLE in generalized linear and nonlinear mixed-effects models: Theory and applications. Journal of Statistical Planning and Inference, 137(6):1787–1804, 2007.
Pouya Pezeshkpour and Estevam Hruschka. Large language models sensitivity to the order of options in multiple-choice questions. In Findings of the Association for Computational Linguistics: NAACL 2024, pages 2006–2017, 2024.
Adam J. Rothman, Peter J. Bickel, Elizaveta Levina, and Ji Zhu. Sparse permutation invariant covariance estimation. Electronic Journal of Statistics, 2:494–515, 2008.
Lin Shi, Chiyu Ma, Wenhua Liang, Xingjian Diao, Weicheng Ma, and Soroush Vosoughi. Judging the judges: A systematic study of position bias in LLM-as-a-judge. arXiv preprint arXiv:2406.07791, 2024.
A. W. van der Vaart. Asymptotic Statistics. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, 1998.
Peiyi Wang, Lei Li, Liang Chen, Zefan Cai, Dawei Zhu, Binghuai Lin, Yunbo Cao, Qi Liu, Tianyu Liu, and Zhifang Sui. Large language models are not fair evaluators. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL), 2024.
E. J. Williams. Experimental designs balanced for the estimation of residual effects of treatments. Australian Journal of Scientific Research, Series A, 2(2):149–168, 1949.
Jiayi Ye, Yanbo Wang, Yue Huang, Dongping Chen, Qihui Zhang, Nuno Moniz, Tian Gao, Werner Geyer, Chao Huang, Pin-Yu Chen, Nitesh V. Chawla, and Xiangliang Zhang. Justice or prejudice? quantifying biases in LLM-as-a-judge. arXiv preprint arXiv:2410.02736, 2024.
Scott L. Zeger, Kung-Yee Liang, and Paul S. Albert. Models for longitudinal data: A generalized estimating equation approach. Biometrics, 44(4):1049–1060, 1988.
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. Judging LLM-as-a-judge with MT-Bench and Chatbot Arena. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, 2023.
Supplementary Material
Summary. This supplementary material collects additional analyses and experiments in the order of their appearance in the main text, followed by the proofs. Section A provides the predictive-check protocol, transition results, interval widths, and conditional-entropy analyses. Section B details the leaderboard simulation settings. Sections C and D report group-comparison experiments with a small item pool and with Williams designs, respectively. Section E gives the leaderboard-ranking experiment under deeper memory, and Section F presents the estimated networks used in the data example. Finally, Section G states the GLMM estimation result, and Sections H and I collect the technical definitions, proofs, and supporting theory for leaderboard ranking and group comparison, including design variance, correct selection, nonlinearity bias, and finite-sample concentration.
A Details on out-of-sample predictive evaluation
We collected 100 new shuffled batches of the same 30 proposals, giving 3,000 fresh ratings per judge under new randomized orderings. We then froze the parameters from the original 200-batch fits, with no retraining, and treated each frozen GLMM as generative. Each judge is frozen at the memory depth its own model selection chose in Section 2.2: for Gemini 2.5 Flash, and for GPT-5.4-mini and Claude Haiku 4.5, each with the cold-start term and the batch random intercept. We then simulated synthetic datasets under the new orderings. We score twelve transition terms for every judge. The terms are the joint , , , cells of the lag-1, lag-2, and lag-3 transition matrices ( terms), regardless of the lags that judge's model carries, so a judge frozen at is scored on transitions two and three steps back that its model never saw. The 500 synthetic datasets are then used to construct 95% prediction intervals for the transition terms. Note that these intervals are constructed from the frozen GLMMs alone, without using the true judge scores on the 100 test batches. We then check whether each real transition probability from the 100 test batches falls inside its 95% prediction interval.
Across the three judges we score 36 terms, and we obtain 34/36, as Figure 3 shows. Two judges are covered in full: Gemini's lag-1 model reproduces all twelve terms (12/12), including the out-of-order lag-2 and lag-3 cells it was never fit on, and Claude likewise covers 12/12. The two misses are the same failure mode, the cell at a deeper lag where the held-out probability runs slightly above the frozen model's interval: GPT-5.4-mini at lag-2 and lag-3 (10/12). A miss rate of is close to the 5% a calibrated battery of 95% intervals should produce; the misses are not scattered but concentrated in the deep cell, a small and reproducible higher-order-memory gap for that judge rather than a global inadequacy. The logistic GLMM is thus sufficient to reproduce the judges' sequence dynamics, with no drift detectable by this battery; the intervals condition on the frozen point estimates (parameter-estimation uncertainty is not propagated), so we read the check as a strong graphical predictive check rather than a formal goodness-of-fit test. On this evidence no more elaborate surrogate is warranted.
Note that a high coverage rate is necessary but not, by itself, compelling: a 95% rate could be attained vacuously by a severely misspecified model whose predictive intervals are so wide that they contain almost anything. Figure 3 rules this out, because it draws every interval at its true width. On the probability scale the transition intervals span 0.013 to 0.055 end to end, and the entropy intervals 0.010 to 0.041 bits, so a bar that covers a held-out value is unlikely to have done so by accident. The widths also differ enough among themselves, by a factor of four, for the comparison to be informative rather than uniform: the cells, which predict the largest probabilities, carry the widest intervals, and the entropies the narrowest. Relative to the quantity each one predicts these widths are small, between 2.5% and 14.8% of the observed value for the transition terms and under 2.5% for the entropies, so the intervals are informative on the scale that matters as well as in absolute terms. We can see that the GLMM's prediction intervals are narrow and structural: they do not cover the held-out transition probabilities merely by being wide, but reproduce the asymmetric shifts in those probabilities induced by the negative serial effect. The empirical and rates range across where the frozen model predicts, not merely staying far inside the bands. Therefore, the check is informative because the intervals are tight and the coverage is nominal.
For completeness, we also include a single scalar information-theoretic check for global information: the order-k conditional entropy of the binary label sequence, in bits, for . As before, for a good model, the prediction interval of the conditional entropy should cover the real conditional entropy on the test data at the nominal level. These three statistics per judge form the lower block of each panel of Figure 3. All 9 of them (three judges × three orders) fall inside their 95% prediction intervals, which are again narrow (0.010–0.041 bits wide). In particular, even Gemini's lag-1 model covers the order-2 and order-3 entropy of its held-out sequence.
B Leaderboard ranking simulation
This section provides the full simulation specification for Section 3.2.
Assumption 3 determines whether balancing can help at all, so we test the prediction where it holds and where it nearly fails. In concrete terms it requires a non-flat position profile: in a batch of equal-quality items, the expected rating must vary across slots. That profile is a property of , and the two compete: the first slot has no predecessor, so its context is , while at later slots the context averages times the chance the previous item was accepted. When those two nearly cancel the profile is flat and there is no design variance to remove.
We therefore simulate two settings, both at V = 6. Both are taken from the judges fitted in Section 2, at their estimated coefficients, rather than chosen to produce the effect. The two settings therefore span Assumption 3 because the fitted judges themselves do. Setting 1 is Gemini 2.5 Flash, whose and nearly cancel: the expected rating runs (0.658, 0.695, 0.691, 0.691, 0.691, 0.691) across the six slots, flat to within 0.04, so the removable design variance is nearly zero. Setting 2 is Claude Haiku 4.5, whose and do not: the profile runs (0.910, 0.419, 0.536, 0.508, 0.515, 0.513)—an item judged first wins 91% of the time and one judged second only 42%—and the removable design variance is far larger. Each setting also carries its own judge's fitted batch variance, and 0.418, and its own common quality level , obtained by solving against that judge's observed acceptance rate, 0.686 and 0.567, rather than by tuning. The two therefore differ in level as well as in sequential structure. In either case, the design variance that balancing can remove is governed by the position profile, which is nearly absent in Setting 1 and substantial in Setting 2.
The item panel is near-flat, , with one best item and a tied field. We set , the local scaling of Theorem 1: the selection problem tightens as fast as the budget grows, so the difficulty is held constant and any advantage that persists reflects the limit rather than one particular sample size. Budgets are —one, two and three Williams blocks—with 10,000 replicates per cell, giving a Monte Carlo standard error of 0.71 percentage points on each design comparison. We report all four combinations of estimator and design; ties among the win rates, which are frequent at these budgets, are broken uniformly at random.
C Group comparison with a small item pool
We extend the simulations in Section 4.2 to the smaller item pool below.
For completeness, a small pool of V = 6, split 3 versus 3, is also studied. The rest of the setup is unchanged. The corresponding results are shown in Figure S1, and the overall patterns remain the same as in the V = 30 case.

(a) Setting 1: equal means, unequal spread.

(b) Setting 2: true gap, equal spread.
Figure S1: The small-pool counterpart of the bottom row of Figure 4: the same two scenarios and the same three procedures at V = 6, split 3 versus 3.
D Williams squares in group comparison: an empirical demonstration
Section 3 showed that a Williams square strictly improves the naive estimator for ranking by removing a design-induced variance term. This section documents the experiment behind the claim in Section 4 that no such improvement materializes for group comparison, where the obstacle is the bias of Theorem 2 rather than the variance.
Setup. We rerun the two estimators of Section 4.2—the naive marginal average and the GLMM logit-scale contrast—under a Williams Latin square in place of the random shuffle, with everything else held fixed: the same quality panels as Settings 1 and 2 of Section 4.2 (verified identical to the random-shuffle study), the same two pool sizes, split 15 vs. 15 over and split 3 vs. 3 over , and 2000 independently seeded replicates per cell. The design is the symbol-randomized Williams design of Section 3 (V is even in both cases): every budget is a whole multiple of V, so each replicate uses N/V complete squares, and the item-to-symbol assignment is redrawn independently for each square, with exact position and carryover balance verified within every block. Each replicate records the point estimate and its sign only.
No test is computed under the Williams arms, and the reason is structural. A bootstrap of batches is licensed by their exchangeability under a random shuffle, whereas the batches of a Williams square are rows of a balanced array, and resampling them with replacement destroys the balance the design exists to provide. The correct resampling unit is then the complete square, a block of V batches, and as with block bootstraps for dependent data, consistency requires the number of blocks, not merely the number of observations, to grow [Künsch, 1989, Lahiri, 2003]; with few blocks such tests over-reject substantially [Cameron et al., 2008]. At V = 30 a budget of N = 150 buys five squares, and reaching even a few dozen blocks would require evaluations, a direct and largely wasted token cost for judge-based evaluation. The usual escape, a model-based bootstrap that holds the design fixed and re-simulates responses from a fitted model [Davison and Hinkley, 1997, Ch. 6], is closed off by the premise: the naive average is attractive precisely because it assumes no model.
Result. Table S1 reports the rate at which each arm names Group A the winner under the equal-means null Setting 1. Under that null the naive average names the higher-variance group 98.1% of the time under a random shuffle at V = 30 and 98.5% under a Williams square; across all 40 matched cells the largest discrepancy between a Williams arm and its random-shuffle counterpart is 2.9% against a Monte Carlo standard error of 1.6%, and no cell reaches a Bonferroni-corrected threshold. This is what Theorem 2 predicts: the nonlinearity bias is a property of the estimator, namely of averaging on the probability scale, and the design enters the theorem only through Assumption 1; balancing removes design-induced variance and has no purchase on estimator bias.
Table S1: The balanced design does not repair the naive estimator. Rate at which each arm names the higher-variance Group A under the equal-means null Setting 1, in percent; the groups are equal, so 50 is the calibrated value and no test is involved. Each estimator is run under a random shuffle and under a Williams square on independently seeded replicates (2000 per cell). The naive average climbs toward 100% under both designs, and the GLMM is near the coin flip under both. The Setting 2 control, with a true 0.4-logit gap and matched spreads, separates all four arms from zero error by the largest budget (Group B named in 0.0% of replicates at , and 0.0% at , for every arm).
| Group A named (%), by budget | ||||||
|---|---|---|---|---|---|---|
| 30 | 60 | 90 | 120 | 150 | ||
| Naive | random shuffle | 83.1 | 90.3 | 95.1 | 96.9 | 98.1 |
| Williams square | 82.7 | 91.3 | 94.6 | 97.3 | 98.5 | |
| GLMM | random shuffle | 43.7 | 44.7 | 47.6 | 45.2 | 48.5 |
| Williams square | 42.7 | 47.3 | 48.0 | 48.0 | 47.6 | |
| 24 | 48 | 96 | 192 | 384 | ||
| Naive | random shuffle | 69.3 | 75.3 | 85.8 | 93.4 | 98.4 |
| Williams square | 68.6 | 74.7 | 85.2 | 92.3 | 97.9 | |
| GLMM | random shuffle | 49.7 | 49.6 | 48.9 | 50.1 | 50.8 |
| Williams square | 49.2 | 49.4 | 49.0 | 49.5 | 51.0 | |
E Leaderboard ranking under deeper memory
This section gives the ranking experiment summarized in Section 5, comparing lag-1 and lag-3 fits under lag-3 data generation.
Task 1: leaderboard ranking at . We repeat Section 3.2 exactly—the same two settings and the same local scaling —but change only the judge, which now follows the lag-3 model. Each setting keeps the lag-1 coefficient it had in Section 3 and gains the fitted lag-2 and lag-3 terms of the same judge, so it deepens without becoming a different judge: for Gemini 2.5 Flash in Setting 1 and (-1.055, -0.380, -0.311) for Claude Haiku 4.5 in Setting 2, with and carried over unchanged. Table S2 gives the leaderboard selection accuracy, and it reproduces the patterns in Section 3. Both the naive method and the GLMM model fitting work for this task. In Setting 1, the Williams square design gains nothing. In Setting 2, where the position profile is uneven, the Williams square design gains about 2% improvement on the naive method. On GLMM fitting, the design is not impactful. However, note that the performance of the GLMM fitting based on the misspecified lag-1 model is comparable to that of the lag-3 model fitting, suggesting that using the lag-1 model can still achieve reasonable empirical performance.
Table S2: Selection accuracy (%) of Section 3 under a lag-3 GLMM model.
| Setting | Random shuffle (%) | Williams design (%) | |||||
|---|---|---|---|---|---|---|---|
| Naive average | GLMM lag-1 | GLMM lag-3 | Naive average | GLMM lag-1 | GLMM lag-3 | ||
| Setting 1 (Flat) | 6 | 44.4 | 44.2 | 43.3 | 43.7 | 43.9 | 43.2 |
| 12 | 49.1 | 49.1 | 48.6 | 48.3 | 48.3 | 48.1 | |
| 18 | 47.9 | 48.0 | 47.8 | 48.9 | 49.1 | 49.0 | |
| Setting 2 (Uneven) | 6 | 46.9 | 49.4 | 47.1 | 48.7 | 49.8 | 48.8 |
| 12 | 48.4 | 51.0 | 50.2 | 50.6 | 51.5 | 51.1 | |
| 18 | 49.0 | 51.7 | 51.3 | 51.2 | 51.7 | 51.7 | |
F Estimated networks for the data example
The networks below are the graphical lasso and GNC-lasso estimates described in Section 6. The AI-judge comparison uses their 30 distinctive term-pairs.
Figure S2 shows the two estimated graphs.

(a) Graphical lasso.

(b) Network-cohesion graphical lasso.
Figure S2: The two estimated term graphs of Li et al. [2020] by glasso and GNC-lasso.
G GLMM estimation theory
Proposition 3. Suppose the judge is evaluated under (1)–(2) at some memory depth and under Assumption 1, whose randomization units (single batches under clause (a); complete blocks of batches under clause (b)) are independent clusters—conditional on the allocation, the chain rule factorizes each unit's joint response probability exactly through the lagged ratings, so the likelihood is a product over units and conditioning on the lag covariates adds no separate factor. Assume the standard regularity conditions for mixed-model likelihood asymptotics hold (identifiability of every item contrast from the marginal likelihood; a positive-definite limiting per-unit Fisher information , and write for the information per batch; and interior to the parameter space—in particular , the boundary case not being covered). Then the maximum likelihood estimator is consistent and asymptotically normal as ,
The same conclusion holds for the weakly penalized variant used in our empirical sections (a fixed weakly-informative prior on the item effects): for a fixed smooth log-prior with locally bounded gradient, a score expansion around the MLE, whose likelihood Hessian is of order , gives , so (11) is unchanged.
Proposition 3 states a standard likelihood result for generalized linear mixed models under cluster asymptotics ( with bounded cluster size); see Jiang and Nguyen [2021] and Nie [2007].
H Proofs for Section 3 (Williams designs)
We use the notation of Section 3: items 1, ..., V with , , N batches indexed by , , naive estimator , contrast , and the selection rule , . Random Shuffle draws the i.i.d. uniform on ; the Williams design stacks N/V copies of a Williams square (V even, so that the square exists; this convention is in force for every Williams statement below) (items assigned to its symbols by independent uniform bijections , ) and satisfies position balance (W1: each item appears N/V times in each position) and first-order carryover balance (W2: each ordered pair appears N/V times as consecutive). We assume at least one of , is nonzero (the case is degenerate).
H.1 Additional definitions and interpretation
The following details accompany the ranking results in Section 3.1.
We first note that all explicit constants below involve the serial effect only through the sharp contraction coefficient
(the supremum is attained at , where the difference equals ), together with the derived series constants and , finite for every since . Because , the displayed bounds are stated in the simpler -form.
The two terms separate the two sources of randomness. The first is sampling: with the design held fixed, the ratings themselves are random. The second is the design: two runs of the same experiment draw different orderings, or different bijections, so they place items in different slots and after different predecessors, and therefore have different conditional means . The comparison between the designs is a comparison of their design terms. Under the random shuffle every batch redraws its ordering, and this randomness accumulates at the same rate as the sampling noise: . Under Williams, within-block balance holds for every bijection, so at equal qualities the block-level conditional means do not depend on the draw at all and exactly; under the local alternatives studied below it is , one order smaller than the shuffle term. At a fixed configuration with (defined below) both design terms are of order , and the comparison is then the exact finite-sample identity of Proposition 2. The gap at and near equal qualities is the content of the next result.
The comparison of the two design terms reduces to one scalar constant per design and per contrast, which we now define. Let denote the set of permutations of , and the uniform distribution on . For a batch order , placing item in slot , let
denote the expected rating of item v in a single batch presented in order , the expectation taken over the batch effect and the ratings of the working model (Assumption 2), batch 1 serving as a generic batch. Let denote the rows of the Williams square, so that in a block with item-to-symbol bijection the -th batch presents the items in order , and let
be the corresponding block mean of item v. The independent unit of the random shuffle is the batch, with a fresh uniform order; that of the Williams design is the block, with a fresh uniform bijection. The two designs' constants are exact counterparts, the design variance of the k-th contrast over one independent unit:
In this notation the diagonals of the design terms in (5) are exactly over the batches, and over the blocks (see the proof of Proposition 2 below).
Assumption 3 asks only that the presentation order genuinely move the expected ratings, so that position is worth balancing at all. If the sequence carries no information, every ordering is equivalent, and the two designs coincide, so there is nothing to compare. In concrete terms, the condition says that in a batch of equal-quality items the expected rating is not the same in every slot, that is, a non-flat position profile. Moreover, it is mild: Lemma 5 shows non-flatness holds automatically when exactly one of is nonzero, and when both are nonzero it fails only on a discrete set of parameters where the cold-start and carryover effects exactly cancel; it is checkable numerically in any given instance.
In general, it is intuitively expected that the dominance holds beyond the provable small-gap regime. Every realization of places each item in each slot exactly once within the block, so the first-order position effect cancels in for every draw, and is generated only by the second-order interaction between quality differences and position—quadratically small in the quality spread. The shuffle typically does not enjoy such cancellation. At a flat configuration, the above result is the counterpart of the classical variance rationale for Latin-square and crossover designs, in which balancing rows and columns removes the period and carryover nuisance variation that complete randomization leaves in the treatment contrasts [Williams, 1949, Jones and Kenward, 2015].
The natural question is when the variance-reduction advantage of the Williams square design transfers into an advantage in the ultimate quantity of interest for the leaderboard task, the probability of correct selection. Note that Proposition 1 already shows that in the standard setting, when the item qualities are fixed with sufficient separation, both designs are asymptotically correct. The regime where one could expect the difference is when the gap between the top items is small, while the sample size is not large. Therefore, next we focus on one local-alternative regime to gain deeper insights in this direction. Specifically, we consider the case , in which the leading candidates are close together. So we are evaluating the two designs at the resolution where selection is neither trivial nor hopeless—precisely the finite-sample instances in which the budget is moderate relative to the gaps. This is the standard calibration behind asymptotic relative efficiency [van der Vaart, 1998].
Under either design and for every N, the expected win rate of item v is the smooth function
At a flat configuration , exchangeability reduces its gradient to two numbers: the self-effect and the cross-effect of quality on the win rate,
neither depending on v or w, and both functions of the common level .
H.2 Preliminaries: the mixture CDF and the affine recurrence
For slot , , with marginal CDF . By the tower property,
the item-averaged context CDF. We label each slot of an item by its predecessor category ( at position 1).
Lemma 1. depends on and only through the predecessor category at , and the configuration of items strictly before the predecessor.
Proof. By the recursive law (1), has success probability , depending on the predecessor's identity (i) and the predecessor's predecessor outcome (ii).
Lemma 2. Under , every item 's predecessor multiset across its slots is
where the exponent is the multiplicity; in particular it omits v itself.
Proof. By (W1) exactly N/V batches place v at position 1 (N/V copies of ); by (W2) exactly N/V batches have each as the immediate predecessor of v. These account for all slots.
Define the slot-uniform reference CDF and . For predecessor category , write for the probability-normalized average of the slot laws whose predecessor is , and for the average of the such slots occupied by ; define and analogously at position 1 (all four are probability measures). Counting slots (Lemma 2),
Lemma 3. Fix and ; set and . With , , so , . Unrolling, , and for , .
Proof. The transition probability equals if and if , i.e. . The recurrence follows by total probability, and follows from the mean value theorem.
We prove the covariance identity by induction on :
and each further step appends one A-factor.
☐
H.3 Williams preserves expected ranks
Proposition 4. For every , , independent of , , .
Proof. Subtracting the two slot-count identities above gives
where each bracket is a difference of two probability measures. We integrate against each bracket.
Position one. The context at position 1 is regardless of the allocation, so exactly and the first bracket contributes zero.
Equal-mass predecessor comparisons. By Lemma 3, for any probability-normalized average of slot laws at positions ,
with , , , and the corresponding average of predecessor success probabilities. The term is common to every such average because the measures have equal mass. It therefore cancels within each bracket, leaving differences multiplied by :
Combining these bounds with the coefficients in the decomposition gives
Remark 1 (What drives ). Every contribution to is modulated by the carryover contrast , so the bound vanishes as and is uniform in and . Two mechanisms appear: the predecessor populations actually meets differ from the global ones (the term), and 's absence from its own predecessor pool tilts the reference average (the missing-self term , one order smaller in ).
Remark 2 (Fixed-square rank preservation). For a fixed square, Proposition 4 also preserves the conditional expected ranks: , so is strictly increasing, and whenever , with . This conditional statement is not needed by Proposition 1, whose annealed analysis follows.
Proof of Proposition 1. Strict monotonicity of is part of Lemma 12: .
For consistency, we first identify the limit under each design. Under this is Lemma 13: batches are i.i.d., so .
Under batches are not i.i.d., since the batches of a block share the item-to-symbol bijection ; the i.i.d. unit is the block. Writing as the average of the i.i.d. block averages, each bounded in , the weak law applies at the block level and gives , which by Lemma 4(a) equals . The two designs therefore share the same limit as well as the same finite-N mean.
Lemma 14 bounds , uniformly in . If then, since is strictly increasing and is the runner-up,
for every , so the limits are separated by a fixed margin. A union bound over the contrasts then gives under either design.
Remark 3 (Direction of the missing-self perturbation). When a heuristic favors the top item: item 1 is the strongest possible predecessor, and its own predecessor multiset excludes item 1, so item 1 “dodges” the harshest carryover penalty that a weaker item still incurs. A rigorous sign theorem is left open; we use only the magnitude bound.
H.4 The design variance of the Random Shuffle
The following is the matrix-level statement behind Proposition 2; the main-text proposition is its diagonal instance, and its concluding display is the local-alternative limiting form of the comparison, used in the proof of Theorem 1(ii).
Proposition 2'. Under Assumptions 1 to 3, with the symbol-randomized Williams design and both covariances taken unconditionally:
(i) the random shuffle carries a strictly positive design term, with exact diagonal entries , so its contrasts fluctuate at the rate for reasons of design alone;
(ii) the two designs share every per-batch marginal moment, and
where is the Williams design term, generated by the symbol randomization, which vanishes at the null and is under local alternatives.
Consequently, along the local alternatives of Theorem 1 and with Assumption 3 holding at the flat configuration, for every , with no auxiliary condition on the magnitudes of : the local-alternative limiting form of Proposition 2.
Proof of Proposition 2'(i): the design variance. Under ,
where batch 1 represents a generic batch, since the context laws are common across the i.i.d. batches. This integral form agrees with the conditional-expectation definition of in the main text. The summands are i.i.d. in and lie in , so
The map is non-constant. At the null configuration, Lemma 5 establishes this unconditionally when exactly one of is nonzero and outside a discrete exceptional parameter set otherwise. Non-constancy persists nearby by continuity.
Hence , matching the main-text notation via , and boundedness gives the upper constant , i.e. .
For a fixed gap this design variance vanishes, in line with the consistency of Proposition 1 (whose proof runs through the law of large numbers above). In the local-alternative regime , by contrast, the contrast has mean of order and standard deviation of order , so by the CLT
when the design variance at the flat configuration is positive; this is the regime Theorem 1 analyzes.
H.5 Second-moment analysis: the rest of Proposition 2'
For a fixed design, conditional independence of batches gives , where , . The multivariate Law of Total Variance (5) reads, for the random shuffle,
and with .
Lemma 4. Fix any row of the Williams square. If , the realized batch permutation is uniform on : inversion preserves the uniform law on the group and right-multiplication by is a bijection. Hence under with per-block symbol randomization every single batch's permutation has exactly the uniform marginal law of a Random-Shuffle batch (batches within a block are dependent through the shared ), and, for every finite : (a) for every , so ; (b) .
Proof. For part (a), the conditional expectation of a rating given the batch's realized permutation is the same function under either design (the within-batch law given does not depend on how was generated). Taking expectations batch by batch under the uniform marginal law proves the claim.
For part (b), batches are independent conditional on the design, so
the result follows by taking term by term under the uniform marginal law of each .
Part (i). Positive semidefiniteness of follows because it is a covariance matrix, and its entry is exactly , with by Lemma 5: both facts were established in the design-variance computation above. Summing the diagonal entries gives , .
Part (ii) (the Williams design term ). With , write
0. By the block structure,
the average of i.i.d. block expectations, where are the rows of the square and the block's realized batch orders (Lemma 4).
At the global null, each block expectation equals by (W1)–(W2). Thus, and there.
Under local alternatives a Taylor expansion gives , hence
and the same holds entry-wise for the contrasts. By contrast, Random Shuffle contributes .
The concluding display. Applying the Law of Total Variance to both designs and subtracting, using Lemma 4(b) for the exact cancellation of the average conditional covariances,
with no residual term; the diagonal limit follows from parts (i)–(ii); this is the concluding display of the proposition.
Lemma 5. Fix . At a global null configuration , depends on only through 's slot, where is the homogeneous-batch slot mean, and for every iff is non-constant on . Moreover: (i) if , : always; (ii) if , : always, with of strict sign and ; (iii) if both are nonzero: is non-constant for every outside a set that is discrete for each fixed . Under the local-alternative limit the same positivity transfers to ; it is checkable numerically in any instance (e.g. at , , , by exact enumeration).
Proof. At the null all slots share and as their affine-recurrence coefficients (Lemma 3), so for , whence
(i) With : , , and gives by strict monotonicity of .
(ii) With : and , so and
where the inequality is strict and ensures that slot 3 is present.
(iii) With both nonzero, is real-analytic in at fixed (Gaussian integrals of compositions of analytic functions; differentiation under the integral is justified by the uniform bounds on and its derivatives), and by the computation of case (ii); hence and its zero set is discrete.
In each case is non-constant, which gives positive variance since ranges over all ordered distinct slot pairs with positive probability.
H.6 The finite-sample identity: proof of Proposition 2
Proof of Proposition 2. The identity. By Lemma 4(b) the sampling terms of (5) agree exactly at every , so by Proposition 2'(ii),
for every . The batches of are i.i.d., so is the average of i.i.d. per-batch mean vectors and , which is Part (i).
The blocks of are i.i.d., so, exactly as in the display of Part (ii),
over the N/V blocks. Subtracting and multiplying by N gives the identity, whose right-hand side is free of N.
Null vanishing. At a flat configuration , every block mean equals for every , by the within-block balance (W1)–(W2)—the same computation as in the null case of Part (ii)—so and .
Continuity and . For each fixed permutation , the map is continuous: the within-batch chain recursion is a finite composition of functions of bounded by 1, and dominated convergence allows us to pass limits through . Hence , a variance over the finite set , and , a variance over the finite set of bijections, are continuous in .
At the flat configuration the right-hand side equals by Lemma 5 (this is Assumption 3 there); continuity yields with throughout , uniformly in since there are finitely many contrasts.
H.7 Worst-case bounds for a fixed (unrandomized) square
For a single fixed square used without symbol randomization, with , and the comparison acquires the residual in place of . We bound it by worst-case range arguments. Expanding with , , we use range bounds.
Lemma 6. For each , , , and .
Proof. Conditioning on and the predecessor success ,
is a convex combination of two sigmoid values differing by , with the cold-start indicator contributing . Thus the range is , and the bound is preserved under .
Since is 1-Lipschitz, the same bound applies to .
Lemma 7. For all , .
Proof. By Lemma 6 each variance term has range .
For covariances, with .
Condition on and let (the other case is symmetric): by the chain structure, with ; the forward chain started from obeys the same affine recurrence, so, exactly as for in the previous display, has range over , uniformly in .
A product of two factors, each of range , has range , and this is preserved by ; the same argument bounds the range of . Hence has range .
Combining these bounds with the contrast expansion of gives
The maximum is .
Two averages of a function of entry-wise range over different measures on differ by , so ; the quadratic refinement below sharpens this to .
Remark 4 (These constants cannot certify fixed-square dominance). Since each has range at most over (Lemma 6's argument applied to the slot expectation), necessarily . Hence “ ” would require (impossible), and even “ ” with the constant actually proven below fails in essentially every regime of interest (numerically against bounds of order at least 3 at , ). Fixed-square dominance is therefore numerically checkable—both and are exactly computable—but not certified by these worst-case bounds; the symbol-randomized design of Proposition 2 needs none of this machinery.
H.8 Quadratic refinement via the exact binary recurrence
Lemma 8. Fix and with . As , for a positive-definite quadratic form , whose entries depend on . In particular as , with constants depending on the configuration.
Proof. At , and is -independent, so . A first-order Taylor expansion gives
with
Thus , where is the variance of the random vector contracted with .
is positive semidefinite by construction, and it is positive definite if and only if the support of under is not contained in an affine line.
Write
for fixed , is strictly increasing in , since is strictly increasing and . Pick any third item ().
Case . Orders beginning and give and : two distinct points with the same second coordinate. Any order beginning with has second coordinate , supplying a third, non-collinear point.
Case . Then , and orders beginning and give the distinct points and , while any order beginning with has second coordinate and supplies the non-collinear third point.
In either case, appending the remaining items in any fixed order produces permutations of positive probability, so the support of contains three non-collinear points, no nonzero combination is -a.s. constant, and is positive definite. The upper bound follows from boundedness of the expansion coefficients.
Proposition 5. For , with the explicit, deliberately conservative constant , independent of .
Proof. Let . Decompose
with collecting the terms with carryover factors (Lemma 3). We bound the three terms using four observations.
(i) depends on only through , matched by (W1): .
(ii) is a function of the ordered pair , matched by (W2): .
(iii) The -correction to is nonzero only at and bounded by , so .
(iv) for , so .
Hence
Write throughout; recall . We next apply the same decomposition to , with . The term is matched by (W1). The term is, at , a function of the ordered pair alone, since the cold-start flag enters only through . It is therefore matched by (W2).
The -corrections total , and every remaining term carries at least two factors of , totaling for . Consequently,
For covariances, decompose by the law of total covariance,
and treat the two pieces separately.
Conditional piece. By Lemma 3,
For adjacent slots , replace by : since and is 1-Lipschitz, the substitution costs ; the substituted term is, at , a function of the ordered pair , matched by (W2), with -correction (nonzero only at . Hence the adjacent conditional piece has .
For non-adjacent slots the product carries at least two factors of , so the piece is in absolute value and .
Batch-effect piece. Write and expand cross terms, where depends on only through 's cold-start flag. The joint law of the two flags is identical under the uniform and the square-averaged order (each item is first with probability , and two items are never simultaneously first), so exactly.
Every cross term contains a factor of A. The leading term is, at , a function of the ordered pair alone, since the flag of enters only through , and is therefore matched by (W2).
The -corrections and the terms with two or more A-factors are bounded, using for every bounded factor and , by in total. Hence and, combining the two pieces,
Assembling the entries. For the diagonal entries,
For the off-diagonal entries,
Hence suffices.
By Lemma 8 and proposition 5, in the small-bias regime and the fixed-square discrepancy bound are of the same order; Remark 4 records why the proven constants nonetheless leave fixed-square dominance uncertified. The refinement is retained for its structural content—which terms the balance properties (W1)–(W2) match exactly—and because none of it is needed for the randomized design.
H.9 Probability of correct selection: proof of Theorem 1(ii)
We work in the local-alternative regime , with .
Lemma 9. With , , the Taylor remainder being uniformly over the bounded local perturbations, by the uniform second-derivative bounds of Lemma 12 applied slotwise and the finiteness of the permutation average. Here is the conditional mean for a fixed square. Under the symbol randomization the two designs' means agree exactly (Lemma 4(a)); the reference depends on the realized square through its slot-uniform context law, and averaging it as well gives , the missing-self correction, which is not zero in general. This lemma is used only in the fixed-square discussion of Remark 5.
Proof. At any finite-N null all items are interchangeable, so by (W1) there and .
Taylor expanding about and substituting (exactly, for ; 0 for ) gives
multiplying by and letting gives the result, since the derivatives converge by continuity.
Lemma 10. Fix , with , , and the non-degeneracy of Lemma 5. Set , the limit in Theorem 1(i), which part (i) below proves; for (iii) assume additionally (the hypothesis of Theorem 1(ii)), so that . Set (unconditional). Then: (i) for every , and for both designs; (ii) ; (iii) for both designs, with strictly.
Proof. (i) Means: proof of Theorem 1(i). By Lemma 4(a) the two designs share their means for every , so it suffices to treat the shuffle, under which is a function of alone: i.i.d. batches contribute no -dependence.
Each is in (a finite composition of smooth maps of , with differentiation under justified by dominated convergence), so .
Uniformity of makes the family equivariant under relabeling: for every permutation , where . Differentiating at the flat configuration , which every fixes, forces to be free of and ( ) to be free of : these are and .
With , a first-order expansion of the function at gives
where every with has coefficient , which also cancels the background level
(ii) Variances. Proposition 2' gives
with the limits existing by smoothness of the variance functionals in the base parameters.
(iii) Distributional limits. Under the per-batch contrasts are i.i.d. and bounded. Under the i.i.d. unit is the block of V batches sharing one symbol bijection , so decompose into i.i.d. bounded block averages and apply the Berry–Esseen theorem to the block sums (batches within a block are dependent, so the batch-level i.i.d. argument does not apply to directly).
In either case, the standardized contrast is Gaussian up to , giving the -limits; the strict ordering follows from (the part-(ii) hypothesis of Theorem 1, via (i)), (ii), and monotonicity of .
Remark 5 (Fixed squares: the surviving shift-tolerance condition). For a fixed square the two designs' means differ by the structural shift of Lemma 9, and the comparison instead requires with . This is not automatic: can dominate the variance gain, and its sign is construction-dependent (cf. Remark 3). Moreover, even when the standardized-mean comparison holds pairwise, an exact joint selection comparison for a fixed square would additionally require control of its limiting correlation matrix; pairwise inequalities alone do not establish it. The case-by-case condition is confined to the unrandomized design; the symbol-randomized main line does not need it.
Theorem 3. In the local-alternative regime, if the hypotheses of Lemma 10—the non-degeneracy and the selection-consistency condition —hold for every , then the union-bound on the probability of incorrect selection, , satisfies .
Proof. By Lemma 10,
for each k; summing the V - 1 strict inequalities gives the claim.
The union bound is upgraded to an exact comparison of correct-selection probabilities by identifying the joint limiting law of the contrasts under each design, in the triangular-array sense of the local regime, and comparing the two limits under one common Gaussian vector.
Lemma 11. In the local-alternative regime, for each design :
(i) for a matrix function free of —under the per-batch covariance of the contrast vector, under the per-block covariance times —with entries continuous in ; hence entrywise. (ii) is positive definite, with correlation matrix and diagonal . (iii) Jointly in the coordinates, .
Proof. (i). Under , is the average of i.i.d. bounded per-batch contrast vectors, so equals the per-batch covariance
free of ; under , is the average of i.i.d. bounded per-block contrast vectors, so .
Every entry is a finite combination of expectations of functions of over finitely many permutations, continuous in by dominated convergence; the local regime sends , giving the entrywise limits.
(ii). At the law of is item-exchangeable under either design, so the limiting contrast correlation matrix is intraclass, , with eigenvalues (multiplicity ) and , both positive (Corollary 2).
For the diagonal, by Lemma 4(b) the sampling part of is
for every each conditional success probability lies strictly in , so the batch's rating vector has full support on given , the contrast is non-degenerate, and . The design parts are nonnegative, whence and .
(iii). Fix . Under the summands (batch contrast – its mean) form, for each , an i.i.d. triangular array bounded by , with variances
by (i); boundedness verifies the Lindeberg condition, and the Lindeberg–Feller CLT applies. The Cramér–Wold device gives the joint limit. Under , we apply the same argument to the i.i.d. bounded block contrast vectors.
By Lemma 11 and (Lemma 10(i), with under the part-(ii) hypothesis), jointly.
Ties among the win rates have positive probability at any finite N, but with ties broken by any fixed rule,
the limiting Gaussian is nondegenerate, so its orthant boundary carries no mass, both bounds converge to the same limit, and
with standard Gaussian with correlation matrix .
Two facts drive the comparison: (C1) threshold dominance, for every , since the numerators coincide and (Lemma 10(i)–(ii)); and (C2) equality of the limiting correlations, (Corollary 2, whose null computation applies to the local-regime limits by the covariance continuity of Lemma 11(i)).
Proof of Theorem 1(ii). Let under the common correlation matrix of (C2).
Step 1 (a common Gaussian). By (C2) the two limiting standardized laws coincide: both selection probabilities converge to orthant probabilities of the same Gaussian vector , evaluated at the thresholds and respectively. In particular .
Step 2 (thresholds). By (C1) the Williams orthant strictly contains the shuffle orthant, and the difference contains the nonempty open box , which carries positive probability because is nondegenerate with full support (Lemma 11(ii)). Hence .
Combining the two steps,
which is (6).

Corollary 2. Under symbol randomization in , at the global null the law of is exchangeable under either design, so the limiting covariance is intraclass, (, design-specific), and the limiting contrast correlation is for both designs: . Hence (C2) holds with exact equality in the limit, and (6) is driven purely by the threshold effect (C1).
Proof. At the null all items are interchangeable, so by symmetry of the joint law of is invariant under item permutations and its covariance is intraclass.
For with ,
so the contrast correlation is for both designs; the limiting correlation matrices therefore coincide.
The variance-vanishing argument of Proposition 2'(ii) keeps unconditional, so the comparison reduces to (C1).
Remark 6 (Why standardization, not PSD-monotonicity). Deducing from via PSD-monotonicity of orthant probabilities fails in general. The route above succeeds because it standardizes first: once the limiting correlation matrices are shown to be equal (Corollary 2), the two limits are orthant probabilities of one common Gaussian vector at nested thresholds, and the comparison is driven by the threshold effect (C1) alone—no Gaussian comparison inequality is needed.
I Proofs for Section 4 (the nonlinearity bias)
Throughout, and is the marginal win probability of (3), the generic contextual shift of Section 2.1. Derivatives of are taken with respect to its scalar argument, with the reference law , which depends on the whole quality panel, held fixed. Recall , , , and the group quantities , , and with the expansion point of the result at hand ( under , under ).
I. 1 Regularity of the marginal win probability
Lemma 12. is infinitely differentiable, with and . Moreover is odd: .
Proof. Fix and set
By the mean value theorem uniformly in and near ; since is -integrable and pointwise, dominated convergence gives .
Applying the same argument to and gives the formulas for and , using the sharp bounds
(the latter attained at ). Higher derivatives are bounded in the same way, so and ; for the fourth derivative, with has maximum over , so . Positivity and the bound on follow from .
Finally, using ,
I. 2 Consistency under the complete-block shuffle, and the missing-self correction
For each position let denote the unconditional law of the contextual shift (integrating over , the ordering, and the chain), and let be the position-averaged marginal used in (3). Let be the law of conditional on . Under the complete-block shuffle the conditional prefix is a uniform ordered subset of the other items—it can never contain —so the item-conditional average differs from by an -free missing-self perturbation. The quantity item 's win rate actually estimates is
Lemma 13. Under Assumptions 1 and 2, as , for every .
Proof. Conditional on , is Bernoulli with mean . By the tower property,
and averaging over the uniform position of v within its batch gives per-batch mean .
We now average over batches, using the independent-unit clause of Assumption 1 to apply the law of large numbers. Under clause (a) the batches are i.i.d. blocks of bounded length V (the within-batch lag dependence is irrelevant to the block sums), and the weak law for i.i.d. bounded variables gives .
Under clause (b) the i.i.d. unit is the block of batches: is the average of i.i.d. block averages, each bounded in with common mean (every batch's marginal position law is uniform, by item-exchangeability), and the same conclusion follows.
Exchangeability without the independent-unit clause would not suffice: a single random order reused in every batch is exchangeable, yet gives a random limit.
Throughout this subsection set (the supremum is attained at ; note since ), , and ; both are finite for every since , with and for .
Two structural devices drive all bounds. (1) The unrolled chain. Fix a batch, a prefix ordering, and ; with and , the success probability at slot unrolls exactly (each transition being affine in the binary previous rating) as
where depends on the prefix only through the items in its window of slots.
(2) The replacement coupling. Let be a uniform ordered -arrangement of and let replace the occurrence of in (if any) by a uniform item absent from . A direct count shows is exactly uniform on arrangements avoiding (each receives probability ), and off , so for any window of slots, differ on the window) .
Lemma 14. Under Assumptions 1 and 2, for every , uniformly in ; in particular for .
Proof. At the context is regardless of the allocation, so position 1 contributes nothing to . For , conditioning on and the prefix and writing (so ),
with , the expectations of under the v-excluded and unconditional prefix laws.
Under the replacement coupling applied to (15), the term changes between and only when lies in its window. Thus, uniformly in and ,
Hence
☐
Lemma 15. View as a function of ; it is smooth (each -derivative of the finite window sums below is bounded uniformly in ). Fix and a position , and for write the window term of length (the term of (15)) as , a product of one -factor and -factors over the ordered window of the items at slots , so . With ,
the sums running over ordered m-tuples of distinct items (avoiding v in the second), and the missing-self correction is exactly
For all v and all distinct w, , uniformly in , , , for every :
Proof. Step 1 (representation). Position 1 has the same context under both laws and contributes nothing. For , conditioning on , the current item's success probability is , and (15) expands into window terms; the generic law places a uniform ordered m-tuple from all V items in each window, the v-conditional law a uniform ordered m-tuple avoiding v. This gives (16). The weights and are free of , so every derivative acts only on the factors of .
Step 2 (exchange identity). Splitting the unconditional sum according to whether gives
because and, conditional on , the window law coincides with the v-excluded law. All conditional laws are uniform on their supports, so the inclusion probabilities used below are exact falling-factorial ratios, and joint inclusion of specified labels is always computed jointly, never as a product of marginals.
Step 3 (factor derivatives). For , the oriented-integral representation together with the pointwise bounds and (the latter since and on ) gives
The B-factor and its first two derivatives are bounded by 1. A label occupies at most one window slot, so a specified first- or second-order derivative pattern differentiates specified factors with no product-rule multiplicity, and every differentiated remains bounded by .
Step 4 (window derivative bounds). Uniformly in , for distinct and :
The first bound follows from (17), with each conditional mean bounded in absolute value by . For the second, is free of , so the derivative acts only on the unconditional average, restricted to windows containing : probability .
For the third, differentiate (17): the w-inclusion probability is given and given , and their sum times is .
For the fourth, and must jointly occupy window slots of the unconditional term: probability .
For the fifth, the joint inclusion probabilities of under the two conditionings are and (impossible events having probability zero), and their sum times is .
The final numerical inequalities use and for .
Step 5 (assembly). Differentiate (16); derivatives in also act on the outer factor, with for by Step 3. Bounding every sum by and the outer position average by 1 gives the following bounds.
For , the bound is
where the two terms come from differentiating the outer factor and from . For , only the window term is differentiated, giving .
For , the product rule gives the bound
For , the bound is
Finally, the bound for is , and the bound for is . These uniform bounds also justify differentiation under the Gaussian expectation.
Proposition 6. Let with , and let with , . Then, uniformly in , for every ,
with ; in particular, under the equal-means null, . No smallness of the spreads is required. Combining with Lemma 14 ( unconditionally) gives the certified missing-self tolerance
Proof. Step 1 (flat point and gradient). Set and . At all items are exchangeable, so does not depend on and , since .
By the same exchangeability and ( ) do not depend on , so
and
using Lemma 15, , and .
Step 2 (uniform Hessian bound). With , , and the second-order bounds of Lemma 15,
separating the summands from the rest. The symmetric Hessian's operator norm is at most its largest absolute row sum, so, uniformly over ,
where the last step uses , which gives and hence .
Step 3 (Taylor along the whole segment). Taylor's theorem with integral remainder gives
Since and , the bound (from ) gives (18). The Hessian bound holds along the entire segment, so the argument requires neither a third-derivative bound nor a smallness condition on .
Remark 7 (Sharp scalings, conservative constants). Exact computation (Gauss–Hermite over u, full enumeration of orderings) at , gives across and a fourfold spread change: the 1/V and spread-squared scalings of (18) are the correct laws, while the explicit constant overshoots by roughly three orders of magnitude. Note in general, so no exact symmetrization is available. The companion fixed-design bound of Section H is the worst case over deterministic prefix configurations; annealing over the shuffle is what improves it to here.
I. 3 Proof of Theorem 2 (attenuated signal plus curvature bias)
By Lemma 13 and the continuous mapping theorem,
the second bracket, , is the missing-self contribution, bounded by (18) of Proposition 6; at that bound is .
To handle the first bracket, we fix and expand about to order three with Lagrange remainder:
Average over and write . With , so that and , the parallel-axis identities
give
Subtracting the two group averages cancels the and terms, giving
where the third-order gap-spread interaction is
using , , and ; and , where and .
For the slope, since , with equality only if a.s.; positivity follows from .
Combining these terms, the remainder of (8) is with , and, for the balanced split (unbalanced splits multiply the quadratic part by , Proposition 6),
since , , and , this is the asserted, with constants depending only on (through ) and the split ratio.
At (so ), , the -parts of the bound vanish, and the display and remainder reduce to the null form: curvature term, third-moment term, and . Matched third moments remove the displayed term; for the interaction carries a residual contribution inside the part of the remainder.
Remark 8 (When is the curvature positive?). By Lemma 12, , with for , for , and . Two simple sufficient conditions for : (a) almost surely with positive probability of strict inequality (splitting the expectation on ; attainable only for bounded-support contextual laws, hence only at under Assumption 2); (b) the density of is left-lopsided, for all with strict inequality on a positive-measure set, since then, by the odd symmetry of ,
In practice neither condition is needed: is computed directly at the fitted parameters.
Corollary 3 (Catastrophic Type-I inflation). Under Assumptions 1 and 2 and ( ), with matched third moments, , and with , the in-probability limit of is strictly positive though holds. Consequently any test rejecting when exceeds a fixed threshold below that limit has rejection probability tending to as .
Remark 9 (Interaction of the two biases). The curvature term appears under both hypotheses: under it is the entire (spurious) signal, while under it is an additive contaminant on top of the attenuated . Depending on the signs of , and it reinforces or partially cancels the true signal—a defect no threshold can repair.
I. 4 Finite-sample concentration
Recall the per-batch contrast decomposition (10): under the complete-block shuffle each batch contributes exactly one rating per item, so is an average of i.i.d. per-batch contrasts , and exactly, for every and : the centering needs no asymptotics, and no within-batch independence is assumed—the dependence created by the shared and the lag chain lives entirely inside . Write for the certified missing-self tolerance (19) of Proposition 6, and , with , ; here bounds the third-order Taylor remainder of the proof of Theorem 2 at , while bounds, for any , everything beyond the first two displayed terms of (8) (a second-order Lagrange expansion about ; the group averages of are at most ).
Lemma 16. Under Assumption 2 and the random-shuffle clause (a) of Assumption 1, for every , , and with . Under the block clause (b) the same argument at the block level gives .
Proof. Under clause (a) the are i.i.d. with range contained in (each is a difference of two averages of indicators), so Hoeffding's inequality for bounded i.i.d. variables applies; the variance identity follows from independence across batches.
Under clause (b) the block-averaged contrasts are N/B i.i.d. variables with range in and the same mean, and Hoeffding applies to them.
Remark 10 (Stateless evaluation: sharper constants, comparison only). If every evaluation were instead an independent stateless call— , , the family mutually independent—then and the weighted-Hoeffding computation with weights , with , sharpens the tail of Lemma 16 to and gives the exact variance
with , . The batched bound loses a factor of order V in the exponent—the price of context sharing—but no result in this paper assumes stateless evaluation; this remark only calibrates the constants.
Proposition 7. Under Assumption 2, the random-shuffle clause (a) of Assumption 1, and , for every ,
Proof. Write the bracketed quantity as , where is stochastic and
is deterministic, with by the case of the proof of Theorem 2 together with Proposition 6.
Then , and Lemma 16 applies.
Proposition 8. Under Assumption 2, the random-shuffle clause (a) of Assumption 1, and , for every ,
in particular, when , the centering is .
Proof. We use the decomposition in the proof of Proposition 7. The second-order Lagrange bound above and Proposition 6 bound the deterministic part by , while Lemma 16 controls S.
Remark 11 (Bernstein sharpening). Bernstein's inequality applied to the i.i.d. batch contrasts replaces the exponent by , improving the bound whenever ; the stateless analogue uses .
Proof of Corollary 1. Under clause (a) the batch contrasts are i.i.d., bounded by 1 in absolute value, with mean and variance . By the CLT,
SO
in probability (with the sign of ).
The empirical variance of the converges in probability to by the weak law for i.i.d. bounded variables, and for any Slutsky's theorem gives
hence for every fixed .
Proposition 9 (Calibrated local efficiency comparison in the stateless submodel). Consider the independent stateless submodel of Remark 10 ( , , the family mutually independent, the context law held fixed). Fix a baseline panel with equal group means, and consider the local path on , on , for fixed . Write , , , and
where is the asymptotic Fisher information per evaluation about achieved by the model-based fit, assumed diagonal across items—as holds when the context law is known; estimating common context-law parameters would introduce cross-item information and require the full covariance matrix in place of . Assume the fitted item estimates are regular and jointly asymptotically normal about the local parameters with . Then, with the naive statistic oracle-centered at ,
and the asymptotic relative efficiency, defined as the ratio of squared limiting noncentrality parameters (model relative to naive), is
with within-group means. This is a comparison at the specified baseline and path, not a validity claim for the naive statistic as a test of the composite equal-group-means null: may be nonzero at baselines with unequal spreads (Theorem 2), so the centering is essential, and estimating would add variance and covariance contributions that the display omits. With equal group sizes and pooled means : (i) in the context-observed regime : the fit conditions on the realized context, a distinct observation experiment from the marginal one below),
a context gain pointwise by Jensen on the concave , strict iff ) times a heterogeneity tax (harmonic-to-arithmetic mean ratio of , = 1 iff constant); (ii) in the context-marginal regime : only each item's marginal Bernoulli law is used), , which tends to 1 under slow variation of (the marginal MLE is a smooth transform of ) and reduces to when the context is degenerate —a pure variance tax growing with item heterogeneity.
Proof. Along the path, by a first-order expansion of at , and (exactly at each , evaluated along the path, by independence); the CLT for the oracle-centered statistic follows.
The model-based contrast estimates the local gap directly with by hypothesis. The ratio of squared noncentrality parameters is
which is (20).
For (i), substitute and factor
the pointwise inequality follows from Jensen's inequality for , and is the arithmetic–harmonic inequality.
For (ii), substituting gives the stated expression and its two limiting cases. Finally, follows from the Cauchy–Schwarz inequality.
Remark 12 (Which regime is real). Proposition 9 is exact only in the stateless submodel: under the batched Markov design both estimators acquire within-batch covariance and nuisance-parameter corrections that the display ignores, and we use the factorization only as an interpretable calibration—the batched case is probed directly by the simulations of Section 4.2. With that scope understood: the “efficiency factor” is regime (i) under slow variation—all context gain, no tax; the opposite-signed “variance tax” (with ) is regime (ii) with degenerate context—all tax, no gain, and setting contradicts the very contextual noise this paper models. The batched GLMM sits between the regimes: the lag and cold-start covariates are observed exactly, while the batch effect is a genuinely latent component; in our fits at the estimated per-item information tracks the regime-(i) value, and we use regime (i) as a heuristic calibration rather than a limit claim. The heterogeneity tax in (21) is real and grows with the item-panel spread. Neither test dominates in general: in matched-spread simulations the factors nearly cancel, while on saturated panels the context gain dominates—the pattern of Section 6.