ICLR 2026poster0 citations

Best-of-Infinity: Asymptotic Performance of Test-Time Compute

Junpei Komiyama, Daisuke Oba, Masafumi Oyamada

Abstract

We study best-of-$N$ for large language models (LLMs) where the selection is based on majority voting. In particular, we analyze the limit $N \to \infty$, which we denote as best-of-$\infty$. While this approach achieves impressive performance in the limit, it requires an infinite test-time budget. To address this, we propose an adaptive generation scheme that selects $N$ based on answer agreement, thereby efficiently allocating inference-time computation. Beyond adaptivity, we extend the framework to weighted ensembles of multiple LLMs, showing that such mixtures can outperform any individual model. The optimal ensemble weighting is formulated and efficiently computed as a mixed-integer linear program. Extensive experiments demonstrate the effectiveness of our approach.

LLMtest-time computemajority votingLLM ensemble
BibTeX
@inproceedings{
komiyama2026bestofinfinity,
title={Best-of-Infinity: Asymptotic Performance of Test-Time Compute},
author={Junpei Komiyama and Daisuke Oba and Masafumi Oyamada},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=3qiCnLf3jf}
}
Best-of-Infinity: Asymptotic Performance of Test-Time Compute · ICLR 2026