A ai coolAId

PPO (Proximal Policy Optimization)

In One Sentence
A clipped policy-gradient algorithm that limits how much the policy can shift in a single update, preventing catastrophic training collapse.
ELI5 (Intuition)
Don't let one lucky or unlucky game completely rewrite your entire personality overnight—only allow small, safe adjustments at each step.
ELI18 (Technical)
Maximizes the clipped surrogate objective \[L^{\text{CLIP}}(\theta) = \min\big(r_t A_t,\; \operatorname{clip}(r_t, 1-\epsilon, 1+\epsilon) A_t\big),\] where \(r_t = \frac{\pi_\theta(a_t \mid s_t)}{\pi_{\theta_{\text{old}}}(a_t \mid s_t)}\) and \(\epsilon \approx 0.2\). Enables multiple gradient epochs per batch safely.
In Practice
The workhorse algorithm behind InstructGPT/ChatGPT RLHF, OpenAI Five (Dota 2), humanoid locomotion in Isaac Gym, and most applied RL pipelines.