Skip to content

Enhancing the safety of reinforcement learning from human feedback via Revised Policy Optimization (RePO)Enhancing Safety in Reinforcement Learning with Human Feedback via Rectified Policy Optimization

arXiv· arXiv:2410.19933· NeurIPS 2025· Xiyue Peng, Hengquan Guo, Jiawei Zhang, Dongqing Zou, Ziyu Shao, Honghao Wei, Xin Liu·Indexed by this site · 19 days ago· Originally publishedDefenses
AI summary

Researchers propose Revised Policy Optimization (RePO), which replaces the commonly used expected safety constraint with a critical safety constraint imposed on each prompt, to enhance the safety alignment of large language models. The paper points out that under the constrained Markov decision process (CMDP) framework, existing methods treat safety as an expected constraint, which gives rise to the safety compensation problem: the constraint is satisfied in expectation, but individual prompts may trade off safety, causing some responses to be overly restricted while others remain unsafe. The core of RePO is a policy update mechanism driven by the revised policy gradient, which penalizes strict safety violations on each prompt, thereby improving safety on nearly all prompts. Experiments show that RePO outperforms strong baseline methods and significantly enhances the safety alignment of LLMs.

Read originalNeurIPS 2025