2025-12-02 · 专家 · 自然语言处理 · 机器学习

The Art of Scaling Test-Time Compute for Large Language Models

本文通过大规模研究,揭示了针对大型语言模型推理的测试时缩放(TTS)策略并非一成不变,其有效性取决于模型类型、问题难度和计算预算。

更新于 2025-12-02。作者:Aradhye Agarwal、Ayan Sengupta、Tanmoy Chakraborty。

中文摘要

测试时缩放(TTS)——在推理过程中动态分配计算资源——是提高大型语言模型(LLMs)推理能力的一个有前景的方向。然而,在相同条件下对已知的TTS策略进行系统比较的研究尚缺,且模型类型和问题难度对性能的影响尚不明确。为了填补这些空白,我们进行了首次大规模的TTS研究,涉及使用八个开源LLMs(参数量从7B到235B)生成的超过三百亿个标记,跨越四个推理数据集。我们观察到三个一致的趋势:(1)没有一种TTS策略在所有情况下都占主导地位;(2)推理模型在问题难度和轨迹长度上表现出不同的轨迹质量模式,形成了短期和长期类别;(3)对于特定的模型类型,最优的TTS性能与计算预算呈单调递增关系。基于这些洞察,我们提供了一种实用的方法来选择最佳的TTS策略,考虑问题难度、模型类型和计算预算,为有效的推理时间缩放提供实践指南。

英文摘要

Test-time scaling (TTS) -- the dynamic allocation of compute during inference -- is a promising direction for improving reasoning in large language models (LLMs). However, a systematic comparison of well-known TTS strategies under identical conditions is missing, and the influence of model type and problem difficulty on performance remains unclear. To address these gaps, we conduct the first large-scale study of TTS, spanning over thirty billion tokens generated using eight open-source LLMs (7B to 235B parameters), across four reasoning datasets. We observe three consistent trends: (1) no single TTS strategy universally dominates; (2) reasoning models exhibit distinct trace-quality patterns across problem difficulty and trace length, forming short-horizon and long-horizon categories; and (3) for a given model type, the optimal TTS performance scales monotonically with compute budget. Based on these insights, we provide a practical recipe for selecting the best TTS strategy, considering problem difficulty, model type, and compute budget, providing a practical guide to effective inference-time scaling.

解读

一句话总结

本文通过大规模研究,揭示了针对大型语言模型推理的测试时缩放(TTS)策略并非一成不变,其有效性取决于模型类型、问题难度和计算预算。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源