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

ToolACE-R: 基于模型的迭代训练与自适应细化用于工具学习

ToolACE-R: Model-aware Iterative Training and Adaptive Refinement for Tool Learning

Xingshan Zeng, Weiwen Liu, Xu Huang, Zezhong Wang, Lingzhi Wang, Liangyou Li, Yasheng Wang, Lifeng Shang, Xin Jiang, Ruiming Tang, Qun Liu

AI总结:

ToolACE-R通过基于模型的迭代训练和自适应细化,提升工具学习的效率和性能。

摘要:

工具学习,使大型语言模型(LLMs)能够利用外部工具解决复杂用户任务,已成为扩展模型能力的一种有前景的途径。然而,现有方法主要集中在数据合成上,用于微调LLMs以有效调用工具,大多忽略了如何充分激发模型潜力。在本文中,我们提出ToolACE-R,一种新的框架,包括基于模型的迭代训练和自适应细化用于工具学习。ToolACE-R的特点是基于模型的迭代训练过程,根据模型日益增强的能力逐步调整训练样本,以最大化其潜力。此外,它还包含自我细化训练语料库,强调LLM迭代细化其工具调用的能力,无需外部反馈即可优化性能。此外,我们引入了自适应自我细化机制,用于高效的测试时间扩展,其中训练好的模型可以自主决定何时停止该过程。我们对多个基准数据集进行了广泛的实验,结果显示,ToolACE-R在与先进的API基模型相比时表现具有竞争力。通过自适应自我细化,工具调用的性能可以更高效地提高。这些结果突显了ToolACE-R的有效性和泛化能力,为更高效和可扩展的工具学习提供了有前景的方向。

英文摘要:

Tool learning, which allows Large Language Models (LLMs) to leverage external tools for solving complex user tasks, has emerged as a promising avenue for extending model capabilities. However, existing approaches primarily focus on data synthesis for fine-tuning LLMs to invoke tools effectively, largely ignoring how to fully stimulate the potential of the model. In this paper, we propose ToolACE-R, a novel framework that includes both model-aware iterative training and adaptive refinement for tool learning. ToolACE-R features a model-aware iterative training procedure that progressively adjust training samples based on the model's evolving capabilities to maximize its potential. Additionally, it incorporates self-refinement training corpus which emphasizes LLM's ability to iteratively refine their tool calls, optimizing performance without requiring external feedback. Furthermore, we introduce adaptive self-refinement mechanism for efficient test-time scaling, where the trained model can autonomously determine when to stop the process based on iterative self-refinement. We conduct extensive experiments across several benchmark datasets, showing that ToolACE-R achieves competitive performance compared to advanced API-based models. The performance of tool invocation can be further improved efficiently through adaptive self-refinement. These results highlight the effectiveness and generalizability of ToolACE-R, offering a promising direction for more efficient and scalable tool learning.

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

↑