跳到正文
论文阅读馆THE RESEARCH LIBRARY 查找论文
← 论文库AI 研究与应用 / 评测与可靠性导出 ↗

PAPER / 2025

为什么基于大语言模型的多智能体系统会失败?

Why Do Multi-Agent LLM Systems Fail?

Mert Cemri · Melissa Z. Pan · Shuyi Yang · Lakshya A Agrawal · Bhavya Chopra · Rishabh Tiwari · Kurt Keutzer · Aditya Parameswaran · Dan Klein · Kannan Ramchandran · Matei Zaharia · Joseph E. Gonzalez · Ion Stoica

2025

30 秒读懂

方法先反复修订人工标签定义、检查标注者一致性,再把执行轨迹、分类定义和少量已标注示例交给 o1,让它输出失败标签及理由。MAST-Data 最终包含 1642 条轨迹。图中的真实例子是:工具要求电话号码作为用户名,执行代理却没有把这个要求告诉上级,双方因此反复用错误凭据登录。这里“信息隐瞒”是可观察的信息未传递,不代表模型具有恶意意图。

Why Do Multi-Agent LLM Systems Fail? 把多智能体的执行记录当成分析对象。单个成功率无法告诉开发者到底是角色约束、沟通还是验收出了问题。作者先收集执行轨迹,让专家从实际失败行为中归纳模式,再形成统一的失败分类词表;这是一项失败诊断研究,不是一个万能修复代理。

先说结论

这篇建立多智能体失败分类法 MAST 和轨迹数据集,让“失败了”变成可以定位和比较的行为标签。分类与干预有实验证据,但标签不是因果证明,局部修复也不是通用可靠性保证。 (原文:PDF p.5, Section 3.1; Figure 2;PDF p.6, Sections 3.2–3.4; Figure 3;PDF p.5, experimental setup;PDF p.6, Table 2;PDF p.27, Appendix H.2; Table 5;PDF p.9, Sections 5.1–5.3)

论文为什么要做这件事

Why Do Multi-Agent LLM Systems Fail? 把多智能体的执行记录当成分析对象。单个成功率无法告诉开发者到底是角色约束、沟通还是验收出了问题。作者先收集执行轨迹,让专家从实际失败行为中归纳模式,再形成统一的失败分类词表;这是一项失败诊断研究,不是一个万能修复代理。 (原文:PDF p.5, Section 3.1; Figure 2)

核心方法到底怎么运转

方法先反复修订人工标签定义、检查标注者一致性,再把执行轨迹、分类定义和少量已标注示例交给 o1,让它输出失败标签及理由。MAST-Data 最终包含 1642 条轨迹。图中的真实例子是:工具要求电话号码作为用户名,执行代理却没有把这个要求告诉上级,双方因此反复用错误凭据登录。这里“信息隐瞒”是可观察的信息未传递,不代表模型具有恶意意图。 (原文:PDF p.6, Sections 3.2–3.4; Figure 3)

实验怎样检验这个方法

作者先从五个框架收集 150 条轨迹,由六名专家按扎根理论逐步归纳失败模式;通过开放编码、跨案例比较和反复修订定义构建分类法,再检查标注一致性。它不是一开始就让语言模型自由编一套故障名称。 (原文:PDF p.5, experimental setup)

结果说明了什么

带 few-shot 示例的 o1 标注器 Accuracy 为 0.94、F1 为 0.80、Cohen’s κ 为 0.77;未加示例时分别为 0.89、0.64、0.58。人工标签定义经过迭代后的 κ 为 0.88,但这与自动标注器的 κ 不是同一个实验。结果支持用校准后的标注器扩展分析,不能把准确率解释成对每类失败根因都几乎不会误判。 (原文:PDF p.6, Table 2)

干预结果必须区分提示词和拓扑

ChatDev 在 ProgramDev-v0 的成功率:基线 25.0,改进提示词后 34.4,更换为带返回审查的循环拓扑后 40.6,表中单位为百分比。最大的变化来自拓扑干预,而不是“只加一层高级验证提示”。在 HumanEval 上对应为 89.6、90.3、91.5,收益明显较小。这些结果说明同一干预在不同任务上收益不同,也提醒我们成功率差值是百分点变化,不能混成相对百分比提升。 (原文:PDF p.27, Appendix H.2; Table 5)

这篇论文哪里最强,哪里最危险

论文发现不同系统的失败分布不同,也把“仅升级底座不足以解决全部失败”写成基于观察的论证和猜想。它没有证明系统设计是所有失败的唯一原因。更强模型、提示词、组织结构与验证机制都可能起作用;针对个别系统的干预虽有收益,仍未解决全部失败模式。因此应把 MAST 用于定位与比较,而不是把标签直接当作经实验确认的唯一根因。 (原文:PDF p.9, Sections 5.1–5.3)

读完后记住这三件事

输入是完整执行轨迹,输出是带理由的失败标签及系统级分布。标签先由专家归纳校准,再用带示例的语言模型扩展。干预验证显示提示词和拓扑的收益不同,不能把分类标签当作唯一根因。 (原文:PDF p.5, Section 3.1; Figure 2;PDF p.6, Sections 3.2–3.4; Figure 3;PDF p.5, experimental setup;PDF p.6, Table 2;PDF p.27, Appendix H.2; Table 5;PDF p.9, Sections 5.1–5.3)

代码从哪里读

原始来源入口。已访问官方仓库。先读分类定义、标注示例和标注器的输入输出,再检查模型判断对应的原始轨迹;本轮未重新标注全部数据,也未运行干预实验。

原文证据

将主张放回条件与原文定位中理解。

定义

需要知道哪里失败,而不只是失败多少次

原文摘录
Inter-Agent Conversation Stages Pre Execution Execution Post Execution Failure Categories Failure Modes 1.1 Disobey Task Specification (15.2%) 1.2 Disobey Role Specification (1.57%) Poor Specification 1.3 Step Repetition (11.5%) 37.17% (System Design) 1.4 Loss of Conversation History (2.36%) 1.5 Unaware of Termination Conditions (6.54%) 2.1 Conversation Reset (5.50%) 2.2 Fail to Ask for Clarification (2.09%) Inter-Agent 2.3 Task Derailment (5.50%) Misalignment 31.41% (Agent Coordination) 2.4 Information Withholding (6.02%) 2.5 Ignored Other Agent’s Input (4.71%) 2.6 Reasoning-Action Mismatch (7.59%) Failure Inter-Annotator (8.64%) 3.1 Premature Termination Task Verification (9.16%) 31.41% (Quality Control) 3.2 No or Incomplete Verification (13.61%) 3.3 Incorrect Verification Identification Agreement MAS Trace MAST Calibrate MAS Failure Multi-Agent Collections Development of Failure Taxonomy LLM Annotator Annotation Dataset Figure 2: Methodological workflow for constructing the MAST-Data dataset, involving the empirical identification of failure modes, the development of MAST, iterative refinement through inter-annotator agreement studies (κ = 0.88), and the creation of a scalable LLM annotation pipeline. This figure highlights our systematic approach to creating a comprehensive dataset for studying MAS failures. requires more than simple error detection; it necessitates understanding the system’s dynamics. Second, the lack of a standardized failure framework with clear definitions makes identifying and classifying MAS failures across different systems inconsistent, which complicates annotation and cross-system analysis. To address these challenges, we develop a rigorous, principled methodology to construct MAST-Data. In this section, we detail our approach, which centers on building the first empirical MAS failure taxonomy, MAST, and a scalable annotation pipeline for systematic and comprehensive data collection. Figure 2 summarizes our methodological workflow. 3.1 Data Collection with Grounded Theory Analysis To uncover a comprehensive set of failure patterns that are both diverse and generalizable to standard- ize failure labels which we detail further in Section 3.2, we first collect 150 traces from five MAS frameworks, which are closely examined by six human experts. Our goal at this stage is to identify as many distinct failure modes as possible, ensuring these observed patterns are not merely artifacts of a single system but can likely apply more broadly. To achieve this without predefined hypotheses, we adopt the Grounded Theory (GT) approach [20]. This qualitative research method allows failure modes to emerge organically from empirical data. For this initial data collection, we use theoretical sampling [43] to ensure robust coverage across different system objectives and interaction patterns. This method guides our selection of the five MAS frameworks (HyperAgent, AppWorld, AG2, ChatDev, and MetaGPT) and two task categories (programming and math problem-solving). We then iteratively analyze these traces using core GT techniques: open coding [44] to label trace data with observed failure behaviors; constant comparative analysis to refine our understanding of these failure behaviors and their recurrence across systems; memoing to document insights; and theorizing to structure these findings into an initial set of failure modes with their definitions. This iterative analysis continues until we reach theoretical saturation, where further data analysis does not yield new failure mode insights. This initial process requires significant human effort, over 20 hours of annotation per expert for these 150 traces. 3.2 Standardizing Failure Labels via Inter-Annotator Agreement To make the failure observations from our GT analysis useful for creating consistent labels in MAST-Data, we recognize the critical need for standardized definitions that apply uniformly across different MAS. To address this, we develop the failure taxonomy - MAST. MAST serves as a foundational first step towards a common understanding of MAS failures by providing clear, empirically grounded failure observation labels. We provide a detailed description and analysis of MAST in Section 4. To develop a taxonomy that is unambiguous and consistently applicable by different annotators, we rigorously validate and refine MAST definitions through Inter-Annotator Agreement (IAA) studies. This iterative process begins with a preliminary version of MAST derived from our GT findings. In each round of IAA, three expert annotators independently label a subset of five randomly selected traces from our initial 150+ trace collection using MAST. We then facilitate discussions to collectively resolve any disagreements. Based on these discussions, we iteratively refine MAST by adjusting failure mode definitions, adding new modes, or removing and merging existing ones until we achieve 5

条件:仅限本地原始PDF的 Section 3.1; Figure 2;不同表格与实验不合并

指标:Why Do Multi-Agent LLM Systems Fail? 把多智能体的执行记录当成分析对象。单个成功率无法告诉开发者到底是角色约束、沟通还是验收出了问题。作者先收集执行轨迹,让专家从实际失败行为中归纳模式,再形成统一的失败分类词表;这是一项失败诊断研究,不是一个万能修复代理。

原文第 5 页 ↗PDF p.5, Section 3.1; Figure 2

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

方法

从人工归纳到自动标注

原文摘录
<code to display docs for phone app> Login with username a@mail.com and 2 password XvV@Hof.Then… "name": "username","description": 1 "Your account phone_number", 3 The provided login credentials are incorrect. Could you please provide apis.phone.login(username="a@mail.com", the correct username and password for password="XvV@Hof") the phone app? 4 Supervisor Agent 6 Phone Agent Python Output {"message":"Invalid credentials"} Missing feedback on username should be the phone number 5 Figure 3: Visualization of a trace segment in MAST-Data. This illustrates an agent-to-agent conversa- tion exhibiting Failure Mode 2.4: Information Withholding. The Phone Agent fails to communicate API requirements (username format) to the Supervisor Agent, who also fails to seek clarification, leading to repeated failed logins and task failure. high consensus. We conduct three such rounds of IAA, requiring about 10 hours in total solely for resolving disagreements, not including the annotation time itself. We measure agreement using Cohen’s Kappa score, achieving a strong average of κ = 0.88 in the final rounds. This high IAA score signifies that MAST provides a clear and shared understanding of failure modes, crucial for the consistent annotation of MAST-Data. Figure 3 illustrates an example of a trace snippet with a MAST label. 3.3 Enabling Scalable Annotation: The LLM-as-a-Judge Pipeline Manually annotating over 1600 MAS traces with fine-grained failure modes is time-consuming and costly. To enable scalable and automated failure annotation for MAST-Data, we develop an LLM-as-a-Judge pipeline (LLM annotator), building upon our validated MAST. This pipeline prompts an LLM (OpenAI’s o1 model) with an execution trace, the MAST definitions, and few-shot examples from our human-annotated data (details in Appendix N) to classify observed failure modes. We validate the LLM annotator’s reliability against expert human annotations on a held-out set from our IAA studies. The LLM annotator achieves high agreement with human experts (accuracy 94%, Cohen’s Kappa of 0.77; Table 2), confirming its suitability for scaling the annotation process while adhering to MAST definitions. Table 2: Performance of LLM-as-a-judge pipeline Model Accuracy Recall Precision F1 Cohen’s κ o1 0.89 0.62 0.68 0.64 0.58 o1 (few shot) 0.94 0.77 0.833 0.80 0.77 3.4 Constructing the Multi-Agent Dataset Before large-scale data collection for MAST-Data, we confirm the generalizability of our finalized MAST and the LLM annotator. We evaluate their performance on two new MAS (OpenManus and Magentic-One) with two new benchmarks (MMLU and GAIA, the latter representing a new general- agent task domain for validation) not part of the initial MAST development. An additional human IAA round on these out-of-domain traces using the finalized MAST yields a strong Cohen’s Kappa score of 0.79. This demonstrates MAST’s effectiveness in capturing failures in diverse systems and tasks without further modification, supporting the robustness of our annotation approach for broader application. We further detail the uniqueness of MAST failure modes via a correlation study in Appendix E. Leveraging our validated MAST and LLM annotator, we expand data collection to construct MAST-Data, comprising 1642 annotated traces from seven popular MAS frameworks (Table 1). These frameworks include the five from our initial studies, the two from the generalization vali- dation, and Manus [45] as detailed in Appendix B. These traces cover diverse tasks like coding, math problem-solving, and general agent functionalities. For MAST-Data, our LLM annotator identifies MAST failure modes in each trace and provides a corresponding reason. We also release MAST-Data-human, consisting of all traces annotated by human experts during our IAA studies, where each annotation specifies MAST failure modes with textual justifications. We open-source 6

条件:仅限本地原始PDF的 Sections 3.2–3.4; Figure 3;不同表格与实验不合并

指标:方法先反复修订人工标签定义、检查标注者一致性,再把执行轨迹、分类定义和少量已标注示例交给 o1,让它输出失败标签及理由。MAST-Data 最终包含 1642 条轨迹。图中的真实例子是:工具要求电话号码作为用户名,执行代理却没有把这个要求告诉上级,双方因此反复用错误凭据登录。这里“信息隐瞒”是可观察的信息未传递,不代表模型具有恶意意图。

原文第 6 页 ↗PDF p.6, Sections 3.2–3.4; Figure 3

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

方法

实验怎样检验这个方法

原文摘录
Inter-Agent Conversation Stages Pre Execution Execution Post Execution Failure Categories Failure Modes 1.1 Disobey Task Specification (15.2%) 1.2 Disobey Role Specification (1.57%) Poor Specification 1.3 Step Repetition (11.5%) 37.17% (System Design) 1.4 Loss of Conversation History (2.36%) 1.5 Unaware of Termination Conditions (6.54%) 2.1 Conversation Reset (5.50%) 2.2 Fail to Ask for Clarification (2.09%) Inter-Agent 2.3 Task Derailment (5.50%) Misalignment 31.41% (Agent Coordination) 2.4 Information Withholding (6.02%) 2.5 Ignored Other Agent’s Input (4.71%) 2.6 Reasoning-Action Mismatch (7.59%) Failure Inter-Annotator (8.64%) 3.1 Premature Termination Task Verification (9.16%) 31.41% (Quality Control) 3.2 No or Incomplete Verification (13.61%) 3.3 Incorrect Verification Identification Agreement MAS Trace MAST Calibrate MAS Failure Multi-Agent Collections Development of Failure Taxonomy LLM Annotator Annotation Dataset Figure 2: Methodological workflow for constructing the MAST-Data dataset, involving the empirical identification of failure modes, the development of MAST, iterative refinement through inter-annotator agreement studies (κ = 0.88), and the creation of a scalable LLM annotation pipeline. This figure highlights our systematic approach to creating a comprehensive dataset for studying MAS failures. requires more than simple error detection; it necessitates understanding the system’s dynamics. Second, the lack of a standardized failure framework with clear definitions makes identifying and classifying MAS failures across different systems inconsistent, which complicates annotation and cross-system analysis. To address these challenges, we develop a rigorous, principled methodology to construct MAST-Data. In this section, we detail our approach, which centers on building the first empirical MAS failure taxonomy, MAST, and a scalable annotation pipeline for systematic and comprehensive data collection. Figure 2 summarizes our methodological workflow. 3.1 Data Collection with Grounded Theory Analysis To uncover a comprehensive set of failure patterns that are both diverse and generalizable to standard- ize failure labels which we detail further in Section 3.2, we first collect 150 traces from five MAS frameworks, which are closely examined by six human experts. Our goal at this stage is to identify as many distinct failure modes as possible, ensuring these observed patterns are not merely artifacts of a single system but can likely apply more broadly. To achieve this without predefined hypotheses, we adopt the Grounded Theory (GT) approach [20]. This qualitative research method allows failure modes to emerge organically from empirical data. For this initial data collection, we use theoretical sampling [43] to ensure robust coverage across different system objectives and interaction patterns. This method guides our selection of the five MAS frameworks (HyperAgent, AppWorld, AG2, ChatDev, and MetaGPT) and two task categories (programming and math problem-solving). We then iteratively analyze these traces using core GT techniques: open coding [44] to label trace data with observed failure behaviors; constant comparative analysis to refine our understanding of these failure behaviors and their recurrence across systems; memoing to document insights; and theorizing to structure these findings into an initial set of failure modes with their definitions. This iterative analysis continues until we reach theoretical saturation, where further data analysis does not yield new failure mode insights. This initial process requires significant human effort, over 20 hours of annotation per expert for these 150 traces. 3.2 Standardizing Failure Labels via Inter-Annotator Agreement To make the failure observations from our GT analysis useful for creating consistent labels in MAST-Data, we recognize the critical need for standardized definitions that apply uniformly across different MAS. To address this, we develop the failure taxonomy - MAST. MAST serves as a foundational first step towards a common understanding of MAS failures by providing clear, empirically grounded failure observation labels. We provide a detailed description and analysis of MAST in Section 4. To develop a taxonomy that is unambiguous and consistently applicable by different annotators, we rigorously validate and refine MAST definitions through Inter-Annotator Agreement (IAA) studies. This iterative process begins with a preliminary version of MAST derived from our GT findings. In each round of IAA, three expert annotators independently label a subset of five randomly selected traces from our initial 150+ trace collection using MAST. We then facilitate discussions to collectively resolve any disagreements. Based on these discussions, we iteratively refine MAST by adjusting failure mode definitions, adding new modes, or removing and merging existing ones until we achieve 5

条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并

指标:作者先从五个框架收集 150 条轨迹,由六名专家按扎根理论逐步归纳失败模式;通过开放编码、跨案例比较和反复修订定义构建分类法,再检查标注一致性。它不是一开始就让语言模型自由编一套故障名称。

原文第 5 页 ↗PDF p.5, experimental setup

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

结果

自动标注的证据有条件

原文摘录
<code to display docs for phone app> Login with username a@mail.com and 2 password XvV@Hof.Then… "name": "username","description": 1 "Your account phone_number", 3 The provided login credentials are incorrect. Could you please provide apis.phone.login(username="a@mail.com", the correct username and password for password="XvV@Hof") the phone app? 4 Supervisor Agent 6 Phone Agent Python Output {"message":"Invalid credentials"} Missing feedback on username should be the phone number 5 Figure 3: Visualization of a trace segment in MAST-Data. This illustrates an agent-to-agent conversa- tion exhibiting Failure Mode 2.4: Information Withholding. The Phone Agent fails to communicate API requirements (username format) to the Supervisor Agent, who also fails to seek clarification, leading to repeated failed logins and task failure. high consensus. We conduct three such rounds of IAA, requiring about 10 hours in total solely for resolving disagreements, not including the annotation time itself. We measure agreement using Cohen’s Kappa score, achieving a strong average of κ = 0.88 in the final rounds. This high IAA score signifies that MAST provides a clear and shared understanding of failure modes, crucial for the consistent annotation of MAST-Data. Figure 3 illustrates an example of a trace snippet with a MAST label. 3.3 Enabling Scalable Annotation: The LLM-as-a-Judge Pipeline Manually annotating over 1600 MAS traces with fine-grained failure modes is time-consuming and costly. To enable scalable and automated failure annotation for MAST-Data, we develop an LLM-as-a-Judge pipeline (LLM annotator), building upon our validated MAST. This pipeline prompts an LLM (OpenAI’s o1 model) with an execution trace, the MAST definitions, and few-shot examples from our human-annotated data (details in Appendix N) to classify observed failure modes. We validate the LLM annotator’s reliability against expert human annotations on a held-out set from our IAA studies. The LLM annotator achieves high agreement with human experts (accuracy 94%, Cohen’s Kappa of 0.77; Table 2), confirming its suitability for scaling the annotation process while adhering to MAST definitions. Table 2: Performance of LLM-as-a-judge pipeline Model Accuracy Recall Precision F1 Cohen’s κ o1 0.89 0.62 0.68 0.64 0.58 o1 (few shot) 0.94 0.77 0.833 0.80 0.77 3.4 Constructing the Multi-Agent Dataset Before large-scale data collection for MAST-Data, we confirm the generalizability of our finalized MAST and the LLM annotator. We evaluate their performance on two new MAS (OpenManus and Magentic-One) with two new benchmarks (MMLU and GAIA, the latter representing a new general- agent task domain for validation) not part of the initial MAST development. An additional human IAA round on these out-of-domain traces using the finalized MAST yields a strong Cohen’s Kappa score of 0.79. This demonstrates MAST’s effectiveness in capturing failures in diverse systems and tasks without further modification, supporting the robustness of our annotation approach for broader application. We further detail the uniqueness of MAST failure modes via a correlation study in Appendix E. Leveraging our validated MAST and LLM annotator, we expand data collection to construct MAST-Data, comprising 1642 annotated traces from seven popular MAS frameworks (Table 1). These frameworks include the five from our initial studies, the two from the generalization vali- dation, and Manus [45] as detailed in Appendix B. These traces cover diverse tasks like coding, math problem-solving, and general agent functionalities. For MAST-Data, our LLM annotator identifies MAST failure modes in each trace and provides a corresponding reason. We also release MAST-Data-human, consisting of all traces annotated by human experts during our IAA studies, where each annotation specifies MAST failure modes with textual justifications. We open-source 6

条件:仅限本地原始PDF的 Table 2;不同表格与实验不合并

指标:带 few-shot 示例的 o1 标注器 Accuracy 为 0.94、F1 为 0.80、Cohen’s κ 为 0.77;未加示例时分别为 0.89、0.64、0.58。人工标签定义经过迭代后的 κ 为 0.88,但这与自动标注器的 κ 不是同一个实验。结果支持用校准后的标注器扩展分析,不能把准确率解释成对每类失败根因都几乎不会误判。

原文第 6 页 ↗PDF p.6, Table 2

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

结果

干预结果必须区分提示词和拓扑

原文摘录
agent roles can reduce failures. However, these strategies are not universal, and their effectiveness varies based on factors such as the underlying LLM. H.2 Case Study 2: ChatDev ChatDev [5] simulates a multiagent software company where different agents have different role specifications, such as a CEO, a CTO, a software engineer and a reviewer, who try to collaboratively solve a software generation task. In an attempt to address the challenges we observed frequently in the traces, we implement two different interventions. Our first solution is refining role-specific prompts to enforce hierarchy and role adherence. For instance, we observed cases where the CPO prematurely ended discussions with the CEO without fully addressing constraints. To prevent this, we ensured that only superior agents can finalize conversations. Additionally, we enhanced verifier role specifications to focus on task-specific edge cases. Details of these interventions are in Section M. The second solution attempt involved a fundamental change to the framework’s topology. We modified the framework’s topology from a directed acyclic graph (DAG) to a cyclic graph. The process now terminates only when the CTO agent confirms that all reviews are properly satisfied, with a maximum iteration cutoff to prevent infinite loops. This approach enables iterative refinement and more comprehensive quality assurance. We test our interventions in two different benchmarks. The first one of them is a custom generated set of 32 different tasks (which we call as ProgramDev-v0, which consists of slightly different questions than the ProgamDev dataset we discussed in Section 4) where we ask the framework to generate programs ranging from “Write me a two-player chess game playable in the terminal” to ”Write me a BMI calculator”. The other benchmark is the HumanEval task of OpenAI. We report our results in Table 5. Notice that even though our interventions are successful in improving the performance of the framework in different tasks, they do not constitute substantial improvements, and more comprehensive solutions as we lay out in Section G.2 are required. Table 5: Case Studies Accuracy Comparison. This table presents the performance accuracies (in percentages) for various scenarios in our case studies. The header rows group results by strategy: AG2 and ChatDev. Under AG2, GSM-Plus results are reported using GPT-4 and GPT-4o; under ChatDev, results for ProgramDev and HumanEval are reported. Each row represents a particular configuration: baseline implementation, improved prompts, and a redesigned agent topology. Configuration AG2 ChatDev GSM-Plus (w/ GPT-4) GSM-Plus (w/ GPT-4o) ProgramDev-v0 HumanEval Baseline 84.75 ± 1.94 84.25 ± 1.86 25.0 89.6 Improved prompt 89.75 ± 1.44 89.00 ± 1.38 34.4 90.3 New topology 85.50 ± 1.18 88.83 ± 1.51 40.6 91.5 H.3 Effect of the interventions on MAST After carrying out the aforementioned interventions, we initially inspect the task completion rates as in Table 5. However, MAST offers us the opportunity to look beyond the task completion rates, and we can investigate the effects of these interventions on the failure mode distribution on these MASs (AG2 and ChatDev). As illustrated in Figures 10 and 11, we observe that both of these interventions cause a decrease across the different failure modes observed, and it is possible to conclude that topology-based changes are more effective than prompt-based changes for both systems. Moreover, this displays another usage of MAST, which is as well as an analysis tool after execution, it can serve as a debugging tool for future improvements as it shows which failure modes particular augmentations to the system can solve or miss, guiding future intervention decisions. 27

条件:仅限本地原始PDF的 Appendix H.2; Table 5;不同表格与实验不合并

指标:ChatDev 在 ProgramDev-v0 的成功率:基线 25.0,改进提示词后 34.4,更换为带返回审查的循环拓扑后 40.6,表中单位为百分比。最大的变化来自拓扑干预,而不是“只加一层高级验证提示”。在 HumanEval 上对应为 89.6、90.3、91.5,收益明显较小。这些结果说明同一干预在不同任务上收益不同,也提醒我们成功率差值是百分点变化,不能混成相对百分比提升。

原文第 27 页 ↗PDF p.27, Appendix H.2; Table 5

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

限制

分类法是诊断工具,不是因果定律

原文摘录
concretely defining failure modes and providing a large-scale dataset of their occurrences, our work outlines the challenges in building reliable MAS and opens targeted research problems for the community. 5.1 Failure Breakdown in MAST-Data Our analysis of MAST-Data reveals that failure distributions differ markedly across various MAS, often reflecting their unique architectural characteristics and design philosophies. For example, as illustrated in Figure 4, we observe specific patterns: AppWorld frequently suffers from premature terminations (FM-3.1), potentially due to its star topology and lack of a predefined workflow making termination conditions less obvious; OpenManus exhibits a tendency towards step repetition (FM- 1.3); and HyperAgent could benefit from addressing its dominant failure modes of step repetition (FM-1.3) and incorrect verification (FM-3.3). These system-specific profiles underscore that there is no one-size-fits-all solution to MAS failures. We also use MAST-Data to study the impact of different underlying language models and MAS designs on failure patterns. For instance, when comparing GPT-4o and Claude 3.7 Sonnet within the MetaGPT framework on programming tasks, we find that while GPT-4o generally performs better than Claude, it shows significantly fewer FC1 (System Design Issues) failures by 39%. We also examine the impact of different MAS designs on the same benchmark, such as comparing MetaGPT and ChatDev on ProgramDev. Here, while MetaGPT generally outperforms ChatDev by having 60-68% less failure in FC1 and FC2, it has 1.56x more FC3 failure than ChatDev. These comparative analyses, detailed further in Appendix F, provide insights into how model choice and architectural patterns influence system performance and distribution of failures. 5.2 MAST as a Practical Development Tool Developing robust MAS is challenging: aggregate success rates can obscure the specific impacts of optimizations. MAST addresses this by providing a structured vocabulary for systematic failure breakdown. Using our LLM annotator with MAST, developers can obtain quantitative analyses of failure profiles for specific systems. We demonstrate MAST’s practical usage in guiding MAS improvement in our case studies (Appendix H). The Failure Mode breakdown analysis (Appendix H.3) shows which failure modes were mitigated and reveals any resulting trade-offs. This granular view, moving beyond aggregate metrics, is crucial for understanding why an intervention works and for iterating effectively towards more robust systems. 5.3 Beyond Model Capabilities: The Primacy of System Design While one could simply attribute failures in MAST-Data to limitations of present-day LLM (e.g., hallucinations, misalignment), we conjecture that improvements in the base model capabilities will be insufficient to address the full MAST. Instead, we argue that good MAS design requires organizational understanding – even organizations of sophisticated individuals can fail catastrophically [49] if the organization structure is flawed. Previous research in high-reliability organizations has shown that well-defined design principles can prevent such failures [50, 51]. Consistent with organization theories, our findings indicate that many MAS failures arise from the challenges in organizational design and agent coordination rather than the limitations of individ- ual agents. In our intervention case studies (Appendix H), we apply MAS system workflow and prompt changes respectively (results in Table 5). With the same underlying model, we achieve max improvements of 15.6%. This highlights that MAS failures can be address with better system designs. Although first step interventions lead to performance gains, not all failure modes are resolved, and task completion rates still remain low, indicating that more substantial improvements are needed. Achieving high reliability may requires combinatorial changes ranging from agent system organization to model level improvements (see Table 4). MAST, by providing a clear framework of failure points identified from MAST-Data, helps identify where these structural weaknesses lie and can guide the design and evaluation of more sophisticated MAS architectures. 9

条件:仅限本地原始PDF的 Sections 5.1–5.3;不同表格与实验不合并

指标:论文发现不同系统的失败分布不同,也把“仅升级底座不足以解决全部失败”写成基于观察的论证和猜想。它没有证明系统设计是所有失败的唯一原因。更强模型、提示词、组织结构与验证机制都可能起作用;针对个别系统的干预虽有收益,仍未解决全部失败模式。因此应把 MAST 用于定位与比较,而不是把标签直接当作经实验确认的唯一根因。

原文第 9 页 ↗PDF p.9, Sections 5.1–5.3

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

读完,试着回答

论文研究什么问题?

Why Do Multi-Agent LLM Systems Fail? 把多智能体的执行记录当成分析对象。单个成功率无法告诉开发者到底是角色约束、沟通还是验收出了问题。作者先收集执行轨迹,让专家从实际失败行为中归纳模式,再形成统一的失败分类词表;这是一项失败诊断研究,不是一个万能修复代理。

已有方法缺口在哪里?

Why Do Multi-Agent LLM Systems Fail? 把多智能体的执行记录当成分析对象。单个成功率无法告诉开发者到底是角色约束、沟通还是验收出了问题。作者先收集执行轨迹,让专家从实际失败行为中归纳模式,再形成统一的失败分类词表;这是一项失败诊断研究,不是一个万能修复代理。

输入是什么?

多智能体执行轨迹、经过人工校准的失败分类定义与标注示例。

机制是什么?

方法先反复修订人工标签定义、检查标注者一致性,再把执行轨迹、分类定义和少量已标注示例交给 o1,让它输出失败标签及理由。MAST-Data 最终包含 1642 条轨迹。图中的真实例子是:工具要求电话号码作为用户名,执行代理却没有把这个要求告诉上级,双方因此反复用错误凭据登录。这里“信息隐瞒”是可观察的信息未传递,不代表模型具有恶意意图。

输出是什么?

输入是完整执行轨迹,输出是带理由的失败标签及系统级分布。标签先由专家归纳校准,再用带示例的语言模型扩展。干预验证显示提示词和拓扑的收益不同,不能把分类标签当作唯一根因。

适用边界是什么?

论文发现不同系统的失败分布不同,也把“仅升级底座不足以解决全部失败”写成基于观察的论证和猜想。它没有证明系统设计是所有失败的唯一原因。更强模型、提示词、组织结构与验证机制都可能起作用;针对个别系统的干预虽有收益,仍未解决全部失败模式。因此应把 MAST 用于定位与比较,而不是把标签直接当作经实验确认的唯一根因。

还有什么未解决?

改变输入分布、模型版本或评价条件后,本页结论是否仍适用?

技术附录

问题与已有方法

问题设定

Why Do Multi-Agent LLM Systems Fail? 把多智能体的执行记录当成分析对象。单个成功率无法告诉开发者到底是角色约束、沟通还是验收出了问题。作者先收集执行轨迹,让专家从实际失败行为中归纳模式,再形成统一的失败分类词表;这是一项失败诊断研究,不是一个万能修复代理。 Why Do Multi-Agent LLM Systems Fail? 把多智能体的执行记录当成分析对象。单个成功率无法告诉开发者到底是角色约束、沟通还是验收出了问题。作者先收集执行轨迹,让专家从实际失败行为中归纳模式,再形成统一的失败分类词表;这是一项失败诊断研究,不是一个万能修复代理。

方法与组成

核心思路

方法先反复修订人工标签定义、检查标注者一致性,再把执行轨迹、分类定义和少量已标注示例交给 o1,让它输出失败标签及理由。MAST-Data 最终包含 1642 条轨迹。图中的真实例子是:工具要求电话号码作为用户名,执行代理却没有把这个要求告诉上级,双方因此反复用错误凭据登录。这里“信息隐瞒”是可观察的信息未传递,不代表模型具有恶意意图。

主要发现

  • 标题

    自动标注的证据有条件

    证据

    带 few-shot 示例的 o1 标注器 Accuracy 为 0.94、F1 为 0.80、Cohen’s κ 为 0.77;未加示例时分别为 0.89、0.64、0.58。人工标签定义经过迭代后的 κ 为 0.88,但这与自动标注器的 κ 不是同一个实验。结果支持用校准后的标注器扩展分析,不能把准确率解释成对每类失败根因都几乎不会误判。

    限制

    以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

    原文定位

    PDF p.6, Table 2

  • 标题

    干预结果必须区分提示词和拓扑

    证据

    ChatDev 在 ProgramDev-v0 的成功率:基线 25.0,改进提示词后 34.4,更换为带返回审查的循环拓扑后 40.6,表中单位为百分比。最大的变化来自拓扑干预,而不是“只加一层高级验证提示”。在 HumanEval 上对应为 89.6、90.3、91.5,收益明显较小。这些结果说明同一干预在不同任务上收益不同,也提醒我们成功率差值是百分点变化,不能混成相对百分比提升。

    限制

    以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

    原文定位

    PDF p.27, Appendix H.2; Table 5

概念定位

是什么

方法先反复修订人工标签定义、检查标注者一致性,再把执行轨迹、分类定义和少量已标注示例交给 o1,让它输出失败标签及理由。MAST-Data 最终包含 1642 条轨迹。图中的真实例子是:工具要求电话号码作为用户名,执行代理却没有把这个要求告诉上级,双方因此反复用错误凭据登录。这里“信息隐瞒”是可观察的信息未传递,不代表模型具有恶意意图。

为什么重要

Why Do Multi-Agent LLM Systems Fail? 把多智能体的执行记录当成分析对象。单个成功率无法告诉开发者到底是角色约束、沟通还是验收出了问题。作者先收集执行轨迹,让专家从实际失败行为中归纳模式,再形成统一的失败分类词表;这是一项失败诊断研究,不是一个万能修复代理。

图表导读

  • PDF 页

    6

    标题

    PDF p.6, Table 2

    解释

    带 few-shot 示例的 o1 标注器 Accuracy 为 0.94、F1 为 0.80、Cohen’s κ 为 0.77;未加示例时分别为 0.89、0.64、0.58。人工标签定义经过迭代后的 κ 为 0.88,但这与自动标注器的 κ 不是同一个实验。结果支持用校准后的标注器扩展分析,不能把准确率解释成对每类失败根因都几乎不会误判。

  • PDF 页

    27

    标题

    PDF p.27, Appendix H.2; Table 5

    解释

    ChatDev 在 ProgramDev-v0 的成功率:基线 25.0,改进提示词后 34.4,更换为带返回审查的循环拓扑后 40.6,表中单位为百分比。最大的变化来自拓扑干预,而不是“只加一层高级验证提示”。在 HumanEval 上对应为 89.6、90.3、91.5,收益明显较小。这些结果说明同一干预在不同任务上收益不同,也提醒我们成功率差值是百分点变化,不能混成相对百分比提升。

核心概念

  • 名称

    从人工归纳到自动标注

    解释

    方法先反复修订人工标签定义、检查标注者一致性,再把执行轨迹、分类定义和少量已标注示例交给 o1,让它输出失败标签及理由。MAST-Data 最终包含 1642 条轨迹。图中的真实例子是:工具要求电话号码作为用户名,执行代理却没有把这个要求告诉上级,双方因此反复用错误凭据登录。这里“信息隐瞒”是可观察的信息未传递,不代表模型具有恶意意图。

    原文定位

    PDF p.6, Sections 3.2–3.4; Figure 3

    证据来源

    paper_supported

  • 名称

    实验怎样检验这个方法

    解释

    作者先从五个框架收集 150 条轨迹,由六名专家按扎根理论逐步归纳失败模式;通过开放编码、跨案例比较和反复修订定义构建分类法,再检查标注一致性。它不是一开始就让语言模型自由编一套故障名称。

    原文定位

    PDF p.5, experimental setup

    证据来源

    paper_supported

章节阅读

  • 页码

    5

    作用

    problem

    关键问题

    需要知道哪里失败,而不只是失败多少次

    状态

    read

  • 页码

    6

    作用

    method

    关键问题

    从人工归纳到自动标注

    状态

    read

  • 页码

    5

    作用

    method

    关键问题

    实验怎样检验这个方法

    状态

    read

  • 页码

    6

    作用

    result

    关键问题

    自动标注的证据有条件

    状态

    read

  • 页码

    27

    作用

    result

    关键问题

    干预结果必须区分提示词和拓扑

    状态

    read

  • 页码

    9

    作用

    limitation

    关键问题

    分类法是诊断工具,不是因果定律

    状态

    read

批判性阅读

最低充分结论

论文发现不同系统的失败分布不同,也把“仅升级底座不足以解决全部失败”写成基于观察的论证和猜想。它没有证明系统设计是所有失败的唯一原因。更强模型、提示词、组织结构与验证机制都可能起作用;针对个别系统的干预虽有收益,仍未解决全部失败模式。因此应把 MAST 用于定位与比较,而不是把标签直接当作经实验确认的唯一根因。

继续阅读

相关论文

共享概念

同一研究空间