当消息出错时:理解基于大语言模型的多智能体系统中的通信故障
When Messages Go Wrong: Understanding Communication Faults in LLM-Based Multi-Agent Systems
AI总结:
本文通过对LLM-MAS开展大规模实证研究,构建跨层分类法与故障注入追踪流水线,发现不同工作流拓扑的任务成功率差异及两类保护机制的恢复特性,为LLM-MAS的通信故障相关设计提供实证依据。
摘要:
基于大语言模型的多智能体系统(LLM-MAS)使用专门的智能体交换消息以完成复杂任务,其对网络协议、远程工具和模型端点的依赖使得通信易受消息丢失、延迟和上下文过期的影响。由于智能体常交换开放式自然语言,异常情况可能改变任务相关信息却仍使消息可被处理,导致语义错误在后续交互中传播。目前对智能体间通信故障的系统性研究仍有限。本文针对LLM-MAS中通信故障的表现、传播及对任务结果的影响开展大规模实证研究,构建了将底层栈干扰与应用层可见故障关联的跨层分类法,并开发了故障注入与追踪流水线。评估覆盖100个任务、5个领域、3种工作流拓扑和3种模型配置下的29000余次执行,发现20.7%带有完整检测记录的故障无即时故障信号,部分内容故障的该比例达76.2%;Flat拓扑在通信故障下保持53.0%的任务成功率,而Sequential和Hierarchical拓扑分别仅为3.3%和3.2%,该优势主要源于存在替代信息路径保留下游智能体所需的证据。本文还评估了执行侧和证据保护机制,发现二者可恢复不同类型的故障,证据恢复取决于是否能通过未受影响的路径获取可信信息。这些观察为LLM-MAS的通信故障传播、工作流弹性及保护机制设计提供了实证见解。
英文摘要:
LLM-based multi-agent systems (LLM-MAS) use specialized agents that exchange messages to accomplish complex tasks. Their reliance on networked protocols, remote tools, and model endpoints exposes communication to message loss, delay, and context expiration. Because agents often exchange open-ended natural language, anomalies can alter task-relevant information while leaving messages processable, allowing semantic errors to propagate through subsequent interactions. Systematic studies of faults in inter-agent communication remain limited. This paper presents a large-scale empirical study of how communication faults manifest, propagate, and affect task outcomes in LLM-MAS. We construct a cross-layer taxonomy linking lower-stack disturbances to application-visible faults and develop a fault-injection and tracing pipeline. Our evaluation covers more than 29,000 executions across 100 tasks, five domains, three workflow topologies, and three model configurations. We find that 20.7% of failures with complete detection records occur without an immediate failure signal, reaching 76.2% for partial-content faults. Flat maintains 53.0% task success under communication faults, compared with 3.3% and 3.2% for Sequential and Hierarchical, respectively. This advantage primarily arises when an alternative information path preserves the evidence required by downstream agents. We also evaluate execution-side and evidence protection mechanisms and find that they recover different failure cases. Evidence recovery depends on whether trustworthy information remains accessible through an unaffected path. These observations provide empirical insights into communication-fault propagation, workflow resilience, and protection design for LLM-MAS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。