arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.20036cs.CLcs.SE
收藏

ToolScope: 通过工具合并和上下文感知过滤增强LLM代理的工具使用

ToolScope: Enhancing LLM Agent Tool Use through Tool Merging and Context-Aware Filtering

Oracle AI

Marianne Menglin Liu, Daniel Garcia, Fjona Parllaku, Vikas Upadhyay, Syed Fahad Allam Shah, Dan Roth

AI总结:

ToolScope通过自动校正的工具合并和上下文感知检索提升LLM代理的工具选择准确性,实验表明在三个顶级LLM和开源基准上提升了8.38%至38.6%的准确率。

摘要:

大型语言模型(LLM)代理依赖外部工具解决复杂任务,但现实中的工具集常包含冗余工具,导致歧义和选择准确性下降。LLM还面临严格的输入上下文限制,阻碍了对大规模工具集的高效考虑。为此,我们提出ToolScope,包含(1)ToolScopeMerger with Auto-Correction,自动审计和修复工具合并,减少冗余;(2)ToolScopeRetriever,按查询排名和选择最相关工具,压缩工具集以适应上下文限制而不牺牲准确性。在三个最先进的LLM和三个开源工具使用基准上的评估显示,工具选择准确率提升了8.38%至38.6%,证明了ToolScope在提升LLM工具使用方面的有效性。

英文摘要:

Large language model (LLM) agents rely on external tools to solve complex tasks, but real-world toolsets often contain redundant tools with overlapping names and descriptions, introducing ambiguity and reducing selection accuracy. LLMs also face strict input context limits, preventing efficient consideration of large toolsets. To address these challenges, we propose ToolScope, which includes: (1) ToolScopeMerger with Auto-Correction to automatically audit and fix tool merges, reducing redundancy, and (2) ToolScopeRetriever to rank and select only the most relevant tools for each query, compressing toolsets to fit within context limits without sacrificing accuracy. Evaluations on three state-of-the-art LLMs and three open-source tool-use benchmarks show gains of 8.38% to 38.6% in tool selection accuracy, demonstrating ToolScope's effectiveness in enhancing LLM tool use.

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

↑