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

协调成本与异质性红利:多智能体大语言模型流水线的盈亏平衡条件

The Coordination Tax and the Heterogeneity Dividend: Break-Even Conditions for Multi-Agent LLM Pipelines

Linux Foundation AI & Data(Linux基金会AI与数据)

Andreas Zettl, Diego Gosmar

AI总结:

该研究针对多智能体LLM流水线,构建了协调成本与异质性红利的盈亏平衡模型,实验发现按任务选择模型可在半成本下解决94.3%的任务,而分解流水线无收益。

摘要:

基于Open Floor Protocol(OFP)或A2A等互操作协议构建的多智能体大语言模型(LLM)流水线通常以能力为依据被证明合理,其运行时成本被视为大小未知的开销。将此类流水线与单次模型调用进行比较的定义不明确,因为流水线可为每个角色分配不同的模型。我们提供了一个闭式模型,用于权衡协调成本(分解开销加上每次交接的协议成本)与将工作路由到更便宜模型产生的异质性红利,其中包含盈亏平衡阈值和可行性边界α < 1/r,并以OFP为测试协议,在6种架构(含Claude Opus 5.5和Haiku 5.5)的2430次运行中,针对135个HumanEval和ClassEval任务对每个术语进行了测量。该协议每次交接增加7.2毫秒,占流水线 wall time 的0.11%。在这些任务上分解并无收益:规划器-编码-审查流水线的成本是单次强调用的3.22倍,耗时为3.24倍,解决的任务数量却未增加。将规划器和审查器转移到便宜模型可将流水线成本降至0.39倍,但pass@1下降6.7个百分点,使其比单次调用更昂贵、更慢且准确性更低,且盈亏平衡预测偏差达-19%,原因是便宜角色会增加 token 量。节省的空间在于按任务选择模型:在两次单次调用间进行的神谕选择可在每次解决任务的成本为强调用一半的情况下,解决94.3%的运行。

英文摘要:

Multi-agent LLM pipelines built on interoperability protocols such as the Open Floor Protocol (OFP) or A2A are usually justified on capability grounds, with their runtime cost treated as an overhead of unknown size. Comparing such a pipeline with one model call is underspecified, because a pipeline can give each role a different model. We give a closed-form model that sets the coordination tax (decomposition overhead plus per-handoff protocol cost) against the heterogeneity dividend from routing work to a cheaper model, with a break-even threshold and a feasibility bound, $α< 1/r$, and measure every term, with OFP as the protocol under test, on 135 HumanEval and ClassEval tasks in 2430 runs of six architectures with Claude Opus 5.5 and Haiku 5.5. The protocol adds 7.2 ms per handoff, 0.11% of pipeline wall time. Decomposition does not pay on these tasks: a planner-coder-reviewer pipeline costs 3.22x as much as a single strong call, takes 3.24x as long, and solves no more tasks. Moving planner and reviewer to the cheap model cuts the pipeline's cost to 0.39x but changes pass@1 by -6.7 points, leaving it dearer, slower and less accurate than the single call, and the break-even forecast misses by -19% because the cheap roles inflate token volume. The saving lies in choosing a model per task instead: an oracle choice between the two single calls solves 94.3% of runs at half the strong call's cost per solved task.

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

↑