Proximal Policy Optimization (PPO) has become a staple in reinforcement learning (RL) due to its stability and ease of use. However, research presented at AAAI-23 suggests that PPO's core mechanism—clipping—may be a "gilded cage" that limits performance. The authors introduce Preconditioned Proximal Policy Optimization (P3O), which replaces hard clipping with a sigmoid-based "soft clipping" objective to allow for better exploration of the policy space.
Addressing the Clipping "Blind Spot"
In RL, off-policy learning is powerful but notoriously unstable. PPO manages this instability by clipping the importance sampling ratio ($r$), typically within a 20% window. While this prevents catastrophic updates, it also makes the algorithm "blind" to potentially superior policies located far outside this narrow range. If the optimal policy requires a large update, PPO's gradient becomes zero, effectively halting progress in that direction.
The Scopic Objective and Soft Clipping
P3O addresses this by introducing the Scopic Objective. Instead of the hard min-clip operation, it employs a sigmoid function to process the importance sampling ratio.
Key features of this approach include:
- Soft Clipping: The sigmoid function naturally maps policy changes into a bounded range without zeroing out the gradient. This allows the agent to "see" and move toward distant high-performing regions of the policy space.
- Sigmoidal Preconditioning: The objective acts as a "preconditioner" for the Conservative Policy Iteration (CPI) objective, with a temperature parameter ($\tau$) controlling the clip's steepness.
- Automatic Exploration-Exploitation: The sigmoid's gradient is steepest when the policy change is zero (on-policy) and tapers off as it moves further away, naturally balancing bold exploration with stability.
Measuring Off-Policyness: The DEON Metric
To quantify the difference, the authors introduced the DEON (maximum Deviation from On-policy learNing) metric. Their experiments showed that P3O maintains a significantly higher DEON than PPO throughout training. This confirms that P3O is more "off-policy," successfully exploring regions that PPO's clipping would have blocked.
Experimental Results
The researchers evaluated P3O against standard baselines like PPO, TRPO, and A2C across discrete Atari games (Enduro, Breakout, BeamRider) and continuous MuJoCo tasks (Ant, HalfCheetah, Walker2d).
P3O outperformed all baselines in every environment tested. The performance gap was especially notable in continuous control tasks like Walker2d and HalfCheetah. Furthermore, P3O demonstrated greater robustness to hyperparameters, performing well even with a fixed learning rate where PPO often requires decay for stability.
Conclusion
By replacing hard clipping with a soft, sigmoidal objective, P3O overcomes the "blind spots" inherent in PPO. While the increased off-policyness requires careful tuning of temperature and KL divergence parameters, the resulting performance gains and exploration capabilities suggest that soft clipping is a powerful alternative for stable, high-performance reinforcement learning.
Summary updated