arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.02008cs.CL
收藏

为大语言模型扩展推理时的计算艺术

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

Microsoft Research(微软研究院);Indian Institute of Technology Delhi(印度德里理工学院)

Aradhye Agarwal, Ayan Sengupta, Tanmoy Chakraborty

AI总结:

本文研究了大语言模型推理时计算扩展策略的优化,发现不同模型类型和问题难度对性能有显著影响,并提出了基于计算预算的选择策略。

摘要:

推理时的计算扩展(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑