CHASE:利用强化学习进行对抗性红蓝队训练以提高LLM安全性
CHASE: Adversarial Red-Blue Teaming for Improving LLM Safety using Reinforcement Learning
AI总结:
提出CHASE框架,通过红蓝队协同进化(红队使用GRPO生成对抗性改写,蓝队使用两阶段GRPO+拒绝采样SFT进行防御),在保持良性提示零误拒的同时将攻击成功率降低43.2%。
摘要:
尽管在安全对齐方面取得了进展,但提示改写攻击(如角色调制、虚构框架和基于说服的重述)仍能绕过前沿模型的安全过滤器。现有防御要么依赖不可扩展的人工策展,要么依赖对特定模型内部过拟合的白盒优化,使对齐模型在面对部署中自适应黑盒对手时变得脆弱。为弥补这一差距,我们提出CHASE(通过对抗性安全升级的协同进化硬化),一种闭环红蓝队框架,其中黑盒攻击者和安全对齐防御者协同进化。攻击者通过组相对策略优化(GRPO)在乘法奖励下训练,该奖励联合强制绕过有效性和意图保真度,而防御者则通过两阶段GRPO+拒绝采样SFT流程在收获的对抗性改写上进行硬化,并与良性数据平衡。在BeaverTails和JailbreakBench上针对五个保留攻击家族(PAIR、TAP、AutoDAN、PAP、Translation)进行评估,CHASE将平均StrongREJECT分数降低了43.2%,且良性提示零误拒。除了这一显著结果外,CHASE表明无模板的RL探索能够恢复跨机制不同攻击家族迁移的潜在攻击原语,这为LLM安全硬化提供了一条超越当前对抗训练狭窄分布的泛化路径。
英文摘要:
Despite advances in safety alignment, prompt-rewriting attacks such as persona modulation, fictional framing and persuasion-based reformulation, can bypass safety filters even on frontier models. Existing defenses either rely on non-scalable human curation or white-box optimisation that overfits to specific model internals, leaving aligned models brittle against the very class of adaptive black-box adversaries they will face in deployment. To address this gap, we introduce CHASE (Co-evolutionary Hardening through Adversarial Safety-Escalation), a closed-loop red-blue teaming framework in which a black-box attacker and a safety-aligned defender co-evolve. The attacker is trained via Group Relative Policy Optimization (GRPO) under a multiplicative reward that jointly enforces bypass effectiveness and intent fidelity, while the defender is hardened on the harvested adversarial rewrites through a two-stage GRPO + rejection-sampled SFT pipeline balanced with benign data. Evaluated on BeaverTails and JailbreakBench against five held-out attack families (PAIR, TAP, AutoDAN, PAP, Translation), CHASE cuts mean StrongREJECT score by 43.2\% with 0\% false-refusal on benign prompts. Beyond the headline result, CHASE shows that template-free RL exploration recovers latent attack primitives that transfer across mechanistically distinct attack families, suggesting a path toward LLM safety hardening that generalises beyond the narrow distributions achieved thus far in adversarial training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。