A Cubic-regularized Policy Newton Algorithm for Reinforcement Learning

Mizhaan Prajit Maniyar, Prashanth L. A., Akash Mondal, Shalabh Bhatnagar

Introduction

Reinforcement Learning (RL) typically relies on Policy Gradient (PG) methods like REINFORCE or Actor-Critic. While effective, these first-order methods only guarantee convergence to first-order stationary points (FOSP), where the gradient is zero. In the non-convex landscapes typical of RL value functions, such points are often saddle points rather than local maxima. Escaping these "traps" requires second-order information (the Hessian), which is traditionally difficult to estimate and computationally expensive in model-free settings where transition dynamics are unknown.

Proposed Methods: CR-PN and ACR-PN

This paper introduces two variants of a Cubic-regularized Policy Newton algorithm designed to navigate these challenges:

  1. CR-PN (Exact): This algorithm uses the likelihood ratio method to estimate both the gradient and the Hessian from sample trajectories. It solves a sub-problem in each step that incorporates a cubic penalty term into the standard Newton update, ensuring stable descent even with ill-behaved Hessians.
  2. ACR-PN (Approximate): To address the computational cost of full Hessian calculation in deep learning, ACR-PN uses an efficient gradient-descent-based solver for the cubic sub-problem. It leverages Hessian-vector products, which can be computed efficiently using an "auto-grad trick" requiring only three back-propagation calls.

Theoretical Contributions

A primary contribution of this work is the theoretical guarantee of convergence to an $\epsilon$-second-order stationary point ($\epsilon$-SOSP). By targeting SOSPs, the algorithms effectively avoid saddle points. Furthermore, the paper establishes a new state-of-the-art sample complexity of $O(\epsilon^{-3.5})$, a significant improvement over previous methods.

Comparison of sample complexities for finding approximate first-order (FOSP) and second-order (SOSP) stationary points.

Empirical Evaluation

The algorithms were benchmarked against standard REINFORCE on three OpenAI Gym and MuJoCo tasks: Cart-Pole-v1, Reacher-v4, and Humanoid-v4. These tasks range from simple linear function approximation to complex 17-joint bipedal control using deep neural networks.

Performance evaluation across CartPole-v1, Reacher-v4, and Humanoid-v4 benchmarks.

In all environments, both CR-PN and ACR-PN consistently outperformed REINFORCE, achieving higher rewards with significantly fewer trajectories. The performance gap was most pronounced in the high-dimensional Humanoid-v4 task, demonstrating the practical utility of second-order information in stabilizing and accelerating learning for complex robotic behaviors.

Conclusion and Future Directions

The Cubic-regularized Policy Newton approach provides a robust framework for escaping saddle points in RL. While highly effective in simulated benchmarks, future work includes extending the analysis to infinite-horizon MDPs and integrating these updates into two-timescale actor-critic frameworks to further enhance sample efficiency in real-world robotics applications.

Summary updated

BibTeX
@inproceedings{maniyar2024cubic,
  author = {Mizhaan Prajit Maniyar and Prashanth L. A. and Akash Mondal and Shalabh Bhatnagar},
  title = {{A Cubic-regularized Policy Newton Algorithm for Reinforcement Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
}
Figure