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

通过具有反射修正机制的分层执行结构实现鲁棒且高效的工具编排

Robust and Efficient Tool Orchestration via Layered Execution Structures with Reflective Correction

Department of Electrical Engineering and Computer Science, University of Kansas, Lawrence, KS, USA(电气工程与计算机科学系,堪萨斯大学);NEC Laboratories America, Princeton, NJ, USA(NEC美国实验室,新泽西州普林斯顿);Institute for Infocomm Research, A*STAR, Singapore(信息通信研究所,A*STAR,新加坡);School of Computer Science, University of Auckland, Auckland, New Zealand(计算机科学学院,奥克兰大学);Department of Statistics, University of Wisconsin--Madison, Madison, WI, USA(统计学系,威斯康星大学麦迪逊分校)

Tao Zhe, Haoyu Wang, Bo Luo, Min Wu, Wei Fan, Xiao Luo, Zijun Yao, Haifeng Chen, Dongjie Wang

AI总结:

本文提出一种基于分层执行结构和反射修正机制的工具编排方法,通过粗粒度结构和局部错误修正实现高效鲁棒的工具执行。

摘要:

工具调用是代理系统的核心能力,但失败往往不是来自单个工具调用,而是来自多个工具如何组织和执行 together。现有方法紧密耦合工具执行与逐步语言推理或显式规划,导致行为脆弱且执行开销高。为克服这些限制,我们从工具编排的角度重新审视工具调用。我们的关键见解是,有效的编排不需要精确的依赖图或细粒度规划。相反,粗粒度的分层结构足以提供全局指导,而执行时的错误可以局部修正。具体来说,我们将工具编排建模为学习一种分层执行结构,该结构捕捉到高层次的工具依赖性,通过上下文约束诱导分层执行。为处理执行时的故障,我们引入了具有模式意识的反射修正机制,该机制能够检测并修复局部错误。这种设计将错误限制在单个工具调用中,避免重新规划整个执行轨迹。这种结构化的执行范式使代理系统能够获得轻量且可重用的编排组件。实验结果表明,我们的方法在实现鲁棒的工具执行的同时,减少了执行复杂性和开销。代码将公开发布。

英文摘要:

Tool invocation is a core capability of agentic systems, yet failures often arise not from individual tool calls but from how multiple tools are organized and executed together. Existing approaches tightly couple tool execution with stepwise language reasoning or explicit planning, leading to brittle behavior and high execution overhead. To overcome these limitations, we revisit tool invocation from the perspective of tool orchestration. Our key insight is that effective orchestration does not require precise dependency graphs or fine-grained planning. Instead, a coarse-grained layer structure suffices to provide global guidance, while execution-time errors can be corrected locally. Specifically, we model tool orchestration as learning a layered execution structure that captures high-level tool dependencies, inducing layer-wise execution through context constraints. To handle execution-time failures, we introduce a schema-aware reflective correction mechanism that detects and repairs errors locally. This design confines errors to individual tool calls and avoids re-planning entire execution trajectories. This structured execution paradigm enables a lightweight and reusable orchestration component for agentic systems. Experimental results show that our approach achieves robust tool execution while reducing execution complexity and overhead. Code will be made publicly available.

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

↑