Abstract
Gambit improves reasoning model efficiency by using thought-level beam search to dynamically allocate compute to promising reasoning traces under fixed hardware budgets.
Test-time compute scaling is a primary driver of performance in large reasoning models (LRMs), but extreme inefficiency bounds current approaches, shifting the critical question from how much compute to spend, to where to allocate it. We formalize test-time reasoning as a constrained compute allocation problem over partial trajectories. Under a fixed hardware budget, existing paradigms fail to actively allocate the compute to the most promising partial progress: traditional parallel sampling treats traces independently and induces severe memory bottlenecks, while subtractive pruning starves hardware and fails to actively and sufficiently shift the output distribution. To overcome this dichotomy, we introduce Gambit, an inference algorithm that executes thought-level beam search. By periodically pruning unpromising trajectories and immediately branching from high-quality prefixes, Gambit dynamically concentrates compute onto the most promising reasoning traces via a light-weight scorer probing hidden states while maintaining continuous high hardware utilization. Extensive evaluations across multiple models and benchmarks demonstrate that Gambit strictly dominates existing baselines. Under identical hardware constraints, our method yields up to a +6.7\% absolute accuracy gain on HMMT-24 and +3.3\% on AIME-25 over pruning baselines, delivers >2times higher throughput on trace completion, and reduces total token consumption by up to 68.5\% relative to standard parallel sampling.
Community
X post: https://x.com/LijieyYang/status/2088341373196079533?s=20
LinkedIn post: https://www.linkedin.com/posts/lijie-yang-drk_colm2026-llm-reasoning-ugcPost-7494115719572549632-sGAH/?utm_source=share&utm_medium=member_desktop&rcm=ACoAADkobTsBzhzcPjn-3ejivkwgdbNDlq83T4w
Test-time scaling drives much of the performance of large reasoning models: sample many long traces, then vote. Yet it is strikingly inefficient โ most traces end in wrong answers, memory pressure inflates latency, and a single competition problem can occupy a GPU for hours.
Different from Self-Consistency and Pruning-only approaches, Gambit actively reallocates test-time compute while generation is in flight โ pruning low-scoring reasoning traces and branching from the strongest prefixes and achieving:
๐ > +6.7% on HMMT-24 and +3.3% on AIME-25 over pruning
๐ช up to 68.5% fewer tokens than parallel sampling
Get this paper in your agent:
hf papers read 2608.08020 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper