2025-03-07 · 专家 · 机器学习 · 自然语言处理

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:这篇论文想要解决什么具体问题?

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

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

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

来源