Gaussian Process Policy Optimization

Ashish Rao, Bidipta Sarkar, Tejas NarayananarXiv 2020

Abstract

Gaussian Process Policy Optimization (GPPO) is a novel reinforcement learning algorithm that enhances the popular Proximal Policy Optimization (PPO) framework with Bayesian "curiosity." By using a Gaussian Process to model the relationship between policy parameters and expected returns, the algorithm introduces an "expected improvement" bonus that drives more effective exploration in parameter space. Experimental results on robotic locomotion tasks demonstrate that GPPO often outperforms state-of-the-art methods like PPO and TRPO, suggesting that structured Bayesian exploration can effectively replace traditional entropy regularization.

Introduction

Reinforcement Learning (RL) is fundamentally a search for the optimal balance between exploration (discovering new strategies) and exploitation (refining known successful strategies). Traditional deep RL methods, such as Proximal Policy Optimization (PPO) or Trust Region Policy Optimization (TRPO), typically encourage exploration by adding stochastic noise to the agent's actions or employing "entropy regularization" to prevent the policy from collapsing into a deterministic state too early.

However, these conventional approaches face significant hurdles. Action-space noise can be highly inefficient in high-dimensional environments, and entropy regularization often fails to provide a sufficient exploration signal in tasks characterized by sparse rewards. Furthermore, standard policy gradient methods rely on local approximations of the reward surface, which can lead to conservative updates and a tendency to become trapped in local optima. GPPO addresses these challenges by shifting the focus of exploration from the action space to the parameter space (the weights of the neural network) using Bayesian principles.

Methodology

GPPO builds upon the robust foundations of PPO but integrates a Bayesian mechanism to guide exploration more intelligently. The core components of the algorithm include:

  1. Gaussian Process (GP) Modeling: The algorithm maintains a "memory" of recent policy parameters ($\theta$) and the average advantages (returns) they achieved. A Gaussian Process with a Radial Basis Function (RBF) kernel is used to learn a mapping from these high-dimensional parameters to expected returns.
  2. Expected Improvement (EI) Bonus: Rather than relying solely on the gradient of the standard PPO loss, GPPO incorporates a bonus term ($B$) derived from the Expected Improvement acquisition function. This classic Bayesian Optimization tool identifies regions in the parameter space that are either likely to yield high rewards or possess high uncertainty, thereby incentivizing the agent to explore unknown territories.
  3. Surrogate Loss Function: The training objective combines the PPO Clipped loss, a value function loss for the critic, and the GP-derived Bayesian bonus. Notably, GPPO does not utilize entropy regularization; exploration is managed entirely by the Bayesian acquisition function.
  4. Memory Management: To mitigate the computational complexity associated with GPs, the authors implement a sliding window memory of the 20 most recent parameter sets. This ensures the model remains computationally efficient while focusing on the local neighborhood of the current policy.

Experimental Setup

The algorithm was evaluated using the MuJoCo (Multi-Joint dynamics with Contact) physics engine, a standard benchmark for continuous control in RL.

A MuJoCo simulation environment used for evaluating robotic locomotion tasks.

Specifically, the researchers tested GPPO on six environments from the OpenAI Gym:

  • Ant-v2
  • HalfCheetah-v2
  • Hopper-v2
  • InvertedDoublePendulum-v2
  • InvertedPendulum-v2
  • Swimmer-v2

Results and Discussion

GPPO demonstrated performance that was either comparable to or significantly better than PPO and TRPO across several benchmarks. The structured exploration provided by the Bayesian bonus allowed the agent to navigate complex reward surfaces more effectively than simple action-space noise.

Comparative performance of GPPO, PPO, and TRPO across six MuJoCo environments.

Key performance metrics include:

  • Ant-v2: GPPO achieved a mean return of 261.8, significantly outperforming PPO (231.2) and vastly exceeding TRPO (26.3).
  • HalfCheetah-v2: GPPO reached 1119.4, compared to PPO's 1076.6.
  • InvertedDoublePendulum-v2: GPPO (1706.6) slightly edged out PPO (1695.9).

While PPO and TRPO maintained a lead in the Swimmer and Hopper environments, GPPO remained highly competitive. These results reinforce the idea that adding structured noise to the neural network's weights can lead to richer, more complex behaviors than simply jittering physical movements. Furthermore, the success of the Bayesian acquisition function suggests it is a viable alternative to traditional entropy regularization.

Conclusion and Future Work

GPPO introduces a promising framework for Bayesian exploration in deep RL. However, several areas for future refinement remain. The current 20-point memory limit is a simple heuristic; future iterations could utilize inducing points (sparse GPs) to allow the model to retain a longer history without increasing computational overhead. Additionally, the GP's performance is sensitive to fixed hyperparameters like lengthscale and noise; learning these dynamically during training could provide a significant performance boost. Finally, exploring kernels specifically designed for the hierarchical structure of deep neural networks could further enhance the algorithm's ability to model complex parameter-return relationships.

Summary updated

BibTeX
@misc{rao2020gaussian,
  author = {Ashish Rao and Bidipta Sarkar and Tejas Narayanan},
  title = {{Gaussian Process Policy Optimization}},
  year = {2020},
  eprint = {2003.01074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.01074},
}
Figure