# Best-of-Majority: Minimax-Optimal Strategy for Pass@$k$ Inference Scaling

DevFeed: [Best-of-Majority: Minimax-Optimal Strategy for Pass@$k$ Inference Scaling](<https://devfeed.tech/articles/best-of-majority-minimax-optimal-strategy-for-pass-k-inference-scaling-108449.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2510.03199>)

Author: Qiwei Di, Kaixuan Ji, Xuheng Li, Heyang Zhao, Quanquan Gu

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [batch](<https://devfeed.tech/tags/batch.md>), [budget](<https://devfeed.tech/tags/budget.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [error](<https://devfeed.tech/tags/error.md>), [evaluations](<https://devfeed.tech/tags/evaluations.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [inference](<https://devfeed.tech/tags/inference.md>), [llm](<https://devfeed.tech/tags/llm.md>), [lower-bound](<https://devfeed.tech/tags/lower-bound.md>), [matching](<https://devfeed.tech/tags/matching.md>), [math](<https://devfeed.tech/tags/math.md>), [minimax](<https://devfeed.tech/tags/minimax.md>), [model](<https://devfeed.tech/tags/model.md>), [pass](<https://devfeed.tech/tags/pass.md>), [performance](<https://devfeed.tech/tags/performance.md>), [problems](<https://devfeed.tech/tags/problems.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>), [strategy](<https://devfeed.tech/tags/strategy.md>)

## AI overview

Best-of-Majority (BoM) is proposed for Pass@$k$ inference, where up to k responses can be submitted and the best is used to compute regret. It first narrows sampled candidates to responses with high frequency, then selects the top-k by reward. The authors prove a regret bound when the sampling budget is at least on the order of the coverage coefficient, along with a matching lower bound establishing minimax optimality. They report that unlike majority voting and Best-of-N (BoN), BoM's performance does not degrade as the sampling budget N increases; math inference experiments show it outperforming both baselines. The supplied text does not provide experimental details beyond that result.

## Source excerpt

arXiv:2510.03199v2 Announce Type: replace Abstract: LLM inference often generates a batch of candidates for a prompt and selects one via strategies like majority voting or Best-of- N (BoN). For difficult tasks, this single-shot selection often underperforms. Consequently, evaluations commonly report Pass@$k$: the agent may submit up to $k$ responses, and only the best of them is used when computing regret. Motivated by this, we study inference scaling in the more general Pass@$k$ inference setting, and prove that neither majority voting nor BoN exhibits the desirable scaling with $k$ and the sampling budget $N$. Combining the advantages of majority voting and BoN, we propose a new inference strategy called Best-of-Majority (BoM), with a pivotal step that restricts the candidates to the responses with high frequency in the $N$ samples before selecting the top-$k$ rewards. We prove that when the sampling budget is $N=\tilde\Omega(C^*)$, the regret of BoM is $O(\epsilon_{\mathrm{opt}}+\sqrt{\epsilon_{\mathrm{RM}}^2C^*/k})$, where $C^*$ is the coverage coefficient, $\epsilon_{\mathrm{RM}}$ is the estimation error of the reward model, and $\epsilon_{\mathrm{opt}}$ is the estimation error of reward at the optimal response. We further establish a matching lower bound, certifying that our algorithm is minimax optimal. Beyond optimality, BoM has a key advantage: unlike majority voting and BoN, its performance does not degrade when increasing $N$. Experimental results of inference on math problems show BoM outperforming both majority voting and BoN.