2025-05-23 · 专家 · 机器学习 · 自然语言处理

Tool-Star: Empowering LLM-Brained Multi-Tool Reasoner via Reinforcement Learning

Tool-Star提出了一种基于强化学习的框架,旨在增强大型语言模型(LLM)的多工具协作推理能力,通过自主调用多个外部工具进行逐步推理。

更新于 2025-05-26。作者:Guanting Dong、Yifei Chen、Xiaoxi Li、Jiajie Jin、Hongjin Qian、Yutao Zhu、Hangyu Mao、Guorui Zhou、Zhicheng Dou、Ji-Rong Wen。

中文摘要

最近,通过大规模强化学习(RL),大型语言模型(LLMs)展现出惊人的推理能力。然而,利用RL算法在LLMs中实现有效的多工具协同推理仍然是一个未解的挑战。在本文中,我们介绍了Tool-Star,这是一个基于RL的框架,旨在使LLMs能够在逐步推理过程中自主调用多个外部工具。Tool-Star集成了六种类型的工具,并在数据合成和训练中都进行了系统性的设计。为了解决工具使用数据的稀缺性问题,我们提出了一种通用的工具集成推理数据合成管道,该管道结合了工具集成提示和基于提示的采样,以自动和可扩展地生成工具使用轨迹。随后,一个质量归一化和难度感知的分类过程过滤掉低质量样本,并从易到难组织数据集。此外,我们提出了一种两阶段训练框架,通过以下方式增强多工具协同推理:(1)冷启动微调,通过工具调用反馈引导LLMs探索推理模式;(2)具有层次性奖励设计的多工具自批评RL算法,强化奖励理解并促进有效的工具协作。在超过10个具有挑战性的推理基准上的实验分析突出了Tool-Star的有效性和效率。代码可在https://github.com/dongguanting/Tool-Star上找到。

英文摘要

Recently, large language models (LLMs) have shown remarkable reasoning capabilities via large-scale reinforcement learning (RL). However, leveraging the RL algorithm to empower effective multi-tool collaborative reasoning in LLMs remains an open challenge. In this paper, we introduce Tool-Star, an RL-based framework designed to empower LLMs to autonomously invoke multiple external tools during stepwise reasoning. Tool-Star integrates six types of tools and incorporates systematic designs in both data synthesis and training. To address the scarcity of tool-use data, we propose a general tool-integrated reasoning data synthesis pipeline, which combines tool-integrated prompting with hint-based sampling to automatically and scalably generate tool-use trajectories. A subsequent quality normalization and difficulty-aware classification process filters out low-quality samples and organizes the dataset from easy to hard. Furthermore, we propose a two-stage training framework to enhance multi-tool collaborative reasoning by: (1) cold-start fine-tuning, which guides LLMs to explore reasoning patterns via tool-invocation feedback; and (2) a multi-tool self-critic RL algorithm with hierarchical reward design, which reinforces reward understanding and promotes effective tool collaboration. Experimental analyses on over 10 challenging reasoning benchmarks highlight the effectiveness and efficiency of Tool-Star. The code is available at https://github.com/dongguanting/Tool-Star.

解读

一句话总结

Tool-Star提出了一种基于强化学习的框架,旨在增强大型语言模型(LLM)的多工具协作推理能力,通过自主调用多个外部工具进行逐步推理。

问题1:这篇论文想要解决什么具体问题?

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

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

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

来源

机器可读索引:llms.txt