Sample Complexity of Policy Gradient Finding Second-Order Stationary Points

Long Yang, Qian Zheng, Gang Pan

Introduction

Standard policy gradient methods are foundational to modern reinforcement learning (RL). However, due to the non-concave nature of RL objectives, these methods can often get stuck in undesirable saddle points. This research provides a significant theoretical breakthrough, proving that standard policy gradient algorithms naturally escape these saddle points to find a Second-Order Stationary Point (SOSP)—effectively a local maximum. The authors establish a new sample complexity bound of $\tilde{\mathcal{O}}(\epsilon^{-4.5})$, dramatically improving upon the previous best-known bound of $\tilde{\mathcal{O}}(\epsilon^{-9})$.

The Challenge of Non-Concave Landscapes

Most existing theoretical guarantees for Policy Gradient (PG) only prove convergence to a First-Order Stationary Point (FOSP), where the gradient is zero. In a non-concave landscape, an FOSP could be a local maximum, a local minimum, or a saddle point (a plateau that curves up in some directions and down in others).

A simple MDP environment used to illustrate policy gradient dynamics.

To guarantee that an RL agent actually converges to a local maximum, the algorithm must reach an SOSP. At an SOSP, the gradient is near zero and the Hessian matrix has no significant positive eigenvalues, meaning the landscape curves downwards in all directions. This paper addresses the fundamental question of exactly how many samples are needed to guarantee this convergence.

Methodology: Decomposing the Parameter Space

The authors introduce a novel analysis technique that decomposes the parameter space into three distinct, non-intersecting regions:

  1. Non-Stationary Region: The gradient is large, and standard gradient ascent makes guaranteed progress.
  2. Around Saddle Point Region: The gradient is small, but the landscape has a direction of steep descent (a positive eigenvalue in the Hessian).
  3. Local Optimal Region: The target SOSP, where the gradient is small and no steep descent direction exists.

The core mathematical challenge is proving the algorithm doesn't stall in the second region. The authors utilize Correlated Negative Curvature (CNC) to show that the inherent variance (noise) of the stochastic policy gradient estimator naturally pushes parameter updates along the direction of escape. This means the standard REINFORCE-style policy gradient works in realistic, fixed-horizon environments without requiring algorithmic "hacks" or explicit Hessian calculations.

Key Results and Complexity Improvement

The paper proves that the sample complexity for a policy gradient to find an $(\epsilon, \sqrt{\chi})$-SOSP is $\tilde{\mathcal{O}}(\epsilon^{-4.5})$ (or $\tilde{\mathcal{O}}(\epsilon^{-9/2})$). This is a massive theoretical improvement over the prior state-of-the-art established in 2019.

Comparison of sample complexity for various policy gradient algorithms.

Key insights from this result include:

  • Noise as a Feature: Stochastic noise provides the necessary mathematical perturbation to escape saddle points automatically.
  • Stability: Once iterations fall into the local optimal region, they are mathematically guaranteed to remain there with high probability.
  • Modular Proofs: The space decomposition technique provides a framework that can be generalized to analyze other RL algorithms.

Limitations and Future Work

While $\tilde{\mathcal{O}}(\epsilon^{-4.5})$ is a major leap forward, it remains theoretically higher than the best-known bounds for finding a mere FOSP, which sit at $\mathcal{O}(\epsilon^{-3})$. Future work may focus on extending these techniques to Actor-Critic or Natural Actor-Critic frameworks, and combining SOSP analysis with variance reduction techniques (like SVRG) to potentially match FOSP complexity bounds.

Summary updated

BibTeX
@inproceedings{yang2021sample,
  author = {Long Yang and Qian Zheng and Gang Pan},
  title = {{Sample Complexity of Policy Gradient Finding Second-Order Stationary Points}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i12.17271},
}
Figure