atlas

Research map / Reinforcement learning / RL from feedback

Stepwise Alignment for Constrained Language Model Policy Optimization

NeurIPS 2024 · Reinforcement learning › RL from feedback · approach: Reward modeling versus direct optimization · 2 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 SACPO, a stepwise alignment method that first aligns an LLM to reward and then realigns it to safety with DPO/KTO (plus P-SACPO via model merging), with theoretical optimality and safety-violation bounds, and shows gains over Safe RLHF on Alpaca-7B.

Problem

Aligning LLMs to maximize helpfulness (reward) under a safety constraint, where Safe RLHF requires separate reward/safety models and unstable PPO-Lagrangian training.

Approach

The optimal constrained policy equals a reward-aligned policy realigned to the safety function with parameter beta/lambda*, so reward and safety can be aligned sequentially using RL-free losses (DPO, KTO) on separate datasets, with a conservative fixed multiplier and weight merging to trade off.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a first-step DPO helpfulness alignmentSACPO on Alpaca-7B · AlpacaEval helpful_base promptshelpfulnessHelped
Add a first-step KTO helpfulness alignmentSACPO on Alpaca-7B · AlpacaEval helpful_base promptshelpfulnessHelped
Add DPO safety realignment after DPO helpfulness alignmentSACPO on Alpaca-7B · Safe RLHF red-teaming promptsharmlessnessHelped
Add DPO safety realignment after KTO helpfulness alignmentSACPO on Alpaca-7B · Safe RLHF red-teaming promptsharmlessnessHelped
Replace DPO safety realignment with KTO after DPO helpfulness alignment (ablation)SACPO on Alpaca-7B · Helpfulness and harmlessness evaluationswin rate vs SFTHurt
Reverse the alignment order to safety then helpfulness (ablation)SACPO on Alpaca-7B · Helpfulness and harmlessness evaluationswin rate vs SFTNo clear effect
Use safety-then-helpfulness order with DPO at β/λ = 0.01 (ablation)SACPO on Alpaca-7B · Helpfulness and harmlessness evaluationswin rate vs SFTMixed
Vary the β/λ ratio (ablation)SACPO on Alpaca-7B · Helpfulness and harmlessness evaluationshelpfulness-harmlessness trade-offHelped
Merge the helpfulness-aligned and conservatively safety-realigned policiesP-SACPO on Alpaca-7B · Helpfulness and harmlessness evaluationswin rate vs SFTHelped

Surprising findings

Limitations

Experimental setup

Datasets: PKU-SafeRLHF AlpacaEval helpful_base prompts Safe RLHF red-teaming prompts

Benchmarks: AlpacaEval helpful_base (129 prompts) Safe RLHF red-teaming prompts (83 prompts)

Metrics: win rate against SFT model Elo score

Baselines: Safe RLHF (beaver-7b-v1.0) Safe RLHF (beaver-7b-v2.0) Safe RLHF (beaver-7b-v3.0) SFT model naive linear merging

Builds on: DPO KTO Safe RLHF PPO-Lagrangian linear model merging

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