Wider or Deeper? Scaling LLM Inference-Time Compute with Adaptive Branching Tree Search

LLM MQIA CoT ML ALG MCTS
最近的研究进展表明,增加推理时的计算量可以显著提升大型语言模型(LLMs)的推理能力。尽管重复采样(即生成多个候选输出)是一种非常有效的策略,但它并未利用外部反馈信号进行优化,而在编程等任务中这些信号通常是可用的。在本文中,我们提出了一种新的推理时框架——自适应分支蒙特卡罗树搜索(AB-MCTS),它通过有原则的多轮探索和利用来推广重复采样的方法。在搜索树的每个节点上,AB-MCTS 根据外部反馈信号动态决定是“扩展宽度”生成新的候选响应,还是“深入挖掘”重新审视现有的响应。我们在复杂编程和工程任务中使用前沿模型对我们的方法进行了评估。实证结果表明,AB-MCTS 一致优于重复采样和标准蒙特卡罗树搜索(MCTS),突显了将 LLMs 的响应多样性与多轮解决方案优化相结合以实现有效推理时间扩展的重要性。
Recent advances demonstrate that increasing inference-time computation can significantly boost the reasoning capabilities of large language models (LLMs). Although repeated sampling (i.e., generating multiple candidate outputs) is a highly effective strategy, it does not leverage external feedback signals for refinement, which are often available in tasks like coding. In this work, we propose $\textit{Adaptive Branching Monte Carlo Tree Search (AB-MCTS)}$, a novel inference-time framework that generalizes repeated sampling with principled multi-turn exploration and exploitation. At each node in the search tree, AB-MCTS dynamically decides whether to "go wider" by expanding new candidate responses or "go deeper" by revisiting existing ones based on external feedback signals. We evaluate our method on complex coding and engineering tasks using frontier models. Empirical results show that AB-MCTS consistently outperforms both repeated sampling and standard MCTS, underscoring the importance of combining the response diversity of LLMs with multi-turn solution refinement for effective inference-time scaling.
许愿