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

AutoTool:面向大语言模型智能体的高效工具选择

AutoTool: Efficient Tool Selection for Large Language Model Agents

Jingyi Jia, Qinbin Li

Jingyi Jia, Qinbin Li

AI总结:

针对LLM智能体工具选择推理成本高的问题,提出基于图的AutoTool框架,利用工具使用惯性从历史轨迹构建转移图并整合参数信息,实验证明可降本30%且保持任务完成率,为智能体设计提供高效方案。

摘要:

大语言模型(LLM)智能体凭借LLM的推理与决策能力,已成为自动化复杂任务的强大工具。然而,当前智能体框架的主要瓶颈在于工具选择的高推理成本,尤其是在ReAct等方法中,每一步都需重复调用LLM以确定使用哪种工具。本研究提出AutoTool,一种基于图的新型框架,通过利用关键实证观察——工具使用惯性(工具调用遵循可预测序列模式的倾向),绕过重复的LLM推理。AutoTool从历史智能体轨迹构建有向图,节点代表工具,边捕捉转移概率,有效建模工具选择中的惯性;它进一步整合参数级信息以优化工具输入生成。通过遍历该结构化表示,AutoTool以最少的LLM推理依赖高效选择工具及其参数。在多种智能体任务上的大量实验表明,AutoTool将推理成本降低高达30%,同时保持有竞争力的任务完成率,为推理密集型框架提供了实用且可扩展的增强方案。本研究凸显了将统计结构融入LLM智能体设计以在不牺牲性能的前提下提升效率的潜力。

英文摘要:

Large Language Model (LLM) agents have emerged as powerful tools for automating complex tasks by leveraging the reasoning and decision-making abilities of LLMs. However, a major bottleneck in current agent frameworks lies in the high inference cost of tool selection, especially in approaches like ReAct that repeatedly invoke the LLM to determine which tool to use at each step. In this work, we propose AutoTool, a novel graph-based framework that bypasses repeated LLM inference by exploiting a key empirical observation: tool usage inertia - the tendency of tool invocations to follow predictable sequential patterns. AutoTool constructs a directed graph from historical agent trajectories, where nodes represent tools and edges capture transition probabilities, effectively modeling the inertia in tool selection. It further integrates parameter-level information to refine tool input generation. By traversing this structured representation, AutoTool efficiently selects tools and their parameters with minimal reliance on LLM inference. Extensive experiments across diverse agent tasks demonstrate that AutoTool reduces inference costs by up to 30% while maintaining competitive task completion rates, offering a practical and scalable enhancement for inference-heavy frameworks. Our work highlights the promise of integrating statistical structure into LLM agent design for greater efficiency without sacrificing performance.

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

↑