基于LLM的多智能体协作在存在故障智能体时的弹性研究
On the Resilience of LLM-Based Multi-Agent Collaboration with Faulty Agents
AI总结:
本文研究了基于LLM的多智能体系统在存在故障智能体时的弹性,发现分层结构最具弹性,并提出Challenger和Inspector机制有效防御故障智能体并恢复错误。
摘要:
基于大型语言模型的多智能体系统由于专家智能体的协作,在各种任务中展现了出色的能力,每个智能体专注于特定领域。然而,笨拙甚至恶意的智能体——即那些在任务中频繁出错的智能体——对系统整体性能的影响仍有待探索。本文研究了:(1)在存在故障智能体的情况下,不同的系统结构(例如,A$\rightarrow$B$\rightarrow$C,A$\leftrightarrow$B$\leftrightarrow$C)在不同下游任务上的弹性如何?(2)我们如何提高系统弹性以防御这些智能体?为了模拟故障智能体,我们提出了两种方法——AutoTransform和AutoInject——将错误引入智能体的响应中。在四个下游任务上使用六个系统进行的实验表明,“分层”结构,即A$\rightarrow$(B$\leftrightarrow$C),表现出卓越的弹性,其性能下降最低,仅为5.5%,而其他两种结构的性能下降分别为10.5%和23.7%。为了进一步提高弹性,我们引入了(1)Challenger,它为每个智能体引入了一种挑战其他智能体输出的机制,以及(2)Inspector,一个额外的智能体,用于审查和纠正消息,恢复了故障智能体所犯错误的96.4%。我们的代码和数据可在https://github.com/CUHK-ARISE/MAS-Resilience获取。
英文摘要:
Large language model-based multi-agent systems have shown great abilities across various tasks due to the collaboration of expert agents, each focusing on a specific domain. However, the impact of clumsy or even malicious agents--those who frequently make errors in their tasks--on the overall performance of the system remains underexplored. This paper investigates: (1) What is the resilience of various system structures (e.g., A$\rightarrow$B$\rightarrow$C, A$\leftrightarrow$B$\leftrightarrow$C) under faulty agents, on different downstream tasks? (2) How can we increase system resilience to defend against these agents? To simulate faulty agents, we propose two approaches--AutoTransform and AutoInject--which introduce mistakes into the agents' responses. Experiments on four downstream tasks using six systems show that the "hierarchical" structure, i.e., A$\rightarrow$(B$\leftrightarrow$C), exhibits superior resilience with the lowest performance drop of 5.5%, compared to 10.5% and 23.7% of other two structures. To further improve resilience, we introduce (1) Challenger, that introduces a mechanism for each agent to challenge others' outputs, and (2) Inspector, an additional agent to review and correct messages, recovering up to 96.4% errors made by faulty agents. Our code and data are available at https://github.com/CUHK-ARISE/MAS-Resilience.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。