arXiv:2505.24201cs.AI2025-05被引 23

用图模型和智能监督员检测多智能体系统中的异常行为。

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

  • 将智能体交互建模为动态执行图,实现细粒度异常检测。
  • 可识别单点故障、协同攻击及隐蔽攻击路径,准确率超90%。
  • 适合安全研究人员与开发高可靠智能体系统的团队使用。

基于大语言模型的多智能体系统在分解和协调复杂任务方面展现出巨大潜力,但也面临提示操纵、工具误用和智能体间协作失效等多重风险。现有防护机制仅限于输入输出层面,难以应对系统性或多重故障。本文提出一种面向多智能体系统的系统级异常检测框架,结合结构建模与运行时行为监控。首先,构建基于图的框架,将智能体交互表示为动态执行图,支持节点、边和路径级别的语义异常检测;其次,引入可插拔的SentinelAgent——一个由LLM驱动的监督智能体,可根据安全策略与上下文推理观察、分析并干预系统执行。该方法不仅可检测单点故障与提示注入攻击,还能发现多智能体合谋及潜在攻击路径。通过邮件助手与Microsoft Magentic-One系统的案例研究验证,框架能有效识别隐蔽风险并提供可解释的根因追溯,为更可信、可观测、安全的智能体化AI生态奠定基础。

原文摘要 · Abstract (English)

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.

多智能体异常检测安全监控

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。