Inherit-MAS:通过工作流与执行继承实现多智能体系统的测试时演化
研究论文 · 2026/10/09
基于大语言模型的多智能体系统(MAS)通过协调专用智能体来处理复杂任务,但有效的工作流难以预先设计。测试时演化利用执行反馈来改进工作流,然而大幅修改可能破坏有用组件,而重新执行未改变的请求会导致冗余计算。受生物演化中遗传与选择相互作用的启发,我们提出了Inherit-MAS,在工作流和执行层面显式实现继承。一个元模型首先合成由工作智能体组成的工作流,并声明其角色、通信输入和工具权限,一个单独提示的评判器对每个已执行的候选方案进行评分并诊断其缺陷。在普通改进轮次中,工作流继承从最新完成的候选方案开始,可能丢弃被判定为无用的可移除节点,并应用经过验证的编辑来解决诊断出的缺陷。当新候选方案执行时,执行继承仅在完整解析的请求和执行上下文匹配时继承符合条件的存储结果,从而避免冗余的模型和工具调用。使用GPT-4o-mini作为工作智能体时,Inherit-MAS在WorkBench上达到55.4%的完成率,在HotpotQA FullWiki上达到49.7%的联合F1,优于EvoAgent、EvoMAS和TacoMAS。使用Qwen3-32B作为工作智能体时,它在两个基准上也超过了这些演化式MAS基线。与禁用执行继承重新运行相同控制器相比,执行继承在WorkBench上减少了29.1%的工作智能体令牌使用量,在HotpotQA上减少了34.6%,总令牌使用量分别减少了5.3%和18.1%。
该研究提出了一种受生物演化启发的多智能体系统测试时演化方法,通过显式的工作流和执行继承,在提升任务性能的同时显著减少冗余计算,为高效自适应多智能体系统提供了新思路。
Multi-agent systems (MAS) built from large language models coordinate specialized agents to tackle complex tasks, but effective workflows are difficult to design in advance. Test-time evolution refines workflows using execution feedback, yet broad revisions can disturb useful components, while re-executing unchanged requests can incur redundant computation. Inspired by the interplay of inheritance and selection in biological evolution, we introduce Inherit-MAS, which makes inheritance explicit at the workflow and execution levels. A meta-model first synthesizes a workflow of worker agents with declared roles, communication inputs, and tool permissions, and a separately prompted judge scores each executed candidate and diagnoses its deficiencies. In ordinary refinement rounds, workflow inheritance starts from the latest completed candidate, may discard removable nodes judged unhelpful, and applies a validated edit to address the diagnosed deficiency. When the new candidate executes, execution inheritance inherits eligible stored results only if the complete resolved request and execution context match, avoiding redundant model and tool calls. With GPT-4o-mini workers, Inherit-MAS achieves 55.4\% completion on WorkBench and 49.7\% joint F1 on HotpotQA FullWiki, outperforming EvoAgent, EvoMAS, and TacoMAS. With Qwen3-32B workers, it also exceeds these evolving-MAS baselines on both benchmarks. Compared with rerunning the same controller with execution inheritance disabled, execution inheritance reduces worker-token usage by 29.1\% on WorkBench and 34.6\% on HotpotQA, and total token usage by 5.3\% and 18.1\%.