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

HyperTool:超越逐步工具调用的工具增强型智能体

HyperTool: Beyond Step-Wise Tool Calls for Tool-Augmented Agents

Shanghai Jiao Tong University(上海交通大学);IQuest Research;Beijing University of Aeronautics and Astronautics(北京航空航天大学)

Yaxin Du, Yifan Zhou, Yujie Ge, Jiajun Wang, Xianghe Pang, Shuo Tang, Tuney Zheng, Bryan Dai, Jian Yang, Siheng Chen

AI总结:

针对工具增强型LLM中逐步调用导致执行粒度不匹配的问题,提出HyperTool统一可执行接口,将确定性工具子流程折叠为单次调用,在多步工具任务上显著提升准确率。

摘要:

工具增强型LLM智能体通常依赖逐步的原子工具调用,其中每次调用、观察和值传递都暴露在主推理轨迹中。这造成了执行粒度不匹配:局部确定性的工具工作流被展开为重复的模型可见决策,消耗上下文并迫使模型管理轨迹中的低级数据流。我们引入HyperTool,一个统一的可执行MCP风格工具接口,改变了模型可见的工具执行单元。模型调用HyperTool时使用一个代码块,该代码块可以通过原始模式调用现有工具、操作返回值并在本地传递中间结果,将确定性工具子程序折叠为单个外部调用。为了训练模型使用此接口,我们从跨工具组合任务中合成HyperTool格式的轨迹,并在真实MCP环境中验证。在MCP-Universe上,HyperTool将Qwen3-32B的平均准确率从15.69%提升至35.29%,Qwen3-8B从9.93%提升至33.33%,并在平均准确率上超越GPT-OSS和Kimi-k2.5,表明我们的HyperTool能显著改进多步工具使用。

英文摘要:

Tool-augmented LLM agents commonly rely on step-wise atomic tool calls, where each invocation, observation, and value transfer is exposed in the main reasoning trace. This creates an \emph{execution-granularity mismatch}: locally deterministic tool workflows are unfolded into repeated model-visible decisions, consuming context and forcing the model to manage low-level dataflow in the trace. We introduce \textbf{HyperTool}, a unified executable MCP-style tool interface that changes the model-visible unit of tool execution. A model invokes HyperTool with a code block that can call existing tools through their original schemas, manipulate returned values, and pass intermediate results locally, folding deterministic tool subroutines into a single outer call. To train models to use this interface, we synthesize HyperTool-format trajectories from cross-tool compositional tasks and verify them in real MCP environments. On MCP-Universe, HyperTool improves average accuracy from 15.69\% to 35.29\% on Qwen3-32B and from 9.93\% to 33.33\% on Qwen3-8B, and surpass GPT-OSS and Kimi-k2.5 on average accuracy, showing that our HyperTool can substantially improve multi-step tool use.

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

↑