arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.11557cs.AI
收藏

UniToolCall: 统一LLM智能体的工具使用表示、数据与评估

UniToolCall: Unifying Tool-Use Representation, Data, and Evaluation for LLM Agents

University of Science and Technology of China(中国科学技术大学);Ningbo Institute of Digital Twin(宁波数字孪生研究所);Eastern Institute of Technology(东部技术研究所);Department of Computing, The Hong Kong Polytechnic University(香港理工大学计算机系)

Yijuan Liang, Xinghao Chen, Yifan Ge, Ziyi Wu, Hao Wu, Changyu Zeng, Wei Xing, Xiaoyu Shen

AI总结:

提出UniToolCall框架,通过标准化工具集构建、数据集生成和评估流程,结合22k+工具和390k+训练实例,引入锚点链接机制,在混合设置下使Qwen3-8B单轮严格精度达93.0%,超越GPT、Gemini和Claude。

摘要:

工具使用能力是LLM智能体的基本组成部分,使其能够通过结构化函数调用与外部系统交互。然而,现有研究存在不一致的交互表示,很大程度上忽略了工具使用轨迹的结构分布,并依赖于不兼容的评估基准。我们提出了UniToolCall,一个统一的工具学习框架,标准化了从工具集构建、数据集生成到评估的整个流程。该框架整理了包含22k+工具的大型工具池,并通过结合10个标准化公共数据集与结构受控的合成轨迹,构建了包含390k+实例的混合训练语料库。它显式建模了多种交互模式,包括单跳与多跳、单轮与多轮,同时捕获了串行和并行执行结构。为了支持连贯的多轮推理,我们进一步引入了锚点链接机制,强制跨轮依赖关系。此外,我们将7个公共基准转换为统一的查询-动作-观察-答案(QAOA)表示,并在函数调用、轮次和对话级别进行细粒度评估。实验表明,在我们的数据集上微调Qwen3-8B显著提升了工具使用性能。在干扰项密集的Hybrid-20设置下,单轮严格精度达到93.0%,优于包括GPT、Gemini和Claude在内的商业模型。

英文摘要:

Tool-use capability is a fundamental component of LLM agents, enabling them to interact with external systems through structured function calls. However, existing research exhibits inconsistent interaction representations, largely overlooks the structural distribution of tool-use trajectories, and relies on incompatible evaluation benchmarks. We present UniToolCall, a unified framework for tool learning that standardizes the entire pipeline from toolset construction and dataset generation to evaluation. The framework curates a large tool pool of 22k+ tools and constructs a hybrid training corpus of 390k+ instances by combining 10 standardized public datasets with structurally controlled synthetic trajectories. It explicitly models diverse interaction patterns, including single-hop vs. multi-hop and single-turn vs. multi-turn, while capturing both serial and parallel execution structures. To support coherent multi-turn reasoning, we further introduce an Anchor Linkage mechanism that enforces cross-turn dependencies. Furthermore, we convert 7 public benchmarks into a unified Query--Action--Observation--Answer (QAOA) representation with fine-grained evaluation at the function-call, turn, and conversation levels. Experiments show that fine-tuning Qwen3-8B on our dataset substantially improves tool-use performance. Under the distractor-heavy Hybrid-20 setting, achieves 93.0% single-turn Strict Precision, outperforming commercial models including GPT, Gemini, and Claude.

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

↑