Riemannian Proximal Policy Optimization

Wei Chu(褚崴), Shijun Wang, Baocheng Zhu, Chen Li, Mingzhe Wu, James Zhang, Wei Chu, Yuan QiarXiv 2020

Authors: Baocheng Zhu, Chen Li, Mingzhe Wu, James Zhang, Wei Chu, Yuan Qi
Affiliation: Ant Financial Services Group

Introduction

Reinforcement Learning (RL) typically relies on high-capacity neural networks to represent policies. While effective, these "black-box" models often suffer from poor interpretability, optimization complexity, and extreme parameter inefficiency. This paper introduces Riemannian Proximal Policy Optimization (RPPO), an algorithm that replaces deep neural networks with geometrically-aware probabilistic models. By leveraging the mathematical structure of Riemannian manifolds, RPPO achieves competitive performance on complex control tasks with a fraction of the parameters required by standard methods like PPO or TRPO.

Problem Statement

Modern deep RL faces three primary challenges:

  1. Interpretability: Understanding the rationale behind a deep network's action selection is difficult.
  2. Optimization Complexity: High-dimensional, non-convex optimization in Euclidean space is prone to local minima and data inefficiency.
  3. Inefficiency: Many physical control problems possess low-dimensional underlying structures that do not necessitate millions of parameters.

The authors propose that acknowledging the geometric constraints of the policy parameter space—specifically the manifold of positive semidefinite (PSD) covariance matrices—allows for more effective optimization.

Methodology

RPPO represents the policy using Gaussian Mixture Models (GMMs), which offer analytical tractability and universal representation capabilities. The core innovation lies in how these models are optimized:

  • Manifold Optimization: Since GMM covariance matrices must be PSD, they reside on a Riemannian manifold. RPPO utilizes Riemannian gradients and retraction mappings to ensure updates remain within the valid parameter space.
  • Proximal Updates: Borrowing from PPO, RPPO employs a proximal operator to constrain policy updates, ensuring training stability.
  • Wasserstein Distance: The 2nd Wasserstein distance is used to measure the discrepancy between GMM policies, providing a theoretically grounded lower bound for policy improvement.

Experimental Setup

The algorithm was evaluated on three continuous-control benchmarks from the OpenAI Gym MuJoCo simulator:

  • InvertedPendulum-v2: A balance task.
  • Hopper-v2: A 2D one-legged robot locomotion task.
  • Walker2d-v2: A complex 2D bipedal walking task.

Results and Discussion

RPPO demonstrates remarkable parameter efficiency without sacrificing performance. In the Walker2d-v2 task, while standard PPO and TRPO models utilize over 40 million parameters, RPPO achieves comparable mean rewards using only 599 parameters.

Comparison of model parameters and environment dimensions across different RL algorithms.

Key Insights

  • The "Parameter Diet": The results suggest that deep neural networks are often massive over-allocations of capacity for physical control tasks.
  • Geometric Awareness: By respecting the constraints of the search space (e.g., non-negative eigenvalues for covariance matrices), the optimizer produces more stable and meaningful updates.
  • Interpretability: Visualizing the probability density of learned GMMs reveals a structured relationship between states and actions, unlike the opaque nature of deep networks.

Conclusion

RPPO offers a mathematically rigorous and highly efficient alternative to deep RL for continuous control. While it excels in vector-based state spaces, future work is needed to adapt the framework for high-dimensional inputs like raw pixels. Additionally, the framework's geometric nature provides a promising avenue for incorporating safety constraints directly into the manifold optimization process.

Summary updated

BibTeX
@misc{chu2020riemannian,
  author = {Wei Chu(褚崴) and Shijun Wang and Baocheng Zhu and Chen Li and Mingzhe Wu and James Zhang and Wei Chu and Yuan Qi},
  title = {{Riemannian Proximal Policy Optimization}},
  year = {2020},
  eprint = {2005.09195},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.09195},
}
Figure