Manuscript Offprint
arXiv:2608.29560Which LLM for Which Work? Budgeted Model Allocation under Uncertain Evaluation
Abstract
A company with a fixed artificial intelligence (AI) budget must decide which large language model (LLM) handles each recurring workload. It knows each workload's traffic and each model's price. What it lacks is the quality table, how well each model performs on each workload. Given that table, the decision is a multiple-choice knapsack problem and is routine to solve, so estimating it is the difficulty, and that estimation fails in two ways. Models are rarely compared on the same work, and the recorded score is usually a proxy rather than the outcome the company values. Causal and off-policy methods repair the first but condition on the second, while evaluator-validation methods estimate the second but stop short of the decision. Worse, buying more re-evaluation cannot settle the second: randomization governs which requests are scored, not how a score is produced, so the table stays uncertain however much evaluation is purchased. Yet the deployment decision may still be determined even when the table is not. We therefore ask whether one assignment stays optimal across every quality table consistent with the evidence. For the fixed-budget problem, this admits an exact two-solve certificate: solve once at the estimated table and once at a least-favourable table. Agreement certifies the assignment; disagreement identifies the model–workload pairs where further evidence can matter. We propose CASE (causal active sequential experimentation), which targets evaluation to those pairs and repeats the test as evidence accumulates. On a production log, the measurement failure is the larger of the two: correcting assignment exactly still leaves most of the loss, and randomized re-evaluation does not remove it. In our experiments, the available evidence often does not determine which model should be assigned to each workload. On paid software tasks, better information about model quality yields more savings than further optimization of the model-to-workload assignment using the same quality estimates.
1 Introduction
Consider a company with a fixed monthly budget for language models, whose engineers write code, support team answers tickets, analysts summarize documents, and sales team drafts outreach. Prices differ substantially and the same model need not be best for every kind of work, so the company must decide which model serves which workload, and revisit it as prices and its mix of work change. Such decisions govern much of the $12.5 billion of annual enterprise spending on foundation models [20].
Stated formally the problem is standard. Group the work into workloads and the options into candidate models, and let the quality table hold, in entry , the average over all of workload of the outcome that model would deliver. We call that per-request outcome the designated outcome, Preprint.
the quantity the operator has chosen to value and that the recorded score only proxies; its workload average is the cell's target quality. Given that table, choosing one model per workload under a shared budget is a multiple-choice knapsack problem [23, 26], and standard solvers handle far larger instances. The allocation is not the difficulty. Estimating is, and the way that estimation fails is what separates this problem from a knapsack problem whose coefficients are known.
Why is hard to estimate. The table must be read off production logs, automatic judges and user feedback, and two features of that data obstruct it. Assignment is not independent of the outcome, since a default, a habit or an automated selection system decided which model received a request [10, 24, 31, 33], so a cheaper model can look competitive merely because it received easier requests. And the recorded score is a proxy, since an LLM judge, a task grader or a click can depend systematically on answer length, answer position, or which model produced the response [8, 14, 22, 29, 34]. These are failures of assignment validity and of measurement validity, both biases rather than sampling error, and they respond differently to spending: re-evaluating a random sample of requests removes the first and leaves the second, because randomization governs which requests are scored and not how a score is produced.
Our approach: settle the decision, not the table. The operator does not need the quality table, only the decision it induces, so we ask not how to estimate the table but whether the allocation is the same at every table the evidence admits. Call the decision settled when it is, pinned down by the evidence in hand however wide that set may be. Deciding this appears to need a continuum of solves. It does not: for the budgeted rule one least favourable table dominates the set, so a second solve of the same program answers it exactly, and the decomposable rule has an exact workload-wise analogue (App. C). When the two solves disagree, the pairs on which they differ are the ones worth paying to measure, and §3 spends a fixed evidence budget there. We call the method CASE (causal active sequential experimentation): causal because the evidence it buys is a randomized re-evaluation rather than more of the same log, active because it buys only where the two solves disagree, and sequential because the test is re-run after each purchase.
How this compares with existing approaches. Three lines of work each supply part of what this problem needs. Optimization under uncertainty starts from the coefficients, or a set of possible values for them, and finds the best decision [7, 18, 23, 26], but begins where we cannot, since that set is what we must derive from data. Causal inference and off-policy evaluation recover what each model would have scored on the whole workload when assignment is as good as random given observed features [11, 13, 27, 32], but take the recorded score at face value, so an evaluator that quietly prefers one model passes undetected, looking exactly like that model being better (Cor. B.4). Work on evaluator validity measures how far a score departs from human judgement [2, 4, 5, 28] without asking whether a gap of that size would change a deployment. Each addresses one half. Our problem requires both at once (App. E). Six corpora test these claims in §4.
Two allocation rules are common in practice, both taking a quality table and returning one model per workload. Workloads are indexed and models . Workload carries traffic share with , model costs per request on it, the operator serves requests per period under a serving budget , and collects the models supported on workload , all known. We state the rules for a generic table , since the difficulty throughout is that the operator must supply a table that is not .
Fix the spend, maximize quality. With a binary selecting model for workload ,
is the set of best affordable allocations for the table , more than one when they tie. The last constraint picks one model per workload, written . The single budget constraint couples the workloads, so the choices cannot be made separately (Fig. 2 in App. A).
Fix the quality, minimize the spend. With a tolerance ,
Call a model admissible in workload j when it is within of that workload's best, so (2) buys the cheapest admissible model. It carries no budget constraint, so unlike (1) it decomposes, and workload j is settled by column j of alone. Neither rule is a special case of the other.
The decision map. Both rules are maps from a quality table to an allocation, . Both are written with an arg, set-valued when two allocations tie. Ties are exactly the boundaries this section is about, so we break them by a fixed total order, cheapest first and then lexicographic, making single-valued.
Statements using nothing beyond the map are made for ; Prop. 3.1 turns on the budget coupling of (1) and is stated for that rule alone. Because (2) decomposes, settlement there is checked column by column, by asking whether the cheapest admissible model in a workload stays the same over that column's interval, and App. C gives the closed form.
Ψ is piecewise constant. Both rules read only which cells beat which and by how much, so a whole neighbourhood of tables returns the same allocation. Write for the stability radius, the largest with for all . Error below is free, so the operator never needed , only the region it falls in. Each allocation owns the set of tables that produce it, , and these regions partition the space of quality tables. Their shape is the one place the rules differ. Under (1) the objective is linear in , so intersects the half-spaces on which beats each budget-feasible rival and a boundary is a hyperplane separating two whole allocations; under (2) the rule decomposes, so is a product across workloads and a boundary is a threshold on one workload's quality gap. Coupling makes the first case global, so crossing one hyperplane can reassign several workloads at once (Fig. 2 in App. A, where changing one model's quality moves two assignments).
Which errors move the decision, and which do not. Error of a given size is not equally dangerous in every direction, and both rules agree on which directions matter.
Lemma 2.1 (Columns are free, rows are not). Let be either rule. Adding a constant to every entry of column , one constant per column, leaves the allocation unchanged. Adding a constant to every entry of row can change it.
Under (1) a column shift moves every allocation’s objective by the same , since does not depend on and leaves nothing for to change, and it leaves costs alone; a row shift instead moves it by , which depends on the allocation; under (2) a column shift moves both sides of the admissibility test together, while a row shift moves the column best and the admissible set with it. A shift exceeding the gap between a workload’s top two models reverses its ranking, so the allocation does change. Only the within-workload spread of an error is therefore decision relevant, which lets (5) fix each column’s level without loss of generality.
The cost of choosing wrongly. For an allocation, written for the map that sends each workload j to the model chosen for it, the target-value loss is the target quality given up relative to the allocation an operator holding the true table would make,
Serving costs per period, to which purchased evaluation is added.
That loss is written in , which the operator does not have. What it has instead is a set of tables the evidence leaves open. This need not be fatal, since is piecewise constant and the operator needs the region rather than the point, so the question is one of containment, written with the decision region of the tables that produce ,
the decision is determined
that is, whether some single allocation has a region large enough to hold every table in . If one does, the operator can act without knowing , however wide is. If instead straddles the boundary between two regions the answer is unknown however narrow it is, and the cells that boundary is written on are the ones worth paying to measure. §3 builds U, decides the containment, and says what to buy when it fails.
3 Proposed approach
The operator’s two sources of evidence are the production log and randomized re-evaluation. We use them to construct U rather than to estimate the quality table exactly.
3.1 Bounding the quality table
We summarize the production log by the table M. Its entry is the average recorded score among workload-j requests that production assigned to model k. We summarize randomized re-evaluation by the table R. Its entry is the average recorded score when workload-j requests are drawn at random and run on model k. We call one purchased randomized observation a readout of cell .
Randomized re-evaluation provides the causal comparison the production log cannot. A model may look better in the log simply because it was assigned easier requests. Evaluating it on a random sample of the workload removes that source of bias. The difference between the logged average and the randomized average measures this selection bias when evaluator error is the same on average in the two settings. App. B states this as Assumption B.1 and discusses its limits. Because readouts cover only some cells, we form one correction per model, the average of the observed differences over that model's readout cells, . Subtracting it from every logged entry gives the selection-adjusted table V, with entries and used directly wherever a readout is available.
We assume the measurement error left by the correction lies, in workload j, between zero and a width that we call the evaluator band; Assumption B.2 in App. B is why it is assumed rather than estimated.
The evidence therefore leaves the set
In words, the randomized score can overstate the designated outcome by at most one evaluator band, so each cell's true value lies between and . Only the width of that interval matters: by Lemma 2.1 the common in (5) changes no decision, so placing the band below rather than around it fixes a level and assumes nothing about the sign of the error. The uncertainty set (5) writes this same interval by its centre and half-width, and the algorithm can therefore work at the level of and solve at , which coincides with when the per-model correction is exact. These are the quality tables the evidence still leaves open; App. B gives the construction of in full.
3.2 Testing whether the evidence determines the allocation
Let be budget-feasible and optimal at the current estimate . For any quality table , is the set of budget-feasible allocations that achieve the highest quality under that table. We call settled if
Among all quality tables still plausible given the production log, the randomized readouts, and the assumed evaluator band, none makes another affordable allocation better than . Equation (4) called the decision determined only when every table in U leads to the same allocation after applying the fixed tie-breaking rule. Settlement is slightly weaker. If ties with another allocation at some table in U, it still counts as settled because it remains optimal.
Checking every table in U appears to require infinitely many solves. For the budgeted rule, one adverse table is enough. To make as weak as possible, lower every cell it selects to the bottom of its interval and raise every other cell to the top. The result is the adverse table , the table in U least favourable to , and this same endpoint choice is worst against every rival at once,
which gives its smallest possible margin over every competitor.
Proposition 3.1 (Exactly when the budgeted allocation is settled). Let be budget-feasible and optimal at . Then is settled over if and only if every budget-feasible satisfies
and equivalently if and only if remains optimal at the adverse table defined in (6), that is, .
The inequality compares how much better is than a competing allocation with how much the remaining uncertainty could change that comparison. It is non-strict because a tie leaves optimal. Only workloads where and choose different models matter, because workloads where they make the same choice contribute equally to both allocations. Prop. 3.1 turns this check into two solves of the same budgeted allocation problem, Eq. (1). First find the highest-quality allocation under the serving budget at , giving . Then form the adverse table , which lowers the cells selected by and raises the alternatives as far as allows, and solve again. If remains optimal, no table the evidence admits makes another affordable allocation better, and measurement can stop.
If is no longer optimal, let be the allocation that replaces it. The cells where they differ form the disagreement set
and only uncertainty in these cells affects the comparison between and . Evidence bought outside cannot resolve the disagreement. Once it is resolved, the test runs again because a different allocation may then prevent settlement.
3.3 Measuring where the allocations disagree
A failed test does more than say that the decision is unsettled. It identifies where additional evidence can change the allocation. CASE next looks for the closest competing allocation at the current selection-adjusted table V. For an alternative model on workload , let be the best total quality achievable under the serving budget when is forced, and let be the value of the current allocation. Let be the workload and the alternative model with the smallest loss from such a forced substitution:
A smaller gap means that switching workload to model , while re-optimizing the remaining workloads, gives up less total quality. Thus, identifies the closest competitor to . The next purchase is an unread cell among and . A purchase does not narrow that cell, whose half-width stays . It replaces the cell's logged entry with its randomized one and updates the model's correction , moving the centre of and with it the margins the test compares.
CASE repeats the loop, updating the quality estimates, running the adverse test, and buying evidence where it can still change the allocation. Alg. 1 gives the full procedure. CASE stops once the remaining uncertainty cannot change the allocation, without reading every cell.
4 Experiments
We ask whether the selection correction of §3.1 recovers decision-relevant quality, whether the certificate of Prop. 3.1 settles the allocation at the evaluator widths real data exhibits, and whether closing the remaining gap is worth paying for. It does, it seldom does, and it is. On the one production log carrying both a proxy score and the outcome it stands in for, CASE gives up 1.57 of target value against 1.76 for trusting the log and 1.94 for a traffic vote, all in units of (Table 1). On LLMRouterBench, under faithful scoring, it removes 32% of the loss that trusting the log incurs, which is 89% of what the same correction reaches with unlimited audit information, and it needs none of the logging propensities that no corpus we study records. The certificate is exact and costs one extra solve, yet at the band we measure on real data it settles 1 of 210 instances: the binding constraint is the evidence, not the optimizer, and better evidence is worth 0.046 of target quality per request on LLMRouterBench.
Algorithm 1 CASE, with randomized readouts as the evidence bought. Symbols follow §2 and §3.1, the production log, the cells bought, readouts per cell.
Require: production log , prices , traffic , serving budget , half-widths , evidence budget
Ensure: audit queue, an allocation, its expected quality, its deployment cost, and a settled/unsettled verdict, with the disputed cells on failure
1: mean logged score per in ,
2: for each model do one seed comparison per model
3: buy readouts of some , add the cell to and record
4: end for
5: while and is not yet settled do
6: for each
7: , with substituted where bought
8: by solving (1) at under budget
9: if selects , else the adverse table
10:
11: if then return , settled Prop. 3.1
12: end if
13: the cells in dispute, (8), reported with the verdict
14: buy readouts of one unread cell by the closest-competitor rule of §3.3
15: end while
16: return , , , , and unsettled with the disputed cells : the evidence budget was exhausted before the test of Prop. 3.1 passed
Table 1: Removing assignment bias does not remove measurement loss. Target-value loss is measured in the KuaiRand like outcome () with a evidence budget, reported as mean one standard error over 30 log partitions. The traffic vote assigns each workload to its most-used model and does not use the evaluator. Under randomized assignment there is no most-used model to vote for, so those cells are dashed. Allocations use the quality-constrained rule (2) with . Target-outcome scoring is unbiased by construction but noisier because likes are 36 times rarer than clicks.
| Deployed decision | evaluator = click (D1) | evaluator = target (D0) | ||
|---|---|---|---|---|
| A1 (selective) | A0 (randomized) | A1 (selective) | A0 (randomized) | |
| Trust-the-log | ||||
| CASE | ||||
| Traffic vote | — | — | ||
| Cellwise-perfect repair | 0.00 | 0.00 | ||
Every corpus but KuaiRand is an offline replay of a benchmark grid that records each model's score on each prompt, so the quality table is known and the target-value loss (3) of any allocation can be computed. A workload is a group of prompts, and a partition is one random draw of the disjoint cohorts a run needs: one to fit the router that produces the production log, one to serve as that log, one to draw readouts from, and one to score the allocation each method returns. Every number below averages over 30 such draws and carries one standard error. Two budgets appear throughout. The serving budget of (1) is reported as a multiple of the cheapest feasible spend, and the evidence budget is the share of model–workload cells the audit may buy, unless stated otherwise. KuaiRand is a production log rather than a replay, and §4.1 takes it first. App. D gives the design checks, interval construction, and causal baselines.
4.1 What CASE recovers on a production log
KuaiRand-Pure [12] is the one corpus whose requests carry both a click, which we treat as the recorded proxy score, and a like, which we treat as the designated outcome, so a deployed decision can be priced in the outcome the operator values and errors caused by selective routing separate from errors caused by the score itself. Table 1 reports the target-value loss of four ways of deciding, among them a traffic vote that never consults the evaluator.
The fourth row is an oracle. A cellwise-perfect repair removes the selection bias separately in every model–workload cell, showing what randomized re-evaluation could achieve if that bias were corrected exactly, so what it leaves is due to the mismatch between clicks and likes alone. It leaves 2.01, more than CASE: the router's preference for some models and the click score's preference partly cancel, so removing only the first exposes the second. App. D gives the full comparison and checks this interaction.
The same corpus measures the band that §4.3 tests against. Comparing the click score with the like outcome in each cell, the spread across models within a workload is the of §3.1: median 0.128 over the eight workloads, ranging from 0.095 to 0.173, more than six times the 0.02 used in our benchmark replays. Real judges are no narrower, at 0.336 on LMArena (App. D, Table 9).
4.2 Randomized re-evaluation repairs selection but leaves a floor
Evaluator error survives the removal of selection bias, so we ask whether randomized re-evaluation still helps choose the allocation. We vary whether requests are selectively or randomly assigned and whether the evaluator is faithful or distorted, across serving budgets.
Figure 1 shows how much target quality each method gives up at each serving budget, first under selective routing alone and then with a distorted evaluator added. With selective routing, CASE reduces target-value loss at , and the cheapest feasible spend; at the budget itself fixes most of the allocation and the correction does not pay for itself. With randomized assignment there is no selection bias to remove, and CASE no longer improves on trusting the log. A distorted evaluator leaves additional loss under either assignment scheme, consistent with the residual uncertainty captured by . RouterBench [15] shows the same selection correction at three of the four budgets tested. The correction is also near its own ceiling: against the raw routed log's 0.0499, CASE leaves 0.0338 and the best correction of the same form with unlimited audit information leaves 0.0318, so under faithful scoring a 35% evidence budget already buys 89% of what more evidence of this kind could buy (App. D).
(a) Selective routing
(b) Selective + distorted

Trust the production log
CASE
Uniform randomized readouts
Cellwise-perfect assignment repair (unachievable)
Figure 1: Randomized evidence repairs selection but leaves the evaluator floor. Target-value loss of (1) against on LLMRouterBench [19], with a 35% evidence budget and SE over 30 partitions 6 seeds. Dashed is the unachievable Cellwise-perfect assignment repair.
Selective routing can also be corrected from the production log when assignment probabilities are recorded. Using the true probabilities, log-only estimators match CASE without audit spending. None of the corpora we study records those probabilities, so this correction is not available here, and estimating them instead performs worse. App. D gives the estimators and full results.
4.3 When the range determines the allocation
We measure how much evaluator uncertainty each instance tolerates before its optimal allocation changes. For each partition and serving budget we increase a common evaluator spread until the current allocation is no longer optimal throughout U, and call the largest tolerable value the decision margin.
Table 2 reports the decision margins by serving budget. On LLMRouterBench, the median margin is 0.0456 at the cheapest feasible spend, with 21 of 30 partitions tolerating . At , the median falls to 0.0026 and none do. Tight budgets rule out many expensive alternatives, leaving fewer ways for uncertainty to change the allocation. RouterBench shows a weaker pattern, and neither benchmark is monotone across all seven budgets. To check whether this result depends on allowing evaluator error to vary across model–workload cells, we repeat the analysis with one common error
Table 2: The range is more likely to determine the allocation under a tight serving budget on LLMRouterBench. The decision margin is the largest evaluator spread for which the allocation stays optimal over all of , with counts of the 30 partitions reaching two spreads.
| Corpus | / cheapest | median margin | margin 0.01 | margin 0.02 |
|---|---|---|---|---|
| LLMRouterBench | 1.25× | 0.0456 | 23/30 | 21/30 |
| LLMRouterBench | 2× | 0.0179 | 20/30 | 14/30 |
| LLMRouterBench | 8× | 0.0026 | 5/30 | 0/30 |
| RouterBench | 1.25× | 0.0132 | 16/30 | 10/30 |
| RouterBench | 2× | 0.0133 | 18/30 | 9/30 |
| RouterBench | 8× | 0.0037 | 6/30 | 1/30 |
per model across workloads. The decision margins increase by about one third, but only one of 420 verdicts changes at the measured width. App. D gives the full budget sweep and this structural check.
These margins are small relative to the evaluator error measured in real data. KuaiRand has median , nearly three times the largest median margin in Table 2, and only one of the 210 LLMRouterBench partition–budget pairs remains determined at that width. Thus randomized re-evaluation can improve the estimate of without fixing the allocation. CASE therefore buys targeted evidence for the model–workload cells that can still change the decision, as described in §3.3.
4.4 What better information about the quality table buys
We now price that uncertainty. Holding the serving budget at , we solve (1) from the raw production log, from the selection-adjusted table, and from the designated outcome, then score all three allocations on the designated outcome. Target quality rises and deployment spend rises with it, per million requests against a cap: the budget is a cap rather than a target, so an inaccurate table underspends it, sending work to cheap models that a correct table would not have chosen. The selection-adjusted table recovers about one quarter of the quality gap, and assigns a different model from the designated-outcome table on of workloads against for the raw log. App. D tabulates all three.
The value is also substantial in dollars. On 150 paid SWE-Lancer [21] tasks, routing with the observable quality table gains about 35,000. That oracle also decides per task rather than per payout band, so the gap bounds the value of better quality information rather than measuring it. App. D reports both comparisons in full. The allocation is solved exactly at every table, so a better optimizer applied to the same table has nothing left to gain, and the value lies in better measurement.
5 Conclusion
An operator must assign each workload to one model under a spending cap. If the average target quality of every model on every workload were known, collectively forming the quality table , the assignment would be a standard knapsack problem. The difficulty is that this table is unknown. Randomized re-evaluation can correct selective assignment, but it does not touch the evaluator's mean departure from the designated outcome. We therefore bound the quality tables consistent with the evidence and ask whether they all imply the same allocation. For the budgeted rule, two solves are enough. Agreement settles the decision, while disagreement identifies the model–workload pairs where more evidence can matter. At the evaluator bands we measure, the method often declines to certify, showing that trustworthy quality information, not optimization, is the binding constraint.
Limitations. CASE certifies robustness only to the uncertainty set supplied to it, not that the unknown table lies in that set, and the sampling error of the estimated centre of sits outside it. Our row-level correction can also miss cell-specific residual bias, especially for cells that are never re-evaluated. Most evaluations are offline replays rather than live deployments. And where designated outcomes are unavailable the band must be assumed, and §4.1 shows the error in real data can be far larger.
Reproducibility. github.com/HamedKhosravi99/logged-llm-comparison-audit.
References
[1] Hassene Aissi, Cristina Bazgan, and Daniel Vanderpooten. Min-max and min-max regret versions of combinatorial optimization problems: A survey. European Journal of Operational Research, 197(2):427–438, 2009.
[2] Anastasios N. Angelopoulos, Stephen Bates, Clara Fannjiang, Michael I. Jordan, and Tijana Zrnic. Prediction-powered inference. Science, 382(6671):669–674, 2023.
[3] Igor Averbakh. On the complexity of a class of combinatorial optimization problems with uncertainty. Mathematical Programming, 90(2):263–272, 2001.
[4] Andrew M. Bean et al. Measuring what matters: Construct validity in large language model benchmarks. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2025. arXiv:2511.04703.
[5] Pierre Boyeau, Anastasios N. Angelopoulos, Tianle Li, Nir Yosef, Jitendra Malik, and Michael I. Jordan. AutoEval done right: Using synthetic data for model evaluation. In International Conference on Machine Learning (ICML), volume 267 of PMLR, pages 5276–5290, 2025.
[6] Wei-Lin Chiang, Lianmin Zheng, Ying Sheng, Anastasios N. 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 International Conference on Machine Learning (ICML), 2024.
[7] Haya Diwan, Lisa Hellerstein, Nicole Megow, and Jens Schlöter. Optimal verification of a minimum-weight basis in an uncertainty matroid. In 43rd International Symposium on Theoretical Aspects of Computer Science (STACS 2026), volume 364 of LIPIcs, pages 32:1–32:20, 2026. doi: 10.4230/LIPIcs.STACS.2026.32.
[8] Florian E. Dorner, Vivian Y. Nastl, and Moritz Hardt. Limits to scalable evaluation at the frontier: LLM as judge won't beat twice the data. In International Conference on Learning Representations (ICLR), 2025. arXiv:2410.13341.
[9] Miroslav Dudík, John Langford, and Lihong Li. Doubly robust policy evaluation and learning. In International Conference on Machine Learning (ICML), 2011.
[10] Tao Feng, Yanzhen Shen, and Jiaxuan You. GraphRouter: A graph-based router for LLM selections. In International Conference on Learning Representations (ICLR), 2025.
[11] Dennis Frauen et al. Causal methods for LLM development and evaluation. In ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD), 2026. arXiv:2605.25998.
[12] Chongming Gao, Shijun Li, Yuan Zhang, Jiawei Chen, Biao Li, Wenqiang Lei, Peng Jiang, and Xiangnan He. KuaiRand: An unbiased sequential recommendation dataset with randomly exposed videos. In Proceedings of the 31st ACM International Conference on Information and Knowledge Management (CIKM '22), pages 3953–3957. Association for Computing Machinery, 2022. doi: 10.1145/3511808.3557624.
[13] Jiacan Gao, Xinyan Su, Mingyuan Ma, Yiyan Huang, Xiao Xu, Xinrui Wan, Tianqi Gu, Enyun Yu, Jiecheng Guo, and Zhiheng Zhang. Budgeted active experimentation for treatment effect estimation from observational and randomized data. arXiv preprint arXiv:2602.22021, 2026.
[14] Jiawei Gu et al. A survey on LLM-as-a-judge. arXiv preprint arXiv:2411.15594, 2024.
[15] Qitian Jason Hu, Jacob Bieker, Xiuyu Li, Nan Jiang, Benjamin Keigwin, Gaurav Ranganath, Kurt Keutzer, and Shriyash Kaustubh Upadhyay. RouterBench: A benchmark for multi-LLM routing system. arXiv preprint arXiv:2403.12031, 2024.
[16] Guido W. Imbens and Donald B. Rubin. Causal Inference for Statistics, Social, and Biomedical Sciences: An Introduction. Cambridge University Press, 2015.
[17] Panos Kouvelis and Gang Yu. Robust Discrete Optimization and Its Applications, volume 14 of Nonconvex Optimization and Its Applications. Kluwer Academic Publishers, 1997.
[18] Daniel Kuhn, Soroosh Shafiee, and Wolfram Wiesemann. Distributionally robust optimization. Acta Numerica, 34: 579–804, 2025.
[19] Hao Li, Yiqun Zhang, Zhaoyan Guo, Chenxu Wang, Shengji Tang, Qiaosheng Zhang, Yang Chen, Biqing Qi, Peng Ye, Lei Bai, Zhen Wang, and Shuyue Hu. LLMRouterBench: A massive benchmark and unified framework for LLM routing. In Findings of the Association for Computational Linguistics: ACL 2026, 2026. arXiv:2601.07206.
[20] Menlo Ventures. 2025: The state of generative AI in the enterprise. Industry survey, enterprises, 2025. URL https://menlovc.com/perspective/2025-the-state-of-generative-ai-in-the-enterprise/. Reports 37B enterprise generative-AI spend and 12.5B foundation-model API spend. Accessed 29 July 2026.
[21] Samuel Miserendino, Michele Wang, Tejal Patwardhan, and Johannes Heidecke. SWE-Lancer: Can frontier LLMs earn $1 million from real-world freelance software engineering? arXiv preprint arXiv:2502.12115, 2025.
[22] Arjun Panickssery, Samuel R. Bowman, and Shi Feng. LLM evaluators recognize and favor their own generations. In Advances in Neural Information Processing Systems (NeurIPS), 2024.
[23] Prabhakant Sinha and Andris A. Zoltners. The multiple-choice knapsack problem. Operations Research, 27(3):503–515, 1979. doi: 10.1287/opre.27.3.503.
[24] Jiayuan Su, Fulin Lin, Zhaopeng Feng, Han Zheng, Teng Wang, Zhenyu Xiao, Xinlong Zhao, Zuozhu Liu, Lu Cheng, and Hongwei Wang. CP-Router: An uncertainty-aware router between LLM and LRM. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), volume 40, pages 33065–33073, 2026.
[25] Adith Swaminathan and Thorsten Joachims. The self-normalized estimator for counterfactual learning. In Advances in Neural Information Processing Systems (NeurIPS), 2015.
[26] Tibor Szkaliczki. Solution methods for the multiple-choice knapsack problem and their applications. Mathematics, 13(7):1097, 2025. doi: 10.3390/math13071097.
[27] Asterios Tsiourvas, Wei Sun, and Georgia Perakis. Causal LLM routing: End-to-end regret minimization from observational data. In Advances in Neural Information Processing Systems (NeurIPS), 2025.
[28] Hanna Wallach et al. Position: Evaluating generative AI systems is a social science measurement challenge. In International Conference on Machine Learning (ICML), 2025. arXiv:2502.00561.
[29] Peiyi Wang, Lei Li, Liang Chen, Zefan Cai, Dawei Zhu, Binghuai Lin, Yunbo Cao, Lingpeng Kong, 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), pages 9440–9450, 2024.
[30] Zhilin Wang, Yi Dong, Olivier Delalleau, Jiaqi Zeng, Gerald Shen, Daniel Egert, Jimmy J. Zhang, Makesh Narsimhan Sreedhar, and Oleksii Kuchaiev. HelpSteer2: Open-source dataset for training top-performing reward models. arXiv preprint arXiv:2406.08673, 2024.
[31] Haozhen Zhang, Tao Feng, and Jiaxuan You. Router-R1: Teaching LLMs multi-round routing and aggregation via reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2025.
[32] Yichi Zhang, Fangzheng Xie, Shu Yang, and Chong Wu. Meta-router: Bridging gold-standard and preference-based evaluations in large language model routing. arXiv preprint arXiv:2509.25535, 2025.
[33] Hang Zheng, Hongshen Xu, Yongkai Lin, Shuai Fan, Lu Chen, and Kai Yu. DiSRouter: Distributed self-routing for LLM selections. In International Conference on Learning Representations (ICLR), 2026. URL https://openreview.net/pdf?id=KDcwXKr0NU.
[34] 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) Datasets and Benchmarks Track, 2023.
A Notation
Table 3 lists the symbols the main text uses, in the order §2 and §3 introduce them.
Table 3: Notation, in the order this section introduces it. The tables , and differ only in who was measured and what the measurement was. Only and are observable, and only through estimates. The evaluator gap and its parts are introduced in App. B and used only in the appendices.
| Symbol | Name | What it is |
|---|---|---|
| Primitives (§2) | ||
| share, price | workload 's traffic share, and model 's per-request price on it | |
| volume, serving budget | requests per budget period, and the spend allowed on them | |
| candidate set | models supported on workload | |
| Tables (§2, §3.1) | ||
| target-outcome table | average designated outcome of model over all workload- requests; the unknown | |
| logged score table | expected recorded score of model over the workload- requests the router sends it | |
| randomized-audit table | expected recorded score of model on a fresh random sample of workload | |
| estimates | sample means over logged and randomized scores | |
| correction, selection-adjusted table | one offset per model from the bought cells, and with readouts substituted where bought | |
| Error and uncertainty (§2, §3.1, App. B) | ||
| selection gap | how much easier or harder the router's requests were, in target units | |
| evaluator gap | how far the recorded score sits from the designated outcome, per cell; App. B only | |
| model-level gap | the case , the evaluator's mean error not varying across workloads; appendices only | |
| evaluator band | assumed width of the interval (5) that lies in, below | |
| model-level class | the processes satisfying Assumptions B.1 and B.2 | |
| Decision and criterion (§2, §3) | ||
| the two rules | budgeted allocation (1), and quality-constrained rule (2) at tolerance | |
| either rule | written where a statement holds for both | |
| target decision | , the decision the true table would produce | |
| decision region, stability radius | the tables that produce , and the largest perturbation of that leaves unchanged | |
| the box | the tables the evidence admits, (5); the decision is settled when one allocation is optimal at every one of them | |
| half-width | radius of cell in , half the evaluator band | |
| disagreement set | the cells where the incumbent and its challenger differ, (8) | |
| target-value loss | target value given up by deploying instead of | |
| evidence budget | model–workload cells the operator may buy, at readouts each | |
| observable gap | distance from model to the best other model in workload , on , in the appendices only | |

Figure 2: Illustrative budgeted allocation, not an empirical result. Rows are models with per-thousand-request prices, columns are workloads with monthly volumes, cells report quality, and outlined cells show the allocation, the heavier outline marking the two decisions that differ. The right panel changes only the Small model's target quality, yet coding and drafting both move.
B Proofs
This appendix collects the formal content deferred from §2 and §3, namely the request-level setup the statements below share, the counterexamples separating the two decision rules, the proof of the two conditions on the evaluator that the construction assumes, with Cor. B.4, and the proof of Prop. 3.1.
Setup. A request carries a workload label and was served by a model , and is the designated outcome it would receive if model served it, defined for every model and not only the one that did [16], so that . Write and for the recorded scores under the observational and the randomized design, and for the evaluator gap under each, and for the selection gap, which vanishes when . The two observables are then
an identity in these definitions rather than an assumption, and of (5) is the set of tables over the error tables
Neither rule reads the level of a column, so only the within-workload spread of C is decision relevant and (10) loses nothing by placing that spread in .
Two conditions on the evaluator carry the construction. We assume them rather than establish them.
Assumption B.1 (Assignment recovery). The evaluator's mean error is the same in the two streams, in every cell.
Assumption B.2 (Model-level evaluator error). That error does not vary across workloads, . Write P for the processes satisfying both conditions.
Subtracting the two lines of (9) under Assumption B.1 leaves in every cell, which is the correction §3.1 applies; what it then targets is rather than . The condition constrains evaluator error and not assignment, and App. D measures its residual. Using one evaluator on both streams does not deliver it: that equates the two error functions, not the two conditional means, which are taken over different populations whenever the router selects within a workload (Rem. B.3).
Under Assumption B.2 the evaluator’s error cancels from identically (Cor. B.4), so the per-model offset of §3.1 estimates assignment bias and cannot remove , even though both have the same functional form. Moving a constant out of the designated outcome and into the evaluator error leaves the recorded score, the designated outcome plus the evaluator’s error on that request, the same random variable, so the production log and a randomized evaluation of any size have the same joint law before and after the move. Within a model-level evaluator preference is therefore indistinguishable from an equal difference in target quality, is pinned down only up to a per-model shift, and is assumed in (5) rather than estimated.
The two decision rules do not reduce to one another. Both instances below are exact in rationals. First, rule (2) can select a model that no linear scalarization of (1) reaches, already with a single workload. Take three models of quality (1.00, 0.99, 0.50) priced (10, 9.9, 1) with . The rule admits the first two and buys the second. That model maximizes for no , since beating the first model requires and beating the third requires . It is Pareto-efficient but interior to the convex hull of the price-quality frontier, and linear scalarization reaches only that hull, which is why the greedy and Lagrangian routes to (1) cannot produce it.
Second, the selection of (2) need not be budget-optimal at its own spend, because (1) can trade quality across workloads and (2) cannot. Take two equally sized workloads, the first offering qualities (1.00, 0.97, 0.96) at prices (10, 2, 1) and the second (0.99, 0.97) at prices (3, 2), with . Rule (2) buys the 0.97 model in each, spending 4 for weighted quality 1.94. At program (1) instead buys 0.96 and 0.99, for 1.95 — and that allocation puts the first workload 0.04 below its best model, violating the very tolerance (2) exists to enforce. So neither is a relaxation of the other in either direction.
Remark B.3 (Why using the same evaluator is not enough). Using the same evaluator on both streams is insufficient when routing changes the mix of requests on which that evaluator makes errors, and additional assumptions are then required.
Corollary B.4 (Blindness to model-level evaluator preference). If , so the evaluator's mean error is model-level, then for every cell, since the distortion cancels identically from the logged-minus-randomized comparison.
Proof of Prop. 3.1. Write for the set of budget-feasible allocations. The constraint involves prices and traffic only, so does not depend on . Put and . Agreeing cells cancel. For every and every ,
since each contributes . The per-cell worst case is attainable. Fix . For the cells and are distinct, and cells for different lie in different columns, so the entries appearing in are distinct coordinates of . That map is affine with coefficient on and on , and is a product of intervals, so each coordinate may be set to its own extreme independently and
Now is settled exactly when for every , which on rearranging is (7). One solve suffices. Let for and otherwise, so . For any and any we have , so lowers and raises , which is the minimizing assignment above. Hence for every at once, and is settled iff throughout , iff . Both directions and the equivalence were additionally checked against brute force over 31,724 sampled instances spanning lattice and continuous coefficients, wide error bounds and the degenerate exact-coefficient case.
The appendices use a few symbols beyond Table 3, namely the request-level Z, A and of the setup above, and the measurement floor that a cellwise-perfect repair leaves behind.
Remark B.3, continued. Our stream-mismatch check fails Assumption B.1, a mismatch App. D measures at 0.0018 against a selection gap of 0.0991. Our nominal distortion is cell-constant, so the assumption holds of it. Clipping makes the realized error slightly request-dependent, and we measure that residual instead of assuming it away (§4, App. D).
C The quality-constrained rule
This appendix carries the analysis of the quality-constrained rule of (2), which fixes a per-workload quality standard and minimizes cost instead of fixing spend and maximizing quality. Because (2) decomposes — workload j is settled by column j of alone — its identification question is answered workload by workload rather than by the global certificate Prop. 3.1 supplies for (1). The result below is the analogue of that proposition, and §2 gives the pair of outcomes it is judged by.
Proposition C.1 (When the quality-constrained decision is point-identified). Under Assumption B.1 and the admissible error set C of (10), fix a workload j with at least two candidate models. Taking admissible as in §2, call a model ambiguous when it is admissible under some but not all. Then
model k is
The decision is point-identified in workload j if and only if a universally admissible model exists and no ambiguous model precedes the cheapest such model in the cost and tie-breaking order. In particular, for every k is sufficient.
Proof of Prop. C.1. Fix , drop it from the notation, and write for the gap of model on the candidate target table , so is admissible iff . Since the term contributes , , and by definition. Each difference ranges over , and the choices for all are jointly feasible, so the two extremes are attained simultaneously and ranges over . As , model is admissible for every iff and for no iff , which is the stated classification.
For the decision, order models by price and let be the cheapest admissible one, so point identification means is constant on . If some model is always admissible, let be the cheapest such. Then in price for every . If no ambiguous model is cheaper than , every model cheaper than is admissible under no , so . Conversely, suppose some ambiguous model is cheaper than and let be the cheapest such. Ambiguity gives with admissible, whence , and with inadmissible, whence . Were constant at , both would force strictly cheaper than and admissible under . But every model cheaper than is, by the choice of and , admissible under no , a contradiction. Finally, if no model is always admissible, take any and put , so is admissible somewhere, hence ambiguous, and some makes it inadmissible with . Both directions were also checked by brute force against the achievable winner sets over a lattice of instances chosen to realize the boundary cases and price ties.
D Experimental details and additional results
The appendix results follow the same empirical question as §4. Randomized evidence should repair the part of the observed quality table created by selective routing, while evaluator error should remain as width around
. That distinction matters when the resulting set can still cross a decision boundary. The value of further measurement is then the value of resolving those remaining crossings. The results below add the checks and secondary comparisons needed to see where this sequence holds and where it weakens.
The decision rule is not the same throughout. The margin sweep below solves the budgeted allocation of (1), as do §4.2, §4.3 and §4.4. The other runs here, and the production-log replay of §4.1, use a per-workload argmax with no shared budget, which is the quality-constrained rule of App. C at . Levels are therefore not comparable cell by cell across the two, and only directions are offered as robustness.
D.1 Separating what randomized evidence can and cannot repair
The controlled replay is informative only if routing and scoring error can move separately. We therefore cross selective or matched-random assignment with faithful or distorted scoring, keep the fit, audit, and scoring cohorts disjoint, and give paired assignment conditions the same per-cell counts. Replacing the designated outcomes available only to the scoring code leaves the acquired cells, fitted correction, and candidate allocation unchanged. The remaining mismatch between evaluator error in the logged and randomized streams is , compared with selection gap . The replay therefore creates a much larger assignment effect while still measuring the residual mismatch rather than assuming it away.
Once the two effects are separated, the next question is whether CASE is limited by too few randomized readouts or by uncertainty those readouts cannot remove. We compare the deployed one-offset-per-model correction with the best correction of the same form given unlimited audit information and with an unachievable cellwise repair that removes assignment error everywhere. Table 4 shows that the deployed correction is already close to the best row correction. The cellwise repair reaches zero loss under faithful scoring but leaves under distorted scoring. More randomized evidence can move CASE toward the correction-family ceiling, but it cannot remove the part of the error that comes from what the evaluator measures.
Table 4: Correction-family ceilings at a evidence budget over 30 partitions. The cellwise repair removes assignment error everywhere. It reaches zero target-value loss under faithful scoring and leaves 0.0030 under distorted scoring.
| Correction surface | Deployable? | A1-D0 | A1-D1 |
|---|---|---|---|
| Raw routed log | yes | ||
| CASE row offset | yes | ||
| Oracle row offset, no budget limit | no | ||
| Cellwise-perfect assignment repair | no | 0.0000 |
If that split is a property of the mechanism rather than one benchmark, it should survive changes in the request distribution, candidate set, and distortion. On RouterBench, with 11 candidate models, CASE again repairs part of the selective-routing loss. Under faithful scoring the loss falls from 0.0784 for the routed log to 0.0421, while under distorted scoring the cellwise-perfect assignment repair still leaves 0.0053. Doubling the distortion raises the wrong-model floor from to and the remaining target-value loss from 0.0030 to . A model preference constant across workloads is even harder for differencing to see, yet the cellwise-perfect repair still selects the wrong model on of workloads. Two secondary effects do not survive. The acquisition-rule ordering reverses with the larger candidate set and the cost of auditing under matched-random assignment changes sign. We therefore leave those effects out of the main claim.
Randomized re-evaluation is also not the only way to repair selective routing. If assignment propensities are recorded, the selective log can be reweighted instead. We run outcome regression, stabilized Hájek inverse propensity weighting [25], and cross-fitted augmented inverse propensity weighting [9] on the same partitions. Table 5 shows that exact-propensity methods can reach decision quality comparable to CASE at zero audit spend. The predeclared comparison of CASE with exact-propensity doubly robust estimation is with CI and is unresolved. Estimated propensities perform worse in this replay. Under distorted scoring every assignment-aware estimator still leaves the measurement component because reweighting the same recorded score does not change what that score measures.
D.2 When the remaining range determines the allocation
Repairing selective routing moves the centre of the quality range, but the stopping rule only becomes useful when the width that remains is small enough to fit inside one decision region. We test this directly by widening the common evaluator band for each partition and serving budget until the adverse solve changes the incumbent allocation. On LLMRouterBench the median tolerated spread falls from 0.0456 at the cheapest feasible spend to 0.0026 at . At , 21 of 30 partitions are still determined at the tight budget and none are at the loose one. RouterBench shows a weaker gradient. A tight serving budget removes more rivals on price alone, so a wider set can remain inside one allocation region. Table 2 reports three of the seven budgets swept and Table 6 reports all of them. On LLMRouterBench the median margin falls monotonically from to and
Table 5: Target-value loss of log-only causal estimators under selective routing over 30 partitions. The estimators use no randomized-audit budget but require the logging propensities. The cellwise-perfect repair is an oracle and carries no audit price.
| Arm | Audit $ | A1-D0 | A1-D1 |
|---|---|---|---|
| Trust the log | 0 | 0.0499 | 0.0469 |
| Outcome regression | 0 | 0.0360 | 0.0370 |
| Stabilized IPW, exact propensities | 0 | 0.0327 | 0.0335 |
| Cross-fitted DR, exact propensities | 0 | 0.0360 | 0.0348 |
| Stabilized IPW, estimated propensities | 0 | 0.0375 | 0.0384 |
| Cross-fitted DR, estimated propensities | 0 | 0.0435 | 0.0456 |
| CASE, randomized audit | 2.39 | 0.0338 | 0.0338 |
| Cellwise-perfect assignment repair | — | 0.0000 | 0.0030 |
then rises at , where the serving budget stops binding on 12 of the 30 partitions and the problem is close to unconstrained. RouterBench binds at every budget and shows no trend. The sweep holds the centre fixed with the band alone in , so Table 2 and this one measure sensitivity to rather than a settlement rate. The same table reports the margin over the model-level set of Assumption B.2, a strict subset of the box of (10). Certifying over it needs the vertices of rather than one adverse table, since the worst case moves with the rival. Margins rise by about a third on average, 180 of the 420 cells strictly improve and 240 are unchanged, and the count with margin at least 0.02 goes from 97 to 121. At the measured of 0.128 it moves one cell, from one to two. The two sets coincide whenever the binding rival differs from the incumbent on a single workload, and separate only when it differs on several with conflicting demands on one model.
Table 6: The full budget sweep, over the free box of (10) and over the model-level set of Assumption B.2. Median margin over 30 partitions and counts with margin at least 0.02, under as written and under the row-structured set . The last column gives the partitions on which the serving budget still binds.
| Corpus | Γ / cheapest | median margin | margin ≥ 0.02 | budget binds | ||
|---|---|---|---|---|---|---|
| box | model-level | box | model-level | |||
| LLMRouterBench | 1.25× | 0.0456 | 0.0536 | 21/30 | 21/30 | 30/30 |
| LLMRouterBench | 1.5× | 0.0180 | 0.0233 | 15/30 | 17/30 | 30/30 |
| LLMRouterBench | 2× | 0.0179 | 0.0209 | 14/30 | 17/30 | 30/30 |
| LLMRouterBench | 3× | 0.0122 | 0.0129 | 7/30 | 12/30 | 30/30 |
| LLMRouterBench | 5× | 0.0103 | 0.0132 | 5/30 | 9/30 | 30/30 |
| LLMRouterBench | 8× | 0.0026 | 0.0037 | 0/30 | 3/30 | 30/30 |
| LLMRouterBench | 12× | 0.0045 | 0.0054 | 3/30 | 3/30 | 18/30 |
| RouterBench | 1.25× | 0.0132 | 0.0157 | 10/30 | 14/30 | 30/30 |
| RouterBench | 1.5× | 0.0044 | 0.0070 | 3/30 | 4/30 | 30/30 |
| RouterBench | 2× | 0.0133 | 0.0171 | 9/30 | 11/30 | 30/30 |
| RouterBench | 3× | 0.0057 | 0.0063 | 5/30 | 5/30 | 30/30 |
| RouterBench | 5× | 0.0023 | 0.0029 | 0/30 | 0/30 | 30/30 |
| RouterBench | 8× | 0.0037 | 0.0047 | 1/30 | 1/30 | 30/30 |
| RouterBench | 12× | 0.0101 | 0.0130 | 4/30 | 4/30 | 30/30 |
Those thresholds are useful only if the empirical contrasts that motivate them are not artifacts of one resampling scheme. We therefore recompute the main comparisons over partitions, over requests, and over benchmark slices. Table 7 shows the result. The benefit of randomized evidence under selective routing stays separated from zero under all three schemes. The value-scale measurement floor is weaker under the five-slice cluster bootstrap, and the cost of auditing under matched-random assignment also loses separation from zero there. The pre-specified comparison between the same-evaluator and target-outcome gates remains unresolved. These weaker contrasts change how strongly we describe particular loss differences, but they do not change the containment question for .
D.3 Measuring the remaining width on real data
The controlled replay tells us what the method should do when the two errors are manipulated separately. The more important question for the uncertainty set is whether a comparable width appears when the discrepancy between the recorded score and the designated outcome is observed rather than imposed. KuaiRand-Pure [12] provides that comparison on production traffic. We fix eight well-supported content groups and eight workloads, split users into disjoint log, audit, and scoring pools, form from the standard stream, form randomized readout pools from the audit stream, and use a held-out randomized scoring pool to fix from the designated like outcome. The outcome used to score the final allocation therefore does not choose the cells that CASE audits.
Table 8 shows what happens. The selection effect is small relative to the scoring gap, so removing assignment error has limited room to improve the decision. Increasing from 30 to 100 to 300 changes CASE only
Table 7: 95% intervals for the confirmatory contrasts under three resampling schemes. R-EPIG is a decision-information acquisition rule that reveals the top-two contender in the most uncertain column, run on the selection-adjusted surface. Bold marks a slice-cluster interval that includes zero where the partition and request intervals exclude it. A dash marks a contrast without a request- or slice-level analogue.
| Contrast, 35% budget | Mean | Partition | Request | Slice clusters |
|---|---|---|---|---|
| A1-D0, CASE – trust | -0.0161 | [-.0219, -.0103] | [-.0190, -.0132] | [-.0410, -.0083] |
| A1-D0, CASE – R-EPIG | +0.0003 | [-.0019, +.0025] | [-.0007, +.0013] | [-.0017, +.0007] |
| A1-D1, CASE – trust | -0.0130 | [-.0179, -.0081] | [-.0159, -.0103] | [-.0293, -.0087] |
| A1-D1, CASE – pop.-operational oracle | +0.0309 | [+.0271, +.0346] | [+.0278, +.0338] | [+.0193, +.0444] |
| A1-D1, measurement floor | +0.0030 | [+.0017, +.0043] | [+.0011, +.0047] | [-.0002, +.0259] |
| A0-D0, CASE – trust | +0.0107 | [+.0067, +.0147] | [+.0083, +.0132] | [-.0013, +.0142] |
| A1-D1, false switch, same – ref. channel | -0.0111 | [-.0269, +.0047] | — | — |
| Stream mismatch, false switch, same – ref. channel | -0.0278 | [-.0514, -.0042] | — | — |
from 0.00157 to 0.00148 to 0.00149 in traffic-weighted target-value loss. When both streams are scored with the designated outcome instead of clicks, the click-specific floor disappears. Randomized evidence changes the routing component of the information about , while the evaluator component remains as width in .
Table 8: The KuaiRand comparison in full with uniform randomized auditing added. Target-value loss is measured in units of the KuaiRand like indicator multiplied by at the evidence budget. Means and standard errors are over 30 partitions. Under the target evaluator the cellwise-perfect repair deploys the reference table itself, zero by construction, and the dash marks the traffic vote on the randomized stream, which has no production traffic to read.
| Deployed decision | evaluator = click (D1) | evaluator = target (D0) | ||
|---|---|---|---|---|
| A1 selective | A0 randomized | A1 selective | A0 randomized | |
| Trust-the-log | ||||
| Uniform audit | ||||
| CASE | ||||
| Traffic vote | — | — | ||
| Cellwise-perfect repair | 0.00 | 0.00 | ||
A natural response to scoring error is to use the same evaluator again on held-out requests before changing deployment. We test this because another sample can reduce noise even when it cannot change the construct being measured. Both a same-evaluator check and a target-outcome check reduce harmful switches relative to deploying the audited candidate without a gate. The pre-specified prediction that the same-evaluator check would leave more harmful switches is not supported. The paired difference is -0.011 with CI [-0.027, +0.005]. More importantly, the population comparison made by that evaluator still disagrees with the designated outcome on 4.6% of contested workloads and on 8.3% under the stronger distortion. Repeating the same scoring channel can therefore make the estimate more precise without establishing that it measures .
The same problem appears with real automatic judges. On LMArena, gpt-4o-mini judges every battle in both answer orders with model identity hidden. Among 19,368 parsable battles it agrees with the human vote on 0.430, flips after swapping answer order on 0.335, and prefers the longer answer at +0.243 where the human verdicts it is meant to represent do at +0.130 (Table 9). On a shared 275-battle subset, a locally hosted Qwen2.5-7B agrees on 0.300 and flips on 0.461, with a length preference of the opposite sign. A two-way decomposition on the supported LMArena grid attributes 53.4% of the gpt-4o-mini error to model main effects, compared with a permutation-null median of 13.0%. Applying the construction of §4.1 to the same grid, the evaluator gap runs from -0.169 to +0.184 across the 48 models, and the median within-workload spread is on the single-order scores an operator logs, 0.330 once answer order is averaged out. HelpSteer2 gives the same qualitative warning with correctness as the designated outcome. The judge agrees with human correctness on 0.717 of 1,182 prompts, yet conditioning on correctness still leaves systematic effects of verbosity and complexity, and the judge selects a different response than human correctness on 28.3% of prompts. These measurements support carrying evaluator error as remaining width around rather than treating randomized re-evaluation as point recovery.
D.4 What better information about the quality table is worth
The remaining width matters economically only if changing the information supplied to the optimizer changes a deployment that is valuable enough to justify measurement. We therefore keep the decision problem fixed and compare allocations formed from progressively better information about . On LLMRouterBench, the raw log gives target quality 0.4798, the selection-adjusted table raises it to 0.4924, and the designated outcome raises it to 0.5255. The corresponding deployment spend rises from 3,850 and then $4,386 per million requests. Better information does not make the deployment cheaper. It lets the operator use more of the
Table 9: Randomized reruns do not establish measurement validity. LMArena [6] and HelpSteer2 [30]. Agrees is raw agreement, not chance-corrected, position-flip the share of battles whose verdict changes when answers are swapped, and Longer answer the judge's partial length preference. HelpSteer2 is rated one response at a time, so it has no position to swap and the dash marks what the corpus cannot define. Its agreement compares the responses within each of the 1,182 prompts holding more than one, and its length preference the 1,160 of those holding two of unequal length.
| Evaluator | Corpus and target | Items | Agrees | Position-flip | Longer answer |
|---|---|---|---|---|---|
| gpt-4o-mini | LMArena, human verdict | 19,368 | 0.430 | 0.335 | +0.243 |
| gpt-4o-mini | HelpSteer2, human correctness | 2,400 | 0.717 | — | +0.085 |
available budget on models that are genuinely better. The randomized audit itself costs about 0.89 on RouterBench.
Table 10 puts that comparison beside a dollar-valued task set. On 150 SWE-Lancer [21] managerial tasks, routing on the observable success estimate reaches total cost 1,000 below the best single model. Routing on the realized per-task outcome reaches 35,000 gap between those two routed decisions is the economic value of the information missing from the observable quality estimate in this calculation. The dominant opportunity is therefore better information, not a more elaborate optimizer applied to the same table. That block uses four models over the 150 tasks, grouped into four payout bands that play the role of workloads. Each option is priced by its expected total cost, the attempt cost plus the released payout when the model fails, and a direct human fallback is allowed, so the comparison carries no serving budget and neither (1) nor (2) applies. The observable arm routes on the per-model, per-band success rate, which is this setting's analogue of , and the oracle routes on each task's realized outcome.
Table 10: Economic scale of better quality information. The LLMRouterBench block reports target quality and deployment cost per million requests under the budgeted rule. The SWE-Lancer block reports total expected cost over 150 managerial tasks, where lower is better. Quality is not reported for SWE-Lancer because the human fallback completes every task, making the comparison one of cost alone.
| Setting | Information used for the decision | Target quality | Deployment or total cost |
|---|---|---|---|
| LLMRouterBench | raw production log | 0.4798±0.0041 | $3,109±186 per 1M |
| LLMRouterBench | selection-adjusted scores | 0.4924±0.0027 | $3,850±91 per 1M |
| LLMRouterBench | designated outcome | 0.5255±0.0021 | $4,386±39 per 1M |
| SWE-Lancer | best single model | — | $71,625 total |
| SWE-Lancer | observable success estimate | — | $70,625 total |
| SWE-Lancer | realized per-task outcome | — | $35,625 total |
E Relation to interval optimization
Optimization under interval data usually starts from a given uncertainty set and asks for a decision that is best or safest against the values that set permits [1, 3, 17]. The question here comes one step earlier. The set is derived from the production log, randomized re-evaluation, and the remaining measurement ambiguity. We ask whether the current allocation is already invariant throughout that set. For the budgeted rule, Prop. 3.1 answers this with one adverse re-solve of the same optimization problem. When the test fails, the disagreement between the two allocations also identifies the cells where reducing uncertainty can change the verdict. This connection from measured uncertainty to a stopping test and then to the next evidence purchase is what this paper adds to interval optimization.