防御基于LLM的多智能体系统免受合作攻击:句子级纠正方法
Defending LLM-based Multi-Agent Systems Against Cooperative Attacks with Sentence-Level Rectification
AI总结:
提出一种自适应合作攻击框架,并引入句子级可信度分析与纠正(STAR)防御框架,以识别和纠正多智能体通信中的误导信息,显著提升任务成功率。
摘要:
近年来,基于大型语言模型的多智能体系统(MAS)发展迅速,其在协作决策和复杂问题解决方面表现出色。然而,MAS中的恶意智能体可能注入错误信息以误导其他智能体并破坏系统性能,这催生了一个新的研究方向,即关注MAS中的攻击机制和防御策略。以往的研究大多假设恶意智能体独立行动,并研究相应的防御策略。然而,我们认为恶意智能体可能表现出协作行为,通过内部信息交换实现更有效的攻击。在本文中,我们提出了一种自适应合作攻击框架,其中恶意智能体通过多轮交互自主协调并动态调整其攻击策略。此外,我们引入了句子级可信度分析与纠正(STAR),这是一种在智能体通信中识别和纠正句子级误导信息的防御框架。我们的实验表明,合作攻击导致任务成功率的下降幅度显著大于独立攻击,相对下降5.34%。同时,STAR有效缓解了合作和独立威胁,平均提高任务成功率36.76%。代码可在https://github.com/smoooom/STAR获取。
英文摘要:
Recent years have witnessed the rapid development of Large Language Model-based Multi-Agent Systems (MAS), which excel at collaborative decision-making and complex problem-solving. However, malicious agents in MAS may inject misinformation to mislead other agents and disrupt system performance, giving rise to a new research direction that focuses on attack mechanisms and defense strategies in MAS. Prior studies largely assume malicious agents act independently and investigate the corresponding defense strategies. However, we argue that malicious agents may exhibit collaborative behaviors, enabling more effective attacks through internal information exchange. In this paper, we propose an adaptive cooperative attack framework, where malicious agents autonomously coordinate and dynamically adjust their attack strategies through multi-round interactions. Furthermore, we introduce Sentence-Level Trustworthiness Analysis and Rectification (STAR), a defense framework that identifies and rectifies misleading information at the sentence level within agent communications. Our experiments show that cooperative attacks lead to a significantly larger degradation in task success rate than independent attacks, resulting in a relative drop of 5.34\%. Meanwhile, STAR effectively mitigates both cooperative and independent threats and improves task success rate by an average of 36.76\%. The code is available at https://github.com/smoooom/STAR.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。