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

为什么多智能体LLM系统会失败?

Why Do Multi-Agent LLM Systems Fail?

UC Berkeley(加州大学伯克利分校);Intesa Sanpaolo
Mert Cemri, Melissa Z. Pan, Shuyi Yang, Lakshya A. Agrawal, Bhavya Chopra, Rishabh Tiwari, Kurt Keutzer, Aditya Parameswaran, Dan Klein, Kannan Ramchandran, Mat… 展开作者

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

AI总结:

针对多智能体LLM系统在基准测试中性能提升有限的问题,构建了首个失败分类法MAST及含1600余条注释轨迹的数据集MAST-Data,系统分析了失败模式,为改进MAS设计提供了路线图。

摘要:

尽管人们对多智能体LLM系统(MAS)抱有热情,但它们在流行基准测试上的性能提升往往微乎其微。这一差距凸显了从原理上理解MAS为何失败的关键需求。解决这一问题需要系统性地识别和分析失败模式。我们引入了MAST-Data,这是一个包含从7个流行MAS框架中收集的1600多个带注释轨迹的综合数据集。MAST-Data是首个描绘MAS中失败动态的多智能体系统数据集,旨在指导未来更好系统的开发。为了对MAST-Data进行系统性的失败分类,我们构建了首个多智能体系统失败分类法(MAST)。我们通过对150个轨迹的严格分析来开发MAST,该分析由专家人工注释者密切指导,并通过高注释者间一致性(kappa = 0.88)进行验证。这一过程识别出14种独特的失败模式,聚类为3个类别:(i)系统设计问题,(ii)智能体间错位,以及(iii)任务验证。为了实现可扩展的注释,我们开发了一个与人工注释高度一致的LLM-as-a-Judge流水线。我们利用MAST和MAST-Data来分析不同模型(GPT4、Claude 3、Qwen2.5、CodeLlama)和任务(编码、数学、通用智能体)中的失败模式,展示了通过更好的MAS设计所带来的改进空间。我们的分析提供了见解,表明识别出的失败需要更复杂的解决方案,为未来研究指明了清晰的路线图。我们公开发布了我们的综合数据集(MAST-Data)、MAST和我们的LLM注释器,以促进MAS领域的广泛研究和发展。

英文摘要:

Despite enthusiasm for Multi-Agent LLM Systems (MAS), their performance gains on popular benchmarks are often minimal. This gap highlights a critical need for a principled understanding of why MAS fail. Addressing this question requires systematic identification and analysis of failure patterns. We introduce MAST-Data, a comprehensive dataset of 1600+ annotated traces collected across 7 popular MAS frameworks. MAST-Data is the first multi-agent system dataset to outline the failure dynamics in MAS for guiding the development of better future systems. To enable systematic classification of failures for MAST-Data, we build the first Multi-Agent System Failure Taxonomy (MAST). We develop MAST through rigorous analysis of 150 traces, guided closely by expert human annotators and validated by high inter-annotator agreement (kappa = 0.88). This process identifies 14 unique modes, clustered into 3 categories: (i) system design issues, (ii) inter-agent misalignment, and (iii) task verification. To enable scalable annotation, we develop an LLM-as-a-Judge pipeline with high agreement with human annotations. We leverage MAST and MAST-Data to analyze failure patterns across models (GPT4, Claude 3, Qwen2.5, CodeLlama) and tasks (coding, math, general agent), demonstrating improvement headrooms from better MAS design. Our analysis provides insights revealing that identified failures require more sophisticated solutions, highlighting a clear roadmap for future research. We publicly release our comprehensive dataset (MAST-Data), the MAST, and our LLM annotator to facilitate widespread research and development in MAS.

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

↑