$\textit{围攻下的智能体}$:通过优化提示攻击突破实用多智能体LLM系统
$\textit{Agents Under Siege}$: Breaking Pragmatic Multi-Agent LLM Systems with Optimized Prompt Attacks
AI总结:
针对多智能体LLM系统,提出排列不变对抗攻击,利用最大流最小费用和PIEL损失优化提示分布,在多种模型和数据集上攻击成功率提升高达7倍,并揭示现有防御失效。
摘要:
关于大型语言模型(LLM)安全性的多数讨论集中于单智能体设置,但多智能体LLM系统因其行为依赖于智能体间的通信和去中心化推理,现已产生新的对抗性风险。在本工作中,我们创新性地聚焦于攻击具有约束(如有限令牌带宽、消息传递延迟和防御机制)的实用系统。我们设计了一种$\textit{排列不变对抗攻击}$,在延迟和带宽受限的网络拓扑上优化提示分布,以绕过系统内的分布式安全机制。将攻击路径表述为$\textit{最大流最小费用}$问题,并结合新颖的$\textit{排列不变逃避损失(PIEL)}$,我们利用基于图的优化来最大化攻击成功率,同时最小化检测风险。在包括$\texttt{Llama}$、$\texttt{Mistral}$、$\texttt{Gemma}$、$\texttt{DeepSeek}$等模型以及$\texttt{JailBreakBench}$和$\texttt{AdversarialBench}$等不同数据集上的评估中,我们的方法比传统攻击性能提升高达$7\times$,暴露了多智能体系统中的关键漏洞。此外,我们证明现有防御措施(包括$\texttt{Llama-Guard}$和$\texttt{PromptGuard}$的变体)无法阻止我们的攻击,强调了迫切需要针对多智能体的特定安全机制。
英文摘要:
Most discussions about Large Language Model (LLM) safety have focused on single-agent settings but multi-agent LLM systems now create novel adversarial risks because their behavior depends on communication between agents and decentralized reasoning. In this work, we innovatively focus on attacking pragmatic systems that have constrains such as limited token bandwidth, latency between message delivery, and defense mechanisms. We design a $\textit{permutation-invariant adversarial attack}$ that optimizes prompt distribution across latency and bandwidth-constraint network topologies to bypass distributed safety mechanisms within the system. Formulating the attack path as a problem of $\textit{maximum-flow minimum-cost}$, coupled with the novel $\textit{Permutation-Invariant Evasion Loss (PIEL)}$, we leverage graph-based optimization to maximize attack success rate while minimizing detection risk. Evaluating across models including $\texttt{Llama}$, $\texttt{Mistral}$, $\texttt{Gemma}$, $\texttt{DeepSeek}$ and other variants on various datasets like $\texttt{JailBreakBench}$ and $\texttt{AdversarialBench}$, our method outperforms conventional attacks by up to $7\times$, exposing critical vulnerabilities in multi-agent systems. Moreover, we demonstrate that existing defenses, including variants of $\texttt{Llama-Guard}$ and $\texttt{PromptGuard}$, fail to prohibit our attack, emphasizing the urgent need for multi-agent specific safety mechanisms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。