挖掘 LLM 多智能体工作流的设计空间
Mining the Design Space of Multi-Agent Workflows
AI 导读
一项研究提出两阶段流程,从 LLM 多智能体系统(MAS)工作流代码与执行轨迹中挖掘可复现的设计原则。团队将 AFlow 的 MCTS 优化器用于 6 个可组合算子和 26 个 Enigmata 任务,构建 28,568 条可执行工作流语料,再通过沙盒化 AutoResearch 循环提炼编排代码与提示词模板。
正文 · 原文
Abstract:Designing large language model (LLM) multi-agent systems (MAS) still relies on trial and error and informal "folk wisdom." Manual studies test only a few communication structures or topologies (e.g., sequential, parallel, shared-memory, or debate), while automated optimizers discard search trajectories after selecting a task-specific workflow. We present a two-phase pipeline for mining reproducible design principles from workflow code and execution traces. We repurpose AFlow's MCTS optimizer across six composable operators and 26 deterministically verified Enigmata tasks, retaining all intermediate rounds to build a corpus of 28,568 executable workflows. A sandboxed AutoResearch loop then mines orchestration code and prompt templates under an $L_0$-penalized validation objective and tests candidate principles on held-out searches. Across 300 feature-mining trials, we identify effects that persist on held-out searches across three levels of workflow design: workflows beginning with independent solvers and one-shot aggregation (Star-first) perform worse ($\Delta = -0.045$); persistent shared documents (SharedMemory) outperform debate ($\Delta = +0.135$); and prompt specificity and placeholder-based context routing yield gains comparable to communication-structure selection ($\Delta = +0.118$). More broadly, our pipeline and results show the feasibility of turning discarded search trajectories into a statistical testbed for discovering and validating multi-agent workflow design principles.
| Comments: | 21 pages, including appendices. Equal contribution: Xavier Cadet and Junyan Cheng. Website: this https URL |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.31709 [cs.SE] |
| (or arXiv:2610.31709v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2610.31709 arXiv-issued DOI via DataCite |
Submission history
From: Junyan Cheng [view email]
[v1]
Thu, 22 Oct 2026 00:31:39 UTC (789 KB)
来源:arXiv cs.AI · arxiv.org