arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.19393cs.CLcs.AIcs.LG
收藏

s1:简单的测试时间扩展

s1: Simple test-time scaling

Stanford University(斯坦福大学);University of Washington(华盛顿大学);Allen Institute for AI(艾伦人工智能研究所);Contextual AI(康特克斯特人工智能公司)

Niklas Muennighoff, Zitong Yang, Weijia Shi, Xiang Lisa Li, Li Fei-Fei, Hannaneh Hajishirzi, Luke Zettlemoyer, Percy Liang, Emmanuel Candès, Tatsunori Hashimoto

AI总结:

本研究提出简单的测试时间扩展方法,通过构建1000题的s1K数据集和预算强制机制控制计算,使微调后的s1-32B模型在竞赛数学上超越o1-preview。

摘要:

测试时间扩展是一种很有前景的语言建模新方法,它利用额外的测试时间计算来提升性能。最近,OpenAI的o1模型展示了这种能力,但未公开分享其方法,引发了许多复现努力。我们寻求实现测试时间扩展和强推理性能的最简单方法。首先,我们整理了一个包含1000个问题及其推理轨迹的小型数据集s1K,这些数据依赖于我们通过消融实验验证的三个标准:难度、多样性和质量。其次,我们开发了预算强制机制,通过强制终止模型的思考过程,或在模型试图结束时多次在其生成内容中追加“Wait”来延长思考时间,从而控制测试时间计算。这能促使模型复查其答案,通常能修正错误的推理步骤。在s1K上对Qwen2.5-32B-Instruct语言模型进行监督微调并配备预算强制机制后,我们的模型s1-32B在竞赛数学问题(MATH和AIME24)上比o1-preview最高超出27%。此外,利用预算强制扩展s1-32B,使其能够外推超越没有测试时间干预时的性能:在AIME24上从50%提升至57%。我们的模型、数据和代码已在https://github.com/simplescaling/s1开源。

英文摘要:

Test-time scaling is a promising new approach to language modeling that uses extra test-time compute to improve performance. Recently, OpenAI's o1 model showed this capability but did not publicly share its methodology, leading to many replication efforts. We seek the simplest approach to achieve test-time scaling and strong reasoning performance. First, we curate a small dataset s1K of 1,000 questions paired with reasoning traces relying on three criteria we validate through ablations: difficulty, diversity, and quality. Second, we develop budget forcing to control test-time compute by forcefully terminating the model's thinking process or lengthening it by appending "Wait" multiple times to the model's generation when it tries to end. This can lead the model to double-check its answer, often fixing incorrect reasoning steps. After supervised finetuning the Qwen2.5-32B-Instruct language model on s1K and equipping it with budget forcing, our model s1-32B exceeds o1-preview on competition math questions by up to 27% (MATH and AIME24). Further, scaling s1-32B with budget forcing allows extrapolating beyond its performance without test-time intervention: from 50% to 57% on AIME24. Our model, data, and code are open-source at https://github.com/simplescaling/s1

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

↑