arXiv:cs.LG(机器学习,全量分类)· Qijia He, Yu Huang, Yuan Cheng, Yuxin Chen, Yingbin Liang·· 5 小时前AI 评分46
LLM 推理中束搜索的可证明测试时扩展
Provable Test-Time Scaling for Beam Search in LLM Reasoning
AI 导读
研究者为基于束搜索的测试时方法建立了理论保证,证明原始束搜索至少需要 Ω(C⋆(x)²) 个样本才能让最优回答存活,其中 C⋆(x) 为提示词的 token 级覆盖系数。
正文
Abstract:Beam-search-based test-time methods provide an effective way to improve large language model (LLM) performance on long-horizon generation by pruning invalid reasoning paths early, leading to significantly improved reasoning efficiency and more favorable test-time cost scaling. Despite strong empirical success, the theoretical understanding of beam search remains limited. In this paper, we study the test-time compute guarantee of the commonly used beam search framework that uses the model's internal log-likelihood for intermediate scoring, while relying on an external reward model only after a complete response is generated. We first establish a lower bound for vanilla beam search, showing that at least $\Omega(C^\star(x)^2)$ samples are required for the optimal response to survive, where $C^\star(x)$ is the token-level coverage coefficient for prompt $x$. This motivates our modified confidence-filtered beam search (CF-Beam), which reduces the sufficient coverage dependence from quadratic to nearly linear under prefix competitiveness, for fixed horizon, gap, and target accuracy. We then show that the regret of CF-Beam is upper-bounded by the probability of rare failure events and the reward estimation error scaled by a path-level coverage coefficient, where the rare-failure term vanishes as per-step sampling increases. Our results highlight a fundamental advantage of beam search over sequence-level inference methods such as Best-of-N and Best-of-Majority. While the guarantees of these approaches typically involve coverage coefficients that grow exponentially with the horizon $L$, CF-Beam controls the dominant search-induced term through a token-level coverage coefficient that scales polynomially with $L$. Our numerical experiments further confirm that beam search is more robust on hard instances and under increasing reasoning horizons.
| Comments: | Accepted to NeurIPS 2026 |
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2609.38672 [cs.LG] |
| (or arXiv:2609.38672v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2609.38672 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Qijia He [view email]
[v1]
Tue, 29 Sep 2026 23:56:06 UTC (2,090 KB)
来源:arXiv:cs.LG(机器学习,全量分类) · arxiv.org