START: Self-taught Reasoner with Tools
START是一种结合了长链式思维和工具集成的推理大型语言模型,通过利用外部工具显著提高了推理能力。
更新于 2025-03-09。作者:Chengpeng Li、Mingfeng Xue、Zhenru Zhang、Jiaxi Yang、Beichen Zhang、Xiang Wang、Bowen Yu、Binyuan Hui、Junyang Lin、Dayiheng Liu。
中文摘要
大型推理模型(LRMs)如OpenAI-o1和DeepSeek-R1,通过利用长思维链(CoT)在复杂推理任务中展现出了卓越的能力。然而,这些模型由于仅依赖内部推理过程,常常出现幻觉和低效的问题。在本文中,我们介绍了START(具有工具的自主学习推理器),这是一种创新的工具集成长CoT推理大型语言模型,通过利用外部工具显著提升了推理能力。通过代码执行,START能够进行复杂计算、自我检查、探索不同方法以及自我调试,从而解决LRMs的局限性。START的核心创新在于其自学习框架,包括两个关键技术:1)提示-推断:我们证明,在LRM的推断过程中插入人工设计的提示(例如,“等等,可能在这里使用Python是个好主意”)可以有效地激发其利用外部工具的能力,而无需任何演示数据。提示-推断还可以作为一种简单有效的序列测试时间缩放方法;2)提示拒绝采样微调(Hint-RFT):Hint-RFT通过评分、过滤和修改由LRM通过提示-推断生成的工具调用推理轨迹,然后对LRM进行微调。通过这个框架,我们将QwQ-32B模型微调为START。在博士级科学问答(GPQA)、竞赛级数学基准(AMC23、AIME24、AIME25)以及竞赛级代码基准(LiveCodeBench)上,START分别实现了63.6%、95.0%、66.7%、47.1%和47.3%的准确率。它显著优于基础QwQ-32B,并达到了与最先进的开放权重模型R1-Distill-Qwen-32B和专有模型o1-Preview相当的性能。
英文摘要
Large reasoning models (LRMs) like OpenAI-o1 and DeepSeek-R1 have demonstrated remarkable capabilities in complex reasoning tasks through the utilization of long Chain-of-thought (CoT). However, these models often suffer from hallucinations and inefficiencies due to their reliance solely on internal reasoning processes. In this paper, we introduce START (Self-Taught Reasoner with Tools), a novel tool-integrated long CoT reasoning LLM that significantly enhances reasoning capabilities by leveraging external tools. Through code execution, START is capable of performing complex computations, self-checking, exploring diverse methods, and self-debugging, thereby addressing the limitations of LRMs. The core innovation of START lies in its self-learning framework, which comprises two key techniques: 1) Hint-infer: We demonstrate that inserting artificially designed hints (e.g., ``Wait, maybe using Python here is a good idea.'') during the inference process of a LRM effectively stimulates its ability to utilize external tools without the need for any demonstration data. Hint-infer can also serve as a simple and effective sequential test-time scaling method; 2) Hint Rejection Sampling Fine-Tuning (Hint-RFT): Hint-RFT combines Hint-infer and RFT by scoring, filtering, and modifying the reasoning trajectories with tool invocation generated by a LRM via Hint-infer, followed by fine-tuning the LRM. Through this framework, we have fine-tuned the QwQ-32B model to achieve START. On PhD-level science QA (GPQA), competition-level math benchmarks (AMC23, AIME24, AIME25), and the competition-level code benchmark (LiveCodeBench), START achieves accuracy rates of 63.6%, 95.0%, 66.7%, 47.1%, and 47.3%, respectively. It significantly outperforms the base QwQ-32B and achieves performance comparable to the state-of-the-art open-weight model R1-Distill-Qwen-32B and the proprietary model o1-Preview.
解读
一句话总结
START是一种结合了长链式思维和工具集成的推理大型语言模型,通过利用外部工具显著提高了推理能力。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:大型推理模型(LRMs)在复杂推理任务中表现出色,但往往因为仅依赖内部推理过程而出现幻觉和效率低下。
- 现有方案不足:现有的长链式思维(CoT)方法在复杂计算或模拟时容易出现幻觉,而工具集成推理(TIR)方法虽然可以缓解这些问题,但缺乏有效的结合方式。
- 研究目标:通过结合长链式思维和工具集成,开发一种新的推理模型,以解决LRMs的局限性。
问题2:论文的核心创新点是什么?
- 技术创新:提出了Hint-infer和Hint-RFT两种关键技术,分别用于引导模型利用外部工具和通过自我学习提高工具使用能力。
- 方法改进:通过在推理过程中插入人工设计的提示(Hint-infer)和结合RFT进行微调(Hint-RFT),实现了对LRMs的改进。
- 优势:与现有方法相比,START在性能上显著优于基线模型,并且能够有效地利用外部工具进行复杂计算和自我调试。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在科学问答(GPQA)、数学基准(AMC23、AIME24、AIME25)和代码基准(LiveCodeBench)上进行了实验。
- 性能提升:START在GPQA、MATH500、AMC23、AIME24、AIME25和LiveCodeBench上的准确率分别为63.6%、94.4%、95.0%、66.7%、47.1%和47.3%,显著优于基线模型。
- 对比结果:START的性能与最先进的公开权重模型R1-Distill-Qwen-32B和私有模型o1-Preview相当。
问题4:这个研究的实际应用价值是什么?
- 应用场景:START可以应用于科学问答、数学问题解决、编程挑战和高级认知任务等领域。
- 实施建议:START可以部署在需要复杂推理和计算能力的应用中,例如教育、研究和工业领域。
- 局限与展望:START目前仅集成了Python解释器,未来可以探索集成更多工具和改进提示设计,以提高模型在不同领域的应用能力。