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

TriPlay-RL:三角色自我对抗强化学习用于大语言模型安全对齐

TriPlay-RL: Tri-Role Self-Play Reinforcement Learning for LLM Safety Alignment

Peking University(北京大学);Qiyuan Tech(启元科技);University of Chinese Academy of Sciences(中国科学院大学)

Zhewen Tan, Wenhan Yu, Jianfeng Si, Tongxin Liu, Kaiqi Guan, Huiyan Jin, Jiawen Tao, Xiaokun Yuan, Duohe Ma, Xiangzheng Zhang, Tong Yang, Lin Sun

AI总结:

TriPlay-RL通过三角色自我对抗强化学习,实现LLM安全对齐的高效且可扩展范式,提升攻击有效性、安全性能和评估准确性。

摘要:

近年来,大型语言模型的安全风险日益突出,凸显了迫切需要缓解生成有毒和有害内容的紧迫性。主流的LLM安全对齐范式通常采用包含三个角色的协作框架:攻击者用于对抗性提示生成,防御者用于安全防御,评估者用于响应评估。本文提出了一种闭环强化学习框架TriPlay-RL,该框架能够在几乎无需人工标注的情况下,实现三个角色之间的迭代和相互促进的协作。实验结果表明,攻击者在保持高输出多样性的同时,对抗有效性提升了20%-50%;防御者在不降低通用推理能力的情况下,安全性能提升了10%-30%;评估者通过迭代不断优化其细粒度判断能力,准确区分不安全响应、简单拒绝和有用指导。总体而言,我们的框架建立了一种高效且可扩展的LLM安全对齐范式,使在统一学习循环中实现持续共演成为可能。

英文摘要:

In recent years, safety risks associated with large language models have become increasingly prominent, highlighting the urgent need to mitigate the generation of toxic and harmful content. The mainstream paradigm for LLM safety alignment typically adopts a collaborative framework involving three roles: an attacker for adversarial prompt generation, a defender for safety defense, and an evaluator for response assessment. In this paper, we propose a closed-loop reinforcement learning framework called TriPlay-RL that enables iterative and co-improving collaboration among three roles with near-zero manual annotation. Experimental results show that the attacker preserves high output diversity while achieving a 20%-50% improvement in adversarial effectiveness; the defender attains 10%-30% gains in safety performance without degrading general reasoning capability; and the evaluator continuously refines its fine-grained judgment ability through iterations, accurately distinguishing unsafe responses, simple refusals, and useful guidance. Overall, our framework establishes an efficient and scalable paradigm for LLM safety alignment, enabling continuous co-evolution within a unified learning loop.

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

↑