arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.08427cs.AIcs.GTcs.LG
收藏

镜中的攻击者:通过锚定双策略自我博弈打破安全性中的自我一致性

The Attacker in the Mirror: Breaking Self-Consistency in Safety via Anchored Bipolicy Self-Play

Department of Informatics, King’s College London(伦敦国王学院信息学院);Department of Computer Science, University of Oxford(牛津大学计算机科学系);University of Sussex(Sussex大学);Institute for Decentralized AI(去中心化人工智能研究所)

Gabriele La Malfa, Emanuele La Malfa, Saar Cohen, Jie M. Zhang, Michael Luck, Michael Wooldridge, Elizabeth Black

AI总结:

本文提出锚定双策略自我博弈方法,通过训练角色特定的LoRA适配器提升安全性与参数效率,实验证明在安全基准测试中表现更优。

摘要:

自我扮演红队是改进AI安全的已知方法,其中同一模型的不同实例在零和博弈中扮演攻击者和防御者角色,即攻击者试图突破防御者。如果自我扮演收敛到纳什均衡,模型将在游戏设置下被保证安全。尽管使用相同模型进行两个角色的参数共享提高了稳定性和性能,但引入了根本的理论和架构限制。我们显示,可以达到的纳什均衡集对应于包括始终拒绝策略和 oracle-like 防御者在内的广泛行为类别,从而限制了实际应用。然后我们显示,当攻击者和防御者共享并更新相同的基模型时,动态会坍缩到自我一致性,因此攻击不会对防御者施加对抗性压力。为此,我们提出锚定双策略自我博弈,通过在冻结的基模型上训练不同的角色特定 LoRA 适配器,从而在保持稳定优化的同时通过显式角色分离保留对抗性压力。与标准自我扮演相比,我们显示参数效率提高了多达100倍,安全性和一致性相比自我扮演微调模型有所改进。我们在广泛使用的安全基准测试上评估了 Qwen2.5-{3B, 7B,14B}-IT 模型,显示了改进的鲁棒性而不损失推理能力。跨扮演实验进一步显示,我们的攻击者和防御者模型在对抗防御和安全性方面优于自我扮演。

英文摘要:

Self-play red team is an established approach to improving AI safety in which different instances of the same model play attacker and defender roles in a zero-sum game, i.e., where the attacker tries to jailbreak the defender; if self-play converges to a Nash equilibrium, the model is guaranteed to respond safely within the settings of the game. Although the parameter sharing enforced by the use of the same model for the two roles improves stability and performance, it introduces fundamental theoretical and architectural limitations. We show that the set of Nash equilibria that can be reached corresponds to a broad class of behaviours that includes trivial always refuse strategies and oracle-like defenders, thus limiting practical applicability. We then show that when attacker and defender share and update the same base model, the dynamics collapse to self-consistency, so that attacks do not enforce adversarial pressure on the defender. In response, we propose Anchored Bipolicy Self-Play, which trains distinct role-specific LoRA adapters on top of a frozen base model, thereby maintaining stable optimisation while preserving adversarial pressure through explicit role separation. In relation to standard self-play, we show up to 100x greater parameter efficiency than finetuning and consistent improvements in safety compared to self-play fine-tuned models. We evaluate on Qwen2.5-{3B, 7B,14B}-IT models across widely used safety benchmarks, showing improved robustness without loss of reasoning ability. Cross-play experiments further show that our attacker and defender models are superior to self-play in terms of adversarial defence and safety.

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

↑