arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.24201cs.AI
收藏

SentinelAgent:多智能体系统中基于图的异常检测

SentinelAgent: Graph-based Anomaly Detection in Multi-Agent Systems

Visa Inc.(Visa公司);George Mason University(乔治·梅奥大学)

Xu He, Di Wu, Yan Zhai, Kun Sun

AI总结:

针对多智能体系统的安全挑战,提出基于图的异常检测框架与可插拔的 SentinelAgent 监督智能体,通过动态执行图与运行时干预检测多点故障及多智能体串谋等风险。

摘要:

基于大型语言模型(LLM)的多智能体系统(MAS)的兴起带来了新的安全性与可靠性挑战。尽管这些系统在分解和协调复杂任务方面展现出巨大潜力,但它们也面临提示操纵、不安全工具使用以及智能体间协调失灵等多方面风险。现有的护栏机制仅提供部分保护(主要在输入输出层面),无法应对 MAS 中的系统性或多点故障。在本研究中,我们提出了一种专为 MAS 定制的系统级异常检测框架,将结构化建模与运行时行为监督相结合。我们的方法包含两个部分:首先,我们提出了一个基于图的框架,将智能体交互建模为动态执行图,从而在节点、边和路径层面实现语义异常检测。其次,我们引入了可插拔的 SentinelAgent,这是一个由 LLM 驱动的监督智能体,它根据安全策略和上下文推理来观察、分析并干预 MAS 的执行。通过将抽象的检测逻辑与可执行的强制措施相衔接,我们的方法不仅能检测单点故障和提示注入,还能检测多智能体串谋和潜在漏洞利用路径。我们通过两个案例研究(包括一个电子邮件助手和 Microsoft 的 Magentic-One 系统)验证了该框架,证明了其检测隐蔽风险并提供可解释根因归因的能力。本研究为更可信、可监控且安全的基于智能体的 AI 生态系统奠定了基础。

英文摘要:

The rise of large language model (LLM)-based multi-agent systems (MAS) introduces new security and reliability challenges. While these systems show great promise in decomposing and coordinating complex tasks, they also face multi-faceted risks across prompt manipulation, unsafe tool usage, and emergent agent miscoordination. Existing guardrail mechanisms offer only partial protection, primarily at the input-output level, and fall short in addressing systemic or multi-point failures in MAS. In this work, we present a system-level anomaly detection framework tailored for MAS, integrating structural modeling with runtime behavioral oversight. Our approach consists of two components. First, we propose a graph-based framework that models agent interactions as dynamic execution graphs, enabling semantic anomaly detection at node, edge, and path levels. Second, we introduce a pluggable SentinelAgent, an LLM-powered oversight agent that observes, analyzes, and intervenes in MAS execution based on security policies and contextual reasoning. By bridging abstract detection logic with actionable enforcement, our method detects not only single-point faults and prompt injections but also multi-agent collusion and latent exploit paths. We validate our framework through two case studies, including an email assistant and Microsoft's Magentic-One system, demonstrating its ability to detect covert risks and provide explainable root-cause attribution. Our work lays the foundation for more trustworthy, monitorable, and secure agent-based AI ecosystems.

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

↑