CoopGuard:基于协作代理的有状态多轮防御框架用于抵御LLM的演变攻击
CoopGuard: Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Round Attacks
AI总结:
本文提出CoopGuard,通过协作代理维护和更新内部防御状态,有效应对多轮演变攻击。实验显示其在攻击成功率、欺骗率和攻击效率上均优于现有方法。
摘要:
随着大型语言模型(LLMs)在复杂应用中的广泛应用,其对对抗性攻击的脆弱性引发了紧迫的安全问题,尤其是那些在多轮交互中演变的攻击。现有防御措施大多反应式,难以适应对手在多轮中不断优化的策略。本文提出CoopGuard,一种基于协作代理的有状态多轮LLM防御框架,通过三个专门的代理(延迟代理、诱惑代理和取证代理)进行互补的轮级策略,由系统代理协调。该框架根据不断演变的防御状态(交互历史)做出决策,并随时间协调代理。为评估演变威胁,我们引入了EMRA基准,包含5200个对抗样本,覆盖8种攻击类型,模拟逐步增加的LLM多轮攻击。实验表明,CoopGuard在攻击成功率上比现有最佳防御方法降低了78.9%,同时欺骗率提高了186%,攻击效率降低了167.9%,提供了更全面的多轮防御评估。这些结果表明,CoopGuard为多轮对抗场景中的LLM提供了稳健的保护。
英文摘要:
As Large Language Models (LLMs) are increasingly deployed in complex applications, their vulnerability to adversarial attacks raises urgent safety concerns, especially those evolving over multi-round interactions. Existing defenses are largely reactive and struggle to adapt as adversaries refine strategies across rounds. In this work, we propose CoopGuard , a stateful multi-round LLM defense framework based on cooperative agents that maintains and updates an internal defense state to counter evolving attacks. It employs three specialized agents (Deferring Agent, Tempting Agent, and Forensic Agent) for complementary round-level strategies, coordinated by System Agent, which conditions decisions on the evolving defense state (interaction history) and orchestrates agents over time. To evaluate evolving threats, we introduce the EMRA benchmark with 5,200 adversarial samples across 8 attack types, simulating progressively LLM multi-round attacks. Experiments show that CoopGuard reduces attack success rate by 78.9% over state-of-the-art defenses, while improving deceptive rate by 186% and reducing attack efficiency by 167.9%, offering a more comprehensive assessment of multi-round defense. These results demonstrate that CoopGuard provides robust protection for LLMs in multi-round adversarial scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。