AI 推理的算力,终于知道该花在哪了
大模型推理时,算力大多浪费在没用的思路上。新算法 Gambit 把推理过程当成一棵树,定期砍掉没前途的分支,把算力集中到最有希望的那几条路上,同时保持硬件满负荷运转。在同等硬件下,准确率最高提升 6.7 个百分点,吞吐量翻倍,总 token 消耗最多省 68.5%。这不是你明天能用的功能,但它指向一个趋势:AI 的聪明程度,越来越取决于算力怎么花,而不是花多少。
📄 原文摘要(英文)
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.