paper-with-me

홈 › Papers

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

2025-10-03 · Qiwei Di, Kaixuan Ji, Xuheng Li, Heyang Zhao, Quanquan Gu arxiv

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Ω(C^*)$, the regret of BoM is $O(ε_{\mathrm{opt}}+\sqrt{ε_{\mathrm{RM}}^2C^*/k})$, where $C^*$ is the coverage coefficient, $ε_{\mathrm{RM}}$ is the estimation error of the reward model, and $ε_{\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.

📄 PDF Abstract BibTeX arXiv:2510.03199

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Minimax and Bayes Optimal Best-Arm Identification

2025-06-30 · Masahiro Kato arxiv

This study investigates minimax and Bayes optimal strategies for fixed-budget best-arm identification. We consider an adaptive procedure consisting of a sampling phase followed by a recommendation phase. Within this fram…

Minimax Optimal Algorithms for Unconstrained Linear Optimization

2013-12-01 · NeurIPS 2013 12 · Brendan Mcmahan, Jacob Abernethy

We design and analyze minimax-optimal algorithms for online linear optimization games where the player's choice is unconstrained. The player strives to minimize regret, the difference between his loss and the loss…

Horizon-Independent Minimax Linear Regression

2018-12-01 · NeurIPS 2018 12 · Alan Malek, Peter L. Bartlett

We consider online linear regression: at each round, an adversary reveals a covariate vector, the learner predicts a real value, the adversary reveals a label, and the learner suffers the squared prediction error. The ai…

regression

Rate-optimal community detection near the KS threshold via node-robust algorithms

2025-11-20 · Jingqiu Ding, Yiding Hua, Kasper Lindberg, David Steurer 외 arxiv

We study community detection in the \emph{symmetric $k$-stochastic block model}, where $n$ nodes are evenly partitioned into $k$ clusters with intra- and inter-cluster connection probabilities $p$ and $q$, respectively. …

Community Detection

Learning Safely Without Knowing the World:COMPASS-Hedge

2026-03-22 · Ting Hu, Luanda Cai, Emmanouil-Vasileios Vlatakis-Gkaragkounis arxiv

Online learning algorithms often face a fundamental trilemma: balancing regret guarantees between adversarial and stochastic settings and providing baseline safety against a fixed comparator. While existing methods excel…