arXiv:2510.01586cs.AI2025-10被引 2

通过对抗共进化让多智能体自行学会安全,不依赖外部守卫。

AdvEvo-MARL: Shaping Internalized Safety through Adversarial Co-Evolution in Multi-Agent Reinforcement Learning

  • 让攻击者和防御者在对抗中共同进化,内部化安全能力。
  • 攻击成功率低于20%,比基线最高38.33%显著降低。
  • 无需额外守卫模块,还能提升任务准确率最多3.67%。

基于大语言模型的多智能体系统在规划、工具使用和角色协作方面表现优异,但其开放性与交互复杂性也使其易受越狱、提示注入和恶意协作攻击。现有防御方法分为两类:(i) 自验证机制,要求每个智能体在执行前预过滤不安全指令;(ii) 外部守护模块,用于监管行为。前者因单个智能体难以检测跨智能体的危险链和委托引发的风险而性能不足;后者增加系统开销并形成单点故障——一旦被攻破,全系统安全即崩溃,增加守护模块又加剧成本与复杂度。为此,我们提出AdvEvo-MARL,一种对抗共进化多智能体强化学习框架,将安全内化至任务智能体。该框架在对抗学习环境中联合优化攻击者(生成动态越狱提示)与防御者(任务智能体,在完成任务的同时抵抗攻击)。为稳定学习并促进合作,引入组内共享的均回报基准,实现更低方差更新与更强组内协调。在代表性攻击场景中,AdvEvo-MARL始终将攻击成功率(ASR)控制在20%以下,而基线最高达38.33%,同时保持甚至提升任务准确率(推理任务最高提升+3.67%)。结果表明,安全性与实用性可在不依赖额外守护模块或系统开销的前提下协同提升。

原文摘要 · Abstract (English)

LLM-based multi-agent systems excel at planning, tool use, and role coordination, but their openness and interaction complexity also expose them to jailbreak, prompt-injection, and adversarial collaboration. Existing defenses fall into two lines: (i) self-verification that asks each agent to pre-filter unsafe instructions before execution, and (ii) external guard modules that police behaviors. The former often underperforms because a standalone agent lacks sufficient capacity to detect cross-agent unsafe chains and delegation-induced risks; the latter increases system overhead and creates a single-point-of-failure-once compromised, system-wide safety collapses, and adding more guards worsens cost and complexity. To solve these challenges, we propose AdvEvo-MARL, a co-evolutionary multi-agent reinforcement learning framework that internalizes safety into task agents. Rather than relying on external guards, AdvEvo-MARL jointly optimizes attackers (which synthesize evolving jailbreak prompts) and defenders (task agents trained to both accomplish their duties and resist attacks) in adversarial learning environments. To stabilize learning and foster cooperation, we introduce a public baseline for advantage estimation: agents within the same functional group share a group-level mean-return baseline, enabling lower-variance updates and stronger intra-group coordination. Across representative attack scenarios, AdvEvo-MARL consistently keeps attack-success rate (ASR) below 20%, whereas baselines reach up to 38.33%, while preserving-and sometimes improving-task accuracy (up to +3.67% on reasoning tasks). These results show that safety and utility can be jointly improved without relying on extra guard agents or added system overhead.

多智能体安全防御对抗训练大模型

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