arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.19422cs.AI
收藏

AgentSafeEvo:针对大语言模型智能体安全的对抗协同进化

AgentSafeEvo: Adversarial Co-Evolution for LLM Agent Safety

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Fudan University(复旦大学);Shanghai Jiaotong University(上海交通大学);Zhejiang University(浙江大学)

Chenxu Wang, Xiaoyu Wen, Han Qi, Ziyuan Zhou, Cheng Jin, Chaochao Lu, Qiaosheng Zhang

AI总结:

AgentSafeEvo是基于攻击者-防御者博弈的协同进化强化学习框架,通过可学习性引导的任务加权提升LLM智能体对抗鲁棒性,同时保持通用能力。

摘要:

大语言模型(LLM)智能体通过与外部工具的多轮交互完成复杂任务,但用户查询、工具描述或环境观测中嵌入的恶意内容可操纵其决策并诱导不安全动作。对抗协同进化是强化LLM安全的有效方法,但现有工作主要关注语言层面安全或网页任务中的间接提示注入。本文提出AgentSafeEvo,一种基于攻击者-防御者博弈的智能体安全协同进化强化学习框架,涵盖多样任务与攻击类型。攻击者学习构建能暴露防御者工具使用弱点的对抗性智能体任务,防御者学习在这些攻击下安全完成任务。我们进一步引入可学习性引导的任务加权方法,利用任务内防御者奖励的变异性调整各任务对攻击者与防御者更新的贡献。在智能体安全与通用能力基准上的大量实验表明,该方法在提升对抗鲁棒性的同时保持了智能体的通用能力。

英文摘要:

Large language model (LLM) agents accomplish complex tasks through multi-turn interactions with external tools. However, malicious content embedded in user queries, tool descriptions, or environment observations can manipulate their decisions and induce unsafe actions. Adversarial co-evolution has emerged as an effective approach to strengthening LLM safety, but existing work primarily focuses on language-level safety or indirect prompt injection in web tasks. In this paper, we introduce AgentSafeEvo, a co-evolutionary reinforcement learning framework for agent safety built on an attacker-defender game spanning diverse tasks and attack types. The attacker learns to construct adversarial agent tasks that expose weaknesses in the defender's tool use, while the defender learns to complete tasks safely under these attacks. We further introduce learnability-guided task weighting, which uses within-task defender-reward variability to adjust each task's contribution to attacker and defender updates. Extensive experiments on agent safety and general capability benchmarks demonstrate that our method improves adversarial robustness while maintaining general agent capabilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑