2025-11-13 · 专家 · 自然语言处理 · 机器人

LoopTool: Closing the Data-Training Loop for Robust LLM Tool Calls

LoopTool是一种全自动、模型感知的数据演变框架,通过紧密集成数据合成和模型训练,提高大型语言模型(LLM)工具使用能力。

更新于 2026-04-29。作者:Kangning Zhang、Wenxiang Jiao、Kounianhua Du、Yuan Lu、Weiwen Liu、Weinan Zhang、Lei Zhang、Yong Yu。

中文摘要

通过将外部工具与大型语言模型(LLMs)相结合,可以使其执行复杂的多步骤任务。然而,工具学习受到静态的合成数据管道的阻碍,其中数据生成和模型训练作为两个独立的、非交互的过程执行。这种方法无法自适应地关注模型的具体弱点,并允许噪声标签持续存在,降低训练效率。我们引入了LoopTool,这是一个完全自动化的、模型感知的数据演化框架,通过紧密集成数据合成和模型训练来闭合这个循环。LoopTool通过三个协同模块迭代地改进数据和模型:(1)贪婪能力探测(GCP)诊断模型已掌握和失败的技能;(2)判断引导标签验证(JGLV)使用开源的判断模型来查找和纠正标注错误,逐步净化数据集;(3)错误驱动数据扩展(EDDE)根据识别到的失败生成新的、具有挑战性的样本。这个闭环过程在一个成本效益高、开源的生态系统中运行,消除了对昂贵闭源API的依赖。实验表明,使用LoopTool训练的80亿参数模型显著优于其320亿参数的数据生成器,并在BFCL-v3和ACEBench基准测试中实现了其规模的新最先进结果。我们的工作表明,闭环、自我优化的数据管道可以显著提高LLMs的工具使用能力。

英文摘要

Augmenting Large Language Models (LLMs) with external tools enables them to execute complex, multi-step tasks. However, tool learning is hampered by the static synthetic data pipelines where data generation and model training are executed as two separate, non-interactive processes. This approach fails to adaptively focus on a model's specific weaknesses and allows noisy labels to persist, degrading training efficiency. We introduce LoopTool, a fully automated, model-aware data evolution framework that closes this loop by tightly integrating data synthesis and model training. LoopTool iteratively refines both the data and the model through three synergistic modules: (1) Greedy Capability Probing (GCP) diagnoses the model's mastered and failed capabilities; (2) Judgement-Guided Label Verification (JGLV) uses an open-source judge model to find and correct annotation errors, progressively purifying the dataset; and (3) Error-Driven Data Expansion (EDDE) generates new, challenging samples based on identified failures. This closed-loop process operates within a cost-effective, open-source ecosystem, eliminating dependence on expensive closed-source APIs. Experiments show that our 8B model trained with LoopTool significantly surpasses its 32B data generator and achieves new state-of-the-art results on the BFCL-v3 and ACEBench benchmarks for its scale. Our work demonstrates that closed-loop, self-refining data pipelines can dramatically enhance the tool-use capabilities of LLMs.

解读

一句话总结

LoopTool是一种全自动、模型感知的数据演变框架,通过紧密集成数据合成和模型训练,提高大型语言模型(LLM)工具使用能力。

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

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

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

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

来源