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

Truly Proximal Policy Optimization

Yuhui Wang, Hao He, Xiaoyang Tan

Abstract

Proximal policy optimization (PPO) is one of the most successful deep reinforcement learning methods, achieving state-of-the-art performance across a wide range of challenging tasks. However, its objective function does not strictly enforce the proximity of policy updates, potentially leading to policy degradation. This paper introduces TR-PPO-RB, an enhanced version that uses a "rollback" mechanism and a trust-region trigger to strictly enforce policy constraints, resulting in significantly better stability and sample efficiency than the original PPO.

Introduction

In reinforcement learning, the "step size" of policy updates is critical. Updating a policy too drastically based on a single batch of data can lead to performance collapse, known as policy degradation. While Trust Region Policy Optimization (TRPO) addresses this by ensuring new policies remain within a mathematically defined "trust region," it is computationally expensive. PPO was introduced as a simpler alternative using a "clipping" objective to discourage large updates.

However, the authors demonstrate that PPO’s clipping does not guarantee that the policy stays within a safe trust region. In practice, the probability ratio between new and old policies can explode, and the KL divergence can theoretically reach infinity. This leaves PPO vulnerable to the very instability it was designed to prevent.

Methods: Truly Proximal Mechanisms

To address these flaws, the researchers propose two primary improvements to transform PPO into a "truly" proximal algorithm:

1. Rollback (PPO-RB)

Standard PPO stops the gradient from pushing the policy further once it hits a boundary (clipping). The proposed "rollback" function applies a negative incentive. If the policy moves too far, the algorithm actively pulls it back toward the previous state rather than simply ignoring the update.

Comparison of PPO clipping vs. Rollback objectives

2. Trust Region Trigger (TR-PPO)

Instead of using the probability ratio to trigger clipping, the authors use the KL divergence. This is theoretically grounded in the "Trust Region Theorem," ensuring that updates stay within a mathematically defined area of improvement.

3. The Combined Algorithm (TR-PPO-RB)

By combining these, TR-PPO-RB uses KL divergence to monitor the "distance" of the update and applies the rollback penalty whenever that distance exceeds a safe threshold ($\delta$). Unlike TRPO, which requires expensive second-order calculations, TR-PPO-RB remains a first-order optimizer, maintaining computational efficiency.

Experimental Results

The method was evaluated on continuous control benchmarks from OpenAI Gym (MuJoCo), including Hopper-v2, Walker2d-v2, and Humanoid-v2.

Stability and Sample Efficiency

The "rollback" mechanism effectively prevented the massive spikes in KL divergence seen in standard PPO, leading to a much smoother learning curve. As shown in the comparative analysis, TR-PPO-RB maintains a significantly lower and more stable maximum KL divergence compared to standard PPO across all tested environments.

Maximum KL divergence across training timesteps

Key findings include:

  • Faster Learning: TR-PPO-RB reached performance thresholds significantly faster, requiring only about 60% of the samples PPO needed for tasks like Hopper and Walker2d.
  • Higher Performance: The method achieved higher final episode rewards on 4 out of 6 MuJoCo tasks.
  • Exploration: The trust-region variants maintained higher policy entropy for longer, preventing premature convergence and encouraging diverse action exploration.
  • Computational Efficiency: Training for 1 million steps took approximately 32 minutes, significantly faster than off-policy methods like Soft Actor-Critic (SAC), which took 182 minutes.

Conclusion

TR-PPO-RB addresses the theoretical and practical shortcomings of PPO by strictly enforcing trust region constraints through a rollback mechanism. While it introduces new hyperparameters (the rollback coefficient $\alpha$ and trust region boundary $\delta$), it offers a more stable and sample-efficient alternative for on-policy reinforcement learning. Future work may explore applying these "truly proximal" properties to other components of the RL pipeline, such as value function estimation.

Summary updated

BibTeX
@inproceedings{wang2019truly,
  author = {Yuhui Wang and Hao He and Xiaoyang Tan},
  title = {{Truly Proximal Policy Optimization}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2019},
  url = {https://openreview.net/forum?id=HfYA-9ql5uZ},
}
Figure