揭示对抗性提示下多智能体系统中的薄弱环节
Exposing Weak Links in Multi-Agent Systems under Adversarial Prompting
AI总结:
针对多智能体系统(MAS)在对抗性提示下的安全评估空白,提出统一可扩展框架SafeAgents及诊断指标Dharma,揭示设计选择对漏洞的影响,通过五种架构和四个数据集的研究强调安全感知设计的必要性。
摘要:
基于大语言模型(LLM)的智能体正越来越多地部署在多智能体系统(MAS)中。随着这些系统向实际应用推进,其安全性变得至关重要。现有研究主要评估单智能体的安全性,在理解多智能体设计引入的漏洞方面存在关键空白。然而,现有系统因缺乏针对MAS中独特拒绝模式的统一框架和指标而存在不足。我们提出SafeAgents,一个用于MAS细粒度安全评估的统一且可扩展框架。SafeAgents系统地揭示了计划构建策略、智能体间上下文共享和回退行为等设计选择如何影响对对抗性提示的敏感性。我们引入Dharma,一种有助于识别多智能体流程中薄弱环节的诊断指标。利用SafeAgents,我们在涵盖网络任务、工具使用和代码生成的四个数据集上,对五种广泛采用的多智能体架构(集中式、去中心化和混合变体)进行了全面研究。我们的发现表明,常见设计模式存在显著漏洞。例如,仅将原子指令委托给子智能体的集中式系统会掩盖有害目标,降低鲁棒性。我们的结果强调了MAS中安全感知设计的必要性。代码链接为https://github.com/microsoft/SafeAgents
英文摘要:
LLM-based agents are increasingly deployed in multi-agent systems (MAS). As these systems move toward real-world applications, their security becomes paramount. Existing research largely evaluates single-agent security, leaving a critical gap in understanding the vulnerabilities introduced by multi-agent design. However, existing systems fall short due to lack of unified frameworks and metrics focusing on unique rejection modes in MAS. We present SafeAgents, a unified and extensible framework for fine-grained security assessment of MAS. SafeAgents systematically exposes how design choices such as plan construction strategies, inter-agent context sharing, and fallback behaviors affect susceptibility to adversarial prompting. We introduce Dharma, a diagnostic measure that helps identify weak links within multi-agent pipelines. Using SafeAgents, we conduct a comprehensive study across five widely adopted multi-agent architectures (centralized, decentralized, and hybrid variants) on four datasets spanning web tasks, tool use, and code generation. Our findings reveal that common design patterns carry significant vulnerabilities. For example, centralized systems that delegate only atomic instructions to sub-agents obscure harmful objectives, reducing robustness. Our results highlight the need for security-aware design in MAS. Link to code is https://github.com/microsoft/SafeAgents
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。