arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.01411cs.LGcs.CLstat.ML
收藏

测试时扩展使过训练计算最优

Test-Time Scaling Makes Overtraining Compute-Optimal

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Stanford University(斯坦福大学)

Nicholas Roberts, Sungjun Cho, Zhiqi Gao, Tzu-Heng Huang, Albert Wu, Gabriel Orlanski, Avi Trost, Kelly Buchanan, Aws Albarghouthi, Frederic Sala

AI总结:

本文提出Train-to-Test(T²)扩展定律,通过联合优化模型大小、训练token和推理样本数,在固定端到端预算下提升性能,发现考虑推理成本时最优预训练决策进入过训练区域,验证了其在现代部署中的有效性。

摘要:

现代大语言模型在测试时扩展,例如通过重复采样,推理成本随模型大小和样本数增加而增长。这产生了一个预训练扩展定律(如Chinchilla)未解决的权衡问题。本文提出Train-to-Test(T²)扩展定律,联合优化模型大小、训练token和推理样本数,在固定端到端预算下进行优化。T²利用pass@k建模用于测试时扩展,然后联合优化预训练和测试时决策。T²的预测在不同建模方法下表现稳健:测量联合扩展对任务损失和建模影响对任务准确性的影响。在八个下游任务中,发现当考虑推理成本时,最优预训练决策会大幅转向过训练区域,远超标准预训练扩展套件的范围。我们通过在最优区域预训练过度训练模型来验证结果,确认其性能显著优于仅预训练扩展。最后,随着前沿LLM进行微调,我们发现研究结果在微调阶段仍有效,使T²扩展在现代部署中具有意义。

英文摘要:

Modern LLMs scale at test-time, e.g. via repeated sampling, where inference cost grows with model size and the number of samples. This creates a trade-off that pretraining scaling laws, such as Chinchilla, do not address. We present Train-to-Test ($T^2$) scaling laws that jointly optimize model size, training tokens, and number of inference samples under fixed end-to-end budgets. $T^2$ modernizes pretraining scaling laws with pass@$k$ modeling used for test-time scaling, then jointly optimizes pretraining and test-time decisions. Forecasts from $T^2$ are robust over distinct modeling approaches: measuring joint scaling effect on the task loss and modeling impact on task accuracy. Across eight downstream tasks, we find that when accounting for inference cost, optimal pretraining decisions shift radically into the overtraining regime, well-outside of the range of standard pretraining scaling suites. We validate our results by pretraining heavily overtrained models in the optimal region that $T^2$ scaling forecasts, confirming their substantially stronger performance compared to pretraining scaling alone. Finally, as frontier LLMs are post-trained, we show that our findings survive the post-training stage, making $T^2$ scaling meaningful in modern deployments.

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

↑