重新思考多轮对话中的有状态工具使用:基准与挑战
Rethinking Stateful Tool Use in Multi-Turn Dialogues: Benchmarks and Challenges
AI总结:
针对现有工具使用基准忽略多轮交互有状态特性的问题,提出多轮有状态工具交互数据集DialogTool与具身虚拟评估环境VirtualMobile,评估13款LLM发现其长周期工具使用能力仍有不足。
摘要:
现有评估作为语言智能体(LA)的语言模型(LM)工具使用能力的基准,主要聚焦于无状态单轮交互或局部评估(如单轮中的工具选择),忽略了多轮应用中交互固有的有状态特性。为填补这一空白,我们提出了\texttt{DialogTool}——一个包含有状态工具交互的多轮对话数据集,覆盖工具使用全生命周期,涉及三个阶段的六项关键任务:1)\textit{工具创建};2)\textit{工具利用}:工具感知、工具选择、工具执行;3)\textit{角色一致响应}:响应生成与角色扮演。此外,我们构建了\texttt{VirtualMobile}——一个具身虚拟移动评估环境,用于模拟API调用并评估所创建API的鲁棒性(注:本文中工具与API可互换使用,二者无显著差异)。基于这些资源,我们对13种不同的开源与闭源大语言模型(LLM)开展了全面评估,并在每个阶段进行了详细分析,结果表明现有最先进的LLM在长周期工具使用场景中仍表现不佳。
英文摘要:
Existing benchmarks that assess Language Models (LMs) as Language Agents (LAs) for tool use primarily focus on stateless, single-turn interactions or partial evaluations, such as tool selection in a single turn, overlooking the inherent stateful nature of interactions in multi-turn applications. To fulfill this gap, we propose \texttt{DialogTool}, a multi-turn dialogue dataset with stateful tool interactions considering the whole life cycle of tool use, across six key tasks in three stages: 1) \textit{tool creation}; 2) \textit{tool utilization}: tool awareness, tool selection, tool execution; and 3) \textit{role-consistent response}: response generation and role play. Furthermore, we build \texttt{VirtualMobile} -- an embodied virtual mobile evaluation environment to simulate API calls and assess the robustness of the created APIs\footnote{We will use tools and APIs alternatively, there are no significant differences between them in this paper.}. Taking advantage of these artifacts, we conduct comprehensive evaluation on 13 distinct open- and closed-source LLMs and provide detailed analysis at each stage, revealing that the existing state-of-the-art LLMs still cannot perform well to use tools over long horizons.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。