arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.19218cs.CRcs.AI
收藏

对抗攻击-防御共演进用于LLM安全对齐的树组双感知搜索与优化

From Strategy Search to Policy Learning: MCTS-Guided Adversarial Co-Evolution for LLM Safety Alignment

Fudan University(复旦大学);Alibaba Group(阿里巴巴集团);Yale University(耶鲁大学);IBM Research AI(IBM人工智能研究);Indiana University(印第安纳大学)

Xurui Li, Kaisong Song

AI总结:

ACE-Safety通过树组双感知搜索与优化,共同优化攻击与防御模型,提升LLM的安全对齐能力。

摘要:

大型语言模型(LLMs)在Web服务中迅速发展,提供了前所未有的能力,同时放大了社会风险。现有工作往往专注于孤立的 jailbreak 攻击或静态防御,忽视了现实Web环境中不断演变的威胁与安全措施之间的动态相互作用。为缓解这些挑战,我们提出了ACE-Safety(对抗共演进用于LLM安全),一种新的框架,通过无缝整合两个关键创新过程共同优化攻击和防御模型:(1)组感知策略引导蒙特卡洛树搜索(GS-MCTS),高效探索jailbreak策略以揭示漏洞并生成多样化的对抗样本;(2)对抗课程树感知组策略优化(AC-TGPO),通过课程强化学习共同训练攻击和防御LLMs,利用具有挑战性的样本实现稳健的相互提升。在多个基准测试中的评估表明,我们的方法在攻击和防御方面均优于现有方法,并为开发能够可持续支持负责任AI生态系统LLMs提供了可行的路径。

英文摘要:

Large Language Models (LLMs) increasingly power web-facing applications, including conversational assistants and content services, where open user interaction exposes them to diverse safety threats and adaptive attacks. In particular, jailbreak attackers repeatedly reformulate harmful requests to bypass safety alignment. Although existing studies have concentrated on defending dynamic jailbreaks, they often retain discovered attacks as flat samples and discard information about how those attacks were found. In this paper, we introduce MACE, an MCTS-guided adversarial co-evolution framework that turns search into policy-learning signals for both an attacker and a defender. Its search component, GS-MCTS, explores multi-step compositions of rewriting operators and associates discovered attacks with empirical success frequency and path depth. Its optimization component, AC-TGPO, uses these statistics for difficulty-aware group-relative credit assignment and constructs a temporally asymmetric curriculum from current interactions, pairings between the latest attacker and preceding defender, and attacks that survive a defense update. Thus, MACE connects search structure to both within-round policy optimization and cross-round memory, rather than using MCTS only to generate attacks or treating each round as a flat adversarial dataset. Removing difficulty-aware weighting, asymmetric samples, or persistent hard samples increases defense ASR-LR by 3.7 %, 6.0 %, and 5.0 %, respectively. Across evaluated models, the resulting attacker achieves the highest ASR-LR in all six model--dataset settings, while the defender reduces average ASR-LR from 11.9 % for the best baseline to 8.8 %.

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

↑