arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.04625cs.CL
收藏

通过元验证与反思学习推进工具增强的大语言模型

Advancing Tool-Augmented Large Language Models via Meta-Verification and Reflection Learning

State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(认知智能国家重点实验室,中国科学技术大学);Research Center for Social Computing and Interactive Robotics, Harbin Institute of Technology(社会计算与交互机器人研究中心,哈尔滨工业大学)

Zhiyuan Ma, Jiayu Liu, Xianzhen Luo, Zhenya Huang, Qingfu Zhu, Wanxiang Che

AI总结:

本文提出Tool-MVR,通过多智能体元验证构建高质量工具指令数据集,并利用基于探索的反思学习增强错误纠正能力,在工具调用性能和反思纠错率上显著超越现有模型。

摘要:

赋予大语言模型(LLMs)有效的工具利用能力对于使AI智能体解决复杂问题至关重要。然而,当前模型面临两大主要局限:(1)由于低质量指令数据集(例如广泛存在的幻觉API调用)导致的不可靠的工具规划与调用,以及(2)由静态模仿学习导致的薄弱工具反思能力(超过90%的错误无法被纠正)。为解决这些关键局限,我们提出Tool-MVR,一种新颖的工具增强大语言模型,通过两项关键创新实现全面的系统2推理。具体而言,我们首先引入多智能体元验证(MAMV),一个系统化流程,严格验证API、查询和推理轨迹,以构建ToolBench-V,一个新的高质量指令数据集,解决不可靠工具规划与调用的局限。其次,我们提出基于探索的反思学习(EXPLORE),通过动态的“错误 -> 反思 -> 纠正”学习范式利用工具反馈来增强工具反思能力,从而得到我们的反思数据集ToolBench-R,并解决工具反思中的关键弱点。最后,我们通过在ToolBench-V和ToolBench-R上微调开源大语言模型(例如Qwen-7B)获得Tool-MVR。我们的实验表明,Tool-MVR在StableToolBench上取得了最先进的性能,超越了ToolLLM(提升23.9%)和GPT-4(提升15.3%),同时将API调用减少了31.4%,并在未见过的工具和场景中展现出强大的泛化能力。此外,在我们提出的RefineToolBench上——这是首个专门设计用于评估工具反思能力的基准——Tool-MVR实现了58.9%的错误纠正率,显著优于ToolLLM的9.1%。

英文摘要:

Empowering large language models (LLMs) with effective tool utilization capabilities is crucial for enabling AI agents to solve complex problems. However, current models face two major limitations: (1) unreliable tool planning and invocation due to low-quality instruction datasets (e.g., widespread hallucinated API calls), and (2) weak tool reflection abilities (over 90% of errors cannot be corrected) resulting from static imitation learning. To address these critical limitations, we propose Tool-MVR, a novel Tool-Augmented LLM that achieves comprehensive System 2 reasoning through two key innovations. Specifically, we first introduce Multi-Agent Meta-Verification (MAMV), a systematic pipeline that rigorously validates APIs, queries, and reasoning trajectories to construct ToolBench-V, a new high-quality instruction dataset that addresses the limitation of unreliable tool planning and invocation. Second, we propose Exploration-based Reflection Learning (EXPLORE), which enhances tool reflection capabilities by leveraging tool feedback through a dynamic "Error -> Reflection -> Correction" learning paradigm, resulting in our reflection dataset ToolBench-R and addressing the critical weakness in tool reflection. Finally, we obtain Tool-MVR by finetuning open-source LLMs (e.g., Qwen-7B) on both ToolBench-V and ToolBench-R. Our experiments demonstrate that Tool-MVR achieves state-of-the-art performance on StableToolBench, surpassing both ToolLLM (by 23.9%) and GPT-4 (by 15.3%) while reducing API calls by 31.4%, with strong generalization capabilities across unseen tools and scenarios. Additionally, on our proposed RefineToolBench, the first benchmark specifically designed to evaluate tool reflection capabilities, Tool-MVR achieves a 58.9% error correction rate, significantly outperforming ToolLLM's 9.1%.

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

↑