NetSafe: Exploring the Topological Safety of Multi-agent Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yu, Miao, Wang, Shilong, Zhang, Guibin, Mao, Junyuan, Yin, Chenlong, Liu, Qijiong, Wen, Qingsong, Wang, Kun, Wang, Yang
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910658084208640
author Yu, Miao
Wang, Shilong
Zhang, Guibin
Mao, Junyuan
Yin, Chenlong
Liu, Qijiong
Wen, Qingsong
Wang, Kun
Wang, Yang
author_facet Yu, Miao
Wang, Shilong
Zhang, Guibin
Mao, Junyuan
Yin, Chenlong
Liu, Qijiong
Wen, Qingsong
Wang, Kun
Wang, Yang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_15686
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle NetSafe: Exploring the Topological Safety of Multi-agent Networks
Yu, Miao
Wang, Shilong
Zhang, Guibin
Mao, Junyuan
Yin, Chenlong
Liu, Qijiong
Wen, Qingsong
Wang, Kun
Wang, Yang
Multiagent Systems
Artificial Intelligence
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.
title NetSafe: Exploring the Topological Safety of Multi-agent Networks
topic Multiagent Systems
Artificial Intelligence
url https://arxiv.org/abs/2410.15686