Asymptotically Optimal Sequential Testing with Heterogeneous LLMs
Abstract
We study a Bayesian binary sequential hypothesis testing problem with multiple large language models (LLMs). Each LLM has per-query cost , random waiting time with mean and sub-Gaussian tails, and \emph{asymmetric} accuracies: the probability of returning the correct label depends on the true hypothesis and needs not be the same under and . This asymmetry induces two distinct information rates per LLM, one under each hypothesis. The decision-maker chooses LLMs sequentially, observes their noisy binary answers, and stops when the posterior probability of one hypothesis exceeds . The objective is to minimize the sum of expected query cost and expected waiting cost, , where is the total query cost, is the total waiting time and is a polynomial function (e.g., with ). We prove that as the error tolerance , the optimal policy is asymptotically equivalent to one that uses at most two LLMs. In this case, a single-LLM policy is \emph{not} generically optimal: optimality now requires exploiting a two-dimensional tradeoff between information under and information under . Any admissible policy induces an expected information-allocation vector in , and we show that the optimal allocation lies at an extreme point of the associated convex set when is relatively small, and hence uses at most two LLMs. We construct belief-dependent policies that first mix between two LLMs when the posterior is ambiguous, and then switch to a single "specialist" LLM when the posterior is sufficiently close to one of the hypotheses. These policies match the universal lower bound up to a factor as .
Cite
@article{arxiv.2604.01086,
title = {Asymptotically Optimal Sequential Testing with Heterogeneous LLMs},
author = {Guokai Li and Alys Liang and Mo Liu and Murray Lei and Stefanus Jasin and Fenghua Yang and Preet Baxi},
journal= {arXiv preprint arXiv:2604.01086},
year = {2026}
}