完全循环子任务图用于工具使用LLM代理:多代理工作流程中的灵活性、成本和瓶颈
Complete Cyclic Subtask Graphs for Tool-Using LLM Agents: Flexibility, Cost, and Bottlenecks in Long-Horizon Workflows
AI总结:
本文研究了完全循环子任务图,通过分析不同基准测试发现,多代理工作流程中灵活性可能带来协调成本和推理成本,而外部任务瓶颈可能主导性能。
摘要:
长周期工具使用任务有时受益于重新访问早期子任务以恢复和探索,但增加多代理工作流程的灵活性也可能引入协调开销和显著的推理成本。我们研究了完全循环子任务图,一种刻意最大化灵活性的多代理架构,在其中可执行的子任务节点完全连接,一个统一的状态分析和路由代理使用自然语言标准选择转换。这使得无限制的重新访问变得显式且可以直接在子任务级别分析。我们评估了任务特定(Spec-Cyc)和基准通用(Gen-Cyc)图在TextCraft、ALFWorld和Finance-Agent上的表现,通过规划器/执行器/路由器强度、工具暴露(通用vs专业)、n-shot成功轨迹摘要和故障注入的随机子任务扰动进行消融分析。基准测试暴露了三种不同的模式。ALFWorld突显了显式重新访问支持恢复和探索的场景;TextCraft,一个主要依赖先决条件链的领域,通常更倾向于简单向前执行的效率;而Finance-Agent则受到检索、基础和证据综合的瓶颈,而非工作流程灵活性本身。共享赢token比较进一步表明,增加的灵活性可能比单个ReAct代理更昂贵。总体而言,我们使用完全循环子任务图作为最大灵活性的实验透镜,以测量多代理重新访问何时有助于、何时主要增加协调成本,以及外部任务瓶颈何时主导。
英文摘要:
Long-horizon tool-using tasks sometimes benefit from revisiting earlier subtasks, but explicit revisitation also adds routing, coordination, and token cost. We study complete cyclic subtask graphs for large language model (LLM) agents: a workflow controller in which executable subtasks are fully connected and a unified state-analysis-and-routing agent selects transitions from natural-language criteria. We evaluate task-specific (Spec-Cyc) and benchmark-generic (Gen-Cyc) cyclic graphs on TextCraft, ALFWorld, and Finance-Agent against ReAct and dependency-directed workflows. Our main dependency-directed controller is DepDAG, which permits same-subtask retry while preserving forward dependency constraints. The evaluated case studies suggest three workflow signatures rather than a universal architecture ranking. TextCraft behaves like a prerequisite-chain setting, where cyclic routing often adds overhead. ALFWorld behaves like a partially observable recovery setting, where explicit revisitation improves exploration and success. Finance-Agent behaves like an open-ended evidence-synthesis setting, where workflow control alone is insufficient without stronger retrieval, grounding, and verification mechanisms. We add a qualified workflow-signature matrix, fault-injection robustness analysis, token-cost accounting, graph-stability reporting, transition-audit checks for DepDAG, and failure-mode structure for trajectory analysis. Overall, complete cyclic subtask graphs are best understood as a diagnostic workflow-control tool: they expose when flexible backtracking is worth its cost and when simpler, locally retrying, or sparsified controllers are preferable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。