Proximal Policy Optimization
A post-training regime that updates a model with clipped reinforcement-learning steps so RLHF behavior improves without each update moving too far at once.
Proximal Policy Optimization, usually shortened to PPO, is the clipped policy-update method that made early RLHF systems workable. It improves a model against reward signals, but it does so in small guarded steps because aggressive reinforcement-learning updates can damage language behavior quickly.
At a glance
Released
July 2017
Authors
John Schulman, Filip Wolski, Prafulla Dhariwal, et al.
Regime type
Training Alignment
Related modules
No related modules listed yet.
What It Is
Proximal Policy Optimization is a reinforcement-learning training regime. In language-model use, it usually appears after supervised fine-tuning, where the model samples responses, a reward model scores them, and Proximal Policy Optimization nudges the policy toward higher-reward behavior without letting one update swing too far.Why It Exists
Early RLHF pipelines needed a way to optimize against learned preference signals while keeping the language model stable. Proximal Policy Optimization was attractive because its clipped update rule is meant to limit abrupt policy shifts, which helped teams improve helpfulness or harmlessness without fully trusting raw reward maximization.How It Works
The current policy generates candidate answers, a reward model or preference-derived score judges them, and Proximal Policy Optimization compares the new policy against the old one before taking the update. The clipped objective keeps the policy ratio inside a bounded range, so the optimizer only accepts gains that do not come from moving the model too far in one step.Policy rolloutReward scoringClipped PPO updatePolicy rollout to Reward scoringReward scoring to Clipped PPO update
- LCLIP(θ)
- the clipped PPO objective for the current policy parameters
rt(θ)
- the ratio between the new policy probability and the old policy probability for sample t
At
- the advantage estimate for sample t
- ε
- the clip width that limits how far the ratio can move in one update
Et
- the average over sampled training steps t