PPO-Clip Algorithm Reinterpreted as Per-Sample KL Penalty

Riccardo Colletti, Robin Holzinger· June 24, 2026 View original

Summary

This paper demonstrates that the clipped surrogate gradient in Proximal Policy Optimization (PPO) is mathematically equivalent to a Kullback-Leibler (KL) surrogate with a per-sample varying coefficient. This reformulation unifies the two common PPO forms and reveals the implicit step-function penalty structure of PPO-Clip.

A new study provides a novel perspective on Proximal Policy Optimization (PPO), a cornerstone algorithm in reinforcement learning. Traditionally, PPO is understood through two distinct formulations: one using a clipped surrogate objective and another employing a Kullback-Leibler (KL) divergence penalty. This research reveals that the gradient of the clipped surrogate can be precisely reproduced by a KL surrogate where the penalty coefficient adapts for each individual sample, based on the importance ratio and advantage. This finding effectively unifies the two PPO variants, showing them to be fundamentally the same algorithm under a different mathematical lens. The reformulation highlights that PPO-Clip implicitly applies a per-sample penalty that acts as a step function at the trust region boundary, offering new avenues for generalizing and improving the algorithm's design. Empirical tests on MuJoCo benchmarks confirm that both forms yield indistinguishable training curves.

Why it matters

For AI engineers and researchers working with reinforcement learning, this unification simplifies understanding of PPO and opens new design spaces for more effective and robust policy optimization algorithms. It could lead to more principled approaches for hyperparameter tuning and algorithm generalization.

How to implement this in your domain

  1. 1Re-evaluate existing PPO implementations and hyperparameter tuning strategies in light of this unified perspective.
  2. 2Explore modifying the per-sample KL penalty shape to potentially improve PPO's performance or stability.
  3. 3Apply the insights to develop new variants of PPO that leverage the explicit per-sample penalty for specific tasks.
  4. 4Consider how this understanding impacts the choice between PPO-Clip and PPO-KL for different reinforcement learning problems.

Who benefits

RoboticsAutonomous SystemsGamingFinancial TradingLogistics

Key takeaways

  • PPO-Clip's gradient is equivalent to a KL surrogate with a per-sample varying coefficient.
  • This unifies the two common PPO formulations into a single framework.
  • PPO-Clip implicitly uses a step-function penalty at the trust region boundary.
  • The reformulation offers new directions for generalizing and improving PPO algorithms.

Original post by Riccardo Colletti, Robin Holzinger

"arXiv:2606.23932v1 Announce Type: new Abstract: Proximal Policy Optimization (PPO) is the standard policy-gradient algorithm for on-policy reinforcement learning. The literature presents it in two forms, a clipped surrogate that bounds the importance ratio between successive poli…"

View on X

Originally posted by Riccardo Colletti, Robin Holzinger on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses