atlas

Research map / Large language models / Alignment and preferences

Enhancing Safety in Reinforcement Learning with Human Feedback via Rectified Policy Optimization

NeurIPS 2025 · Large language models › Alignment and preferences · approach: Reward modeling for diverse preferences · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Rectified Policy Optimization (RePO), which replaces expected safety constraints with per-prompt critical safety constraints via a rectified penalty, and shows gains in safety alignment of Alpaca-7B and Llama3.2-3B over SafeRLHF and SACPO.

Problem

Expected safety constraints in safe RLHF for LLMs can be satisfied on average while individual prompt-response pairs remain unsafe ("safety compensation"), so the safety alignment is incomplete.

Approach

Replace the expected cost constraint with a critical constraint requiring C(x,y)<=0 for all prompt-response pairs, reformulated as a min-max problem with rectified cost {C}^+ and a non-decreasing penalty, optimized via a PPO-style actor-critic that splits batches into safe and unsafe subsets.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace expected safety constraints with critical safety constraints using RePO (ablation)Alpaca-7B · PKU-SafeRLHF testSafety rate: 90.58% -> 96.08%Helped
replace expected safety constraints with critical safety constraints using RePO (ablation)Llama3.2-3B · PKU-SafeRLHF testSafety rate: 76.74% -> 91.46%Helped
replace expected safety constraints with critical safety constraints using RePO (ablation)Alpaca-7B · PKU-SafeRLHF testHarmlessness (average cost): -12.50 -> -13.85Helped
replace expected safety constraints with critical safety constraints using RePO (ablation)Llama3.2-3B · PKU-SafeRLHF testHarmlessness (average cost): -6.92 -> -12.43Helped
replace expected safety constraints with critical safety constraints using RePO (ablation)Alpaca-7B · PKU-SafeRLHF testΔ helpfulness: -0.71 -> +1.01Helped
replace expected safety constraints with critical safety constraints using RePO (ablation)Llama3.2-3B · PKU-SafeRLHF testΔ helpfulness: -1.20 -> +0.16Mixed
replace expected safety constraints with critical safety constraints using RePO (ablation)Alpaca-7B · GPT-4 evaluationSafety rate: 51.16% -> 72.03%Helped
replace expected safety constraints with critical safety constraints using RePO (ablation)Llama3.2-3B · GPT-4 evaluationSafety rate: 45.91% -> 68.60%Helped
replace expected safety constraints with critical safety constraints using RePO (ablation)Alpaca-7B · PKU-SafeRLHF testSafety rate: 80.72% -> 96.08%Helped
replace expected safety constraints with critical safety constraints using RePO (ablation)Llama3.2-3B · PKU-SafeRLHF testSafety rate: 53.73% -> 91.46%Helped
replace expected safety constraints with critical safety constraints using RePO (ablation)Llama3.2-3B · PKU-SafeRLHF testΔ helpfulness: +2.90 -> +0.16Hurt

Surprising findings

Limitations

Experimental setup

Datasets: PKU-SafeRLHF Alpaca PhysicalSafety CoNa Controversial MaliciousInstructions

Benchmarks: PKU-SafeRLHF test set PhysicalSafety CoNa Controversial MaliciousInstructions

Metrics: helpfulness reward delta harmlessness cost safety rate GPT-4 win rate GPT-4 safety rate

Baselines: SafeRLHF SACPO

Builds on: PPO-Lagrangian Safe RLHF SACPO PPO DPO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy