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

NetSafe:探索多智能体网络的拓扑安全性

NetSafe: Exploring the Topological Safety of Multi-agent Networks

University of Science and Technology of China(中国科学技术大学);Squirrel AI(松鼠AI);Hong Kong Polytechnic University(香港理工大学)

Miao Yu, Shilong Wang, Guibin Zhang, Junyuan Mao, Chenlong Yin, Qijiong Liu, Qingsong Wen, Kun Wang, Yang Wang

AI总结:

本文提出NetSafe框架,从拓扑视角研究基于LLM的多智能体网络安全性,发现高度连通网络更易受攻击传播影响,并揭示了智能体幻觉与聚合安全等新现象。

摘要:

大型语言模型(LLMs)为多智能体网络中的节点赋予了智能,在学术界和工业界展现出日益广泛的应用。然而,如何防止这些网络生成恶意信息仍未得到探索,且以往关于单个LLM安全性的研究难以迁移到多智能体场景。本文从拓扑视角关注多智能体网络的安全性,研究哪些拓扑属性有助于构建更安全的网络。为此,我们提出了一个通用框架NetSafe,并引入迭代式RelCom交互机制,以统一现有多样化的基于LLM的智能体框架,为通用化的拓扑安全性研究奠定基础。我们识别出多智能体网络在遭受涉及错误信息、偏见和有害信息的攻击时出现的若干关键现象,将其称为智能体幻觉(Agent Hallucination)与聚合安全性(Aggregation Safety)。此外,我们发现高度连通的网络更容易受到对抗性攻击的传播影响,星形图拓扑(Star Graph Topology)中的任务性能下降了29.7%。同时,我们提出的静态指标比传统图论指标更贴近真实世界的动态评估结果,表明与攻击者平均距离更大的网络表现出更强的安全性。总之,我们的工作为基于LLM的多智能体网络安全性引入了新的拓扑视角,并发现了若干此前未被报告的现象,为未来探索此类网络的安全性研究铺平了道路。

英文摘要:

Large language models (LLMs) have empowered nodes within multi-agent networks with intelligence, showing growing applications in both academia and industry. However, how to prevent these networks from generating malicious information remains unexplored with previous research on single LLM's safety be challenging to transfer. In this paper, we focus on the safety of multi-agent networks from a topological perspective, investigating which topological properties contribute to safer networks. To this end, we propose a general framework, NetSafe along with an iterative RelCom interaction to unify existing diverse LLM-based agent frameworks, laying the foundation for generalized topological safety research. We identify several critical phenomena when multi-agent networks are exposed to attacks involving misinformation, bias, and harmful information, termed as Agent Hallucination and Aggregation Safety. Furthermore, we find that highly connected networks are more susceptible to the spread of adversarial attacks, with task performance in a Star Graph Topology decreasing by 29.7%. Besides, our proposed static metrics aligned more closely with real-world dynamic evaluations than traditional graph-theoretic metrics, indicating that networks with greater average distances from attackers exhibit enhanced safety. In conclusion, our work introduces a new topological perspective on the safety of LLM-based multi-agent networks and discovers several unreported phenomena, paving the way for future research to explore the safety of such networks.

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

↑