Research Papers 论文研究 9h ago Updated 4h ago 更新于 4小时前 49

The Menu Is an Execution Prior: State-Path Tool Menus for Online Agents 菜单即执行先验:在线智能体的状态路径工具菜单

Introduces the "tool menu" concept: a short, ordered subset of tools shown to an agent before execution, restricting calls to only menu items Proposes State-Path Tool Menu framework that learns pre-execution routes from observable request state to desired outcome Uses an encoder to model tool executability, input-output dependencies, and recurring execution orders, combined with a retriever and reranker Achieves online success rate of 0.898 on ToolBench, up from 0.737, outperforming retrieval, r 提出"工具菜单"概念,作为执行前展示给智能体的短序工具子集,限制智能体只能调用菜单中的工具 引入"状态路径"概念,构建从请求状态到期望结果的预执行路径,解决多步任务中前置工具被遗漏或延迟的问题 设计State-Path Tool Menu框架,包含编码器、检索器和重排序器,编码器识别可执行工具及其输入依赖关系,检索器覆盖入口、缺失输入生产者和最终动作,重排序器将生产者置于消费者之前 在ToolBench基准测试中,在线成功率从0.737提升至0.898,优于检索、重排序、生成和路由基线方法 32个工具的菜单覆盖的完整链超过官方128个工具列表,且性能提升在不同模型容量的执行器家族中保持一致

65
Hot 热度
75
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • Introduces the "tool menu" concept: a short, ordered subset of tools shown to an agent before execution, restricting calls to only menu items
  • Proposes State-Path Tool Menu framework that learns pre-execution routes from observable request state to desired outcome
  • Uses an encoder to model tool executability, input-output dependencies, and recurring execution orders, combined with a retriever and reranker
  • Achieves online success rate of 0.898 on ToolBench, up from 0.737, outperforming retrieval, reranking, generation, and routing baselines without modifying the agent
  • Demonstrates that 32 tools in the State-Path menu cover more complete chains than 128 tools in the official list, with gains persisting across different model capacities

Why It Matters

This work addresses a critical bottleneck in practical AI agent deployment: the explosion of tool libraries containing thousands of interfaces. By reframing tool selection as learning execution priors rather than relevance ranking, it enables agents to construct complete, ordered tool chains without agent-side modifications. This has direct implications for making agentic systems more reliable in real-world scenarios with large tool ecosystems.

Technical Details

  • Tool Menu: A constrained, ordered subset of tools presented to the agent pre-execution; the agent can only invoke tools within this menu
  • State-Path Learning: The framework learns routes from observable request state to desired outcomes, with an encoder that captures (1) which tools are executable from the current state, (2) how tool outputs satisfy later inputs, and (3) recurring orderings from training paths
  • Retriever + Reranker Architecture: The retriever identifies an executable entry point, missing-input producers, and the final action; the reranker then orders producers before consumers
  • Benchmark Results: On ToolBench, the approach raises online success from 0.737 to 0.898, surpassing retrieval, reranking, generation, and routing baselines while remaining executor-agnostic
  • Efficiency: The State-Path menu with 32 tools covers more complete execution chains than the official list with 128 tools, demonstrating superior tool selection density

Industry Insight

  • Tool selection should shift from relevance-based ranking to execution-path-aware curation, as the most relevant tool is not always the most useful first step in a multi-step task
  • The executor-agnostic nature of this approach means existing agent frameworks can adopt state-path menus as a drop-in improvement without architectural overhauls
  • As tool libraries continue to grow into the thousands, the gap between available tools and usable tool subsets will widen, making execution-prior-based selection increasingly critical for agent reliability

TL;DR

  • 提出"工具菜单"概念,作为执行前展示给智能体的短序工具子集,限制智能体只能调用菜单中的工具
  • 引入"状态路径"概念,构建从请求状态到期望结果的预执行路径,解决多步任务中前置工具被遗漏或延迟的问题
  • 设计State-Path Tool Menu框架,包含编码器、检索器和重排序器,编码器识别可执行工具及其输入依赖关系,检索器覆盖入口、缺失输入生产者和最终动作,重排序器将生产者置于消费者之前
  • 在ToolBench基准测试中,在线成功率从0.737提升至0.898,优于检索、重排序、生成和路由基线方法
  • 32个工具的菜单覆盖的完整链超过官方128个工具列表,且性能提升在不同模型容量的执行器家族中保持一致

为什么值得看

本文针对多步任务中工具选择的关键瓶颈提出了系统性解决方案,通过状态路径建模解决了传统方法中前置工具被忽视的问题,为大规模工具库场景下的智能体执行效率提供了新思路。

技术解析

  • 核心创新在于将工具菜单视为执行先验,编码器能够表示当前状态可运行的工具、工具输出如何满足后续输入,以及训练路径中重复出现的顺序模式
  • 检索器负责覆盖三个关键部分:可执行入口工具、缺失输入的生产者工具、最终目标动作
  • 重排序器确保生产者工具在消费者工具之前排列,保证执行顺序的正确性
  • 实验在ToolBench上进行,对比了检索、重排序、生成和路由等多种基线方法,证明该方法在不改变智能体本身的情况下显著提升性能
  • 跨模型容量测试表明,不同大小的执行器都能获得一致的性能提升,验证了方法的通用性

行业启示

  • 工具选择机制应从单纯的相关性排序转向执行路径规划,考虑工具间的依赖关系和顺序约束
  • 在大规模工具库场景下,通过预执行路径建模可以显著提升智能体的任务完成率,值得在实际系统中应用
  • 该方法与具体模型架构解耦,可灵活集成到现有智能体框架中,为工具增强型智能体提供了即插即用的优化方案

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Agent Agent LLM 大模型 Research 科学研究 Inference 推理