Wider or Deeper? Scaling LLM Inference-Time Compute with Adaptive Branching Tree Search
Yuichi Inoue, Kou Misaki, Yuki Imajuku, So Kuroki, Taishi Nakamura, Takuya Akiba
TL;DR
This paper addresses the challenge of scaling inference-time compute for large language models by introducing Adaptive Branching Monte Carlo Tree Search (AB-MCTS), which unifies broad candidate generation with multi-turn refinement. AB-MCTS dynamically decides, at each node, whether to go wider by generating new responses or go deeper by refining existing ones, guided by Bayesian posterior updates and Thompson sampling to balance exploration and exploitation. Two variants are proposed: AB-MCTS-M (Mixed Model) and AB-MCTS-A (Node Aggregation), each with distinct statistical formulations and back-up rules. Empirical results on diverse coding and ML benchmarks with frontier models show AB-MCTS consistently outperforms repeated sampling and standard MCTS, including in large-budget ARC-AGI experiments, illustrating the practical value of adaptive width-depth search for inference-time scaling in real-world tasks.
Abstract
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 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. Code is available at https://github.com/SakanaAI/treequest .
