NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Sufficiency of Off-Policyness and Soft Clipping: PPO is still Insufficient according to an Off-Policy Measure

Xing Chen, Dongcui Diao, Hechang Chen, Hengshuai Yao, Jielong Yang, Haiyin Piao, Zhixiao Sun, Bei Jiang, Yi Chang, Chang, Yi · DOI

Abstract

The popular Proximal Policy Optimization (PPO) algorithm approximates the solution in a clipped policy space. Does there exist better policies outside of this space? By using a novel surrogate objective that employs the sigmoid function (which provides an interesting way of exploration), we found that the answer is "YES", and the better policies are in fact located very far from the clipped space. We show that PPO is insufficient in "off-policyness", according to an off-policy metric called DEON. Our algorithm explores in a much larger policy space than PPO, and it maximizes the Conservative Policy Iteration (CPI) objective better than PPO during training. To the best of our knowledge, all current PPO methods have the clipping operation and optimize in the clipped policy space. Our method is the first of this kind, which advances the understanding of CPI optimization and policy gradient methods.

Introduction

Proximal Policy Optimization (PPO) has long been considered the "gold standard" for stability in reinforcement learning. Its core mechanism—"hard clipping"—prevents the agent from making excessively large updates, thereby ensuring stable training. However, this stability comes at a cost. By restricting the importance sampling (IS) ratio to a narrow window (typically ±20%), PPO may be trapping the agent in a "clipped space," preventing it from discovering significantly better policies that lie further away.

This paper introduces P3O (Preconditioned Proximal Policy Optimization), which replaces hard clipping with a sigmoidal "soft clipping" objective. This approach allows the agent to explore a much larger policy space while maintaining stability, consistently outperforming PPO across both discrete and continuous tasks.

Methodology: The Scopic Objective

The core innovation of P3O is the Scopic Objective, which replaces PPO’s hard clipping with a sigmoid function. This transition from hard to soft clipping addresses the vanishing gradient problem inherent in PPO.

Comparison of the Scopic objective (orange) vs. PPO (blue dashed) and CPI (black dash-dot). The right panel shows how the Scopic objective maintains a non-zero gradient even as the ratio $r$ increases, unlike PPO which zeros out.

Sigmoidal Soft Clipping

Instead of a hard cutoff, P3O passes the importance sampling ratio through a sigmoid function. This acts as a "soft clipper" that allows the ratio to range from zero to infinity while keeping the output within a manageable range.

Preconditioning for Exploration

The sigmoid function has a unique property: its gradient is steepest when the input is zero (i.e., when the new policy is identical to the old one). This provides a "learning rate boost" when the agent is making small changes, encouraging exploration. As the policy change grows larger, the gradient flattens out, naturally slowing down the update to maintain stability.

KL Divergence and DEON

To prevent the policy from drifting into unstable territory, P3O incorporates a Kullback–Leibler (KL) divergence penalty. Additionally, the authors introduce DEON (Deviation from On-policy), a metric to measure exactly how "off-policy" an algorithm becomes during training.

Experiments and Results

The authors evaluated P3O against five major baselines (PPO, TRPO, A2C, ACKTR, and Dual-Clip PPO) across OpenAI Gym (continuous control) and Atari (discrete) environments.

Performance comparison across six environments. P3O (red) consistently outperforms PPO (magenta) and other baselines in terms of total reward.

Key Insights

  • PPO is "Insufficiently Off-Policy": DEON measurements revealed that PPO stays very close to its current behavior. In contrast, P3O explores importance sampling ratios that are orders of magnitude larger, discovering superior policies that PPO cannot reach.
  • Superior Optimization of the CPI: Theoretically, policy gradient methods aim to maximize the Conservative Policy Iteration (CPI) objective. P3O maximizes the CPI objective more effectively than PPO in almost every environment tested.
  • Robustness: P3O demonstrated lower variance across different random seeds and was less sensitive to hyperparameters like batch size and training epochs compared to PPO.

Conclusion and Future Work

P3O advances the understanding of policy gradient methods by demonstrating that "off-policyness" is a valuable feature for exploration when managed via soft clipping. While P3O is robust, it introduces new hyperparameters like the sigmoid temperature ($\tau$) that may require tuning. Future work could involve deriving tighter theoretical convergence bounds for sigmoidal preconditioning in non-convex RL landscapes.

Code is available at https://github.com/raincchio/P3O.

Summary updated

BibTeX
@inproceedings{chen2023sufficiency,
  author = {Xing Chen and Dongcui Diao and Hechang Chen and Hengshuai Yao and Jielong Yang and Haiyin Piao and Zhixiao Sun and Bei Jiang and Yi Chang and Chang, Yi},
  title = {{The Sufficiency of Off-Policyness and Soft Clipping: PPO is still Insufficient according to an Off-Policy Measure}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i6.25864},
}
Figure