NesTools:一个评估大语言模型嵌套工具学习能力的数据集
NesTools: A Dataset for Evaluating Nested Tool Learning Abilities of Large Language Models
AI总结:
本文提出 NesTools 数据集及自动生成流程,用于构建贴近真实场景的大规模嵌套工具调用,并评估 22 个大语言模型,揭示其在复杂嵌套工具学习上的不足。
摘要:
大语言模型(LLMs)与工具学习相结合,已在现实世界应用中取得了令人瞩目的成果。在工具学习过程中,LLMs 可能以嵌套顺序调用多个工具,即后一个工具调用可能将前一个响应作为其输入参数。然而,由于现有基准缺乏相关数据实例,当前关于嵌套工具学习能力的研究仍不充分。为解决这一问题,我们推出 NesTools,以弥补当前在全面嵌套工具学习评估方面的空白。NesTools 包含一种新颖的自动数据生成方法,用于构建具有不同嵌套结构的大规模嵌套工具调用。经过人工审查和完善,该数据集质量较高,并与现实场景紧密契合。因此,NesTools 可作为评估 LLMs 嵌套工具学习能力的新基准。我们对 22 个 LLMs 进行了大量实验,并利用 NesTools 提供了深入分析,结果表明当前 LLMs 在复杂的嵌套工具学习任务上仍存在困难。
英文摘要:
Large language models (LLMs) combined with tool learning have gained impressive results in real-world applications. During tool learning, LLMs may call multiple tools in nested orders, where the latter tool call may take the former response as its input parameters. However, current research on the nested tool learning capabilities is still under-explored, since the existing benchmarks lack relevant data instances. To address this problem, we introduce NesTools to bridge the current gap in comprehensive nested tool learning evaluations. NesTools comprises a novel automatic data generation method to construct large-scale nested tool calls with different nesting structures. With manual review and refinement, the dataset is in high quality and closely aligned with real-world scenarios. Therefore, NesTools can serve as a new benchmark to evaluate the nested tool learning abilities of LLMs. We conduct extensive experiments on 22 LLMs, and provide in-depth analyses with NesTools, which shows that current LLMs still suffer from the complex nested tool learning task.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。