当智能体失控:基于激活的多智能体系统恶意行为检测 When Agents Go Rogue: Activation-Based Detection of Malicious Behaviors in Multi-Agent Systems 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-07-07
👁️ 预览文献
💡 AI 中文简介
针对基于大语言模型的多智能体系统(MAS)面临的安全威胁,现有防御方法假设攻击语义明显且依赖显式交互图建模,难以应对现实中隐蔽且异步执行的攻击。本文提出AcMAS框架,通过分析本地智能体激活空间中的内部推理状态来检测恶意行为,无需依赖显式交互图,并能同步鲁棒地识别隐蔽攻击。实验表明,AcMAS在同步设置下F1达0.94(对比基线0.72),异步设置下达0.93(对比0.38),显著优于基于图的方法,且能恢复受损智能体功能而非简单隔离。
领域人工智能安全 / 多智能体系统
适合谁读需要一定专业背景(了解大语言模型、多智能体系统及安全攻防基础)
核心贡献1. 提出基于激活空间的检测框架AcMAS,无需显式交互图即可在异步环境下检测隐蔽攻击;2. 利用激活分析信号恢复受损智能体功能,而非采用破坏性的智能体隔离策略。
关键数据同步设置下F1为0.94(对比图基线0.72,提升+0.22);异步设置下F1为0.93(对比0.38,提升+0.55);在多种开源LLM骨干、攻击强度和MAS规模下均表现泛化性。
推荐理由如果你关心大模型多智能体系统的安全,这篇论文用激活分析巧妙破解了隐蔽攻击检测难题,异步场景下F1提升高达0.55,值得一读!
关键词["多智能体系统", "恶意行为检测", "激活空间分析", "大语言模型安全", "隐蔽攻击", "异步执行"]

原文摘要

查看英文原文摘要

While enabling effective collaboration on complex tasks, LLM-based Multi-Agent Systems (MAS) face critical security challenges due to vulnerabilities at the agent and interaction levels. Most existing MAS security defenses are built upon two core assumptions: semantically-explicit malicious attacks and explicit graph-based modeling of the MAS topology and agent-level interactions. In practice, real-world attacks are becoming more semantically stealthy, while MAS execution is typically asynchronous without the temporal alignment assumed by graph-based propagation models. To address these limitations, we propose AcMAS, an activation-based framework for malicious-behavior detection in MAS. By analyzing internal reasoning states in the activation space of local agents, AcMAS detects even stealthy attacks in a synchronization-robust fashion, without relying on explicit interaction graphs. Moreover, our activation analysis provides critical signals to guide AcMAS in restoring the functionality of compromised agents, rather than the disruptive agent isolation commonly used by the state-of-the-art methods. Comprehensive evaluation demonstrates that AcMAS significantly outperforms graph-based baselines against stealthy attacks, by +0.22 F1 in synchronous settings (0.94 vs. 0.72) and by +0.55 F1 in asynchronous settings (0.93 vs. 0.38), with generalization across diverse open-source LLM backbones, attack intensity, and MAS scale.