On the Second-Order Convergence of Biased Policy Gradient Algorithms

Siqiao Mu, Diego Klabjan

Introduction

In reinforcement learning (RL), objective functions are notoriously non-convex, meaning algorithms can easily get trapped in saddle points—regions where the gradient is zero but the objective is not maximized. To truly optimize a policy, an algorithm must reach a second-order stationary point, effectively escaping these saddles.

While prior theoretical work has shown that unbiased stochastic gradient descent can escape saddle points, real-world RL implementations are inherently biased. For instance, vanilla policy gradient (PG) relies on truncated, finite-horizon trajectories, and actor-critic methods use approximated value functions. This paper bridges the gap between idealized theory and practical engineering by providing the first theoretical guarantee that common, biased RL algorithms can successfully escape saddle points to find local maxima.

Methodology

As a theoretical paper, the authors focus on mathematical proofs and convergence rates rather than empirical benchmarks. They provide a novel second-order analysis for two primary settings:

  1. Biased Vanilla PG: Analyzing the GPOMDP estimator using Monte-Carlo sampling of trajectories with a fixed, finite horizon $H$.
  2. Double-Loop Actor-Critic: Examining an algorithm where an "inner loop" uses TD(0) learning with linear function approximation to update the critic, while the "outer loop" updates the actor (policy).

To ground this analysis in realistic conditions, the authors also tackle a critical sub-problem: proving the convergence of TD(0) on non-stationary Markov chains. Most prior proofs assume the environment is already in a steady state before learning begins, an assumption that rarely holds in practice since the policy constantly evolves.

Key Insights and Theoretical Results

Controlling the Bias

The core insight of the paper is that bias does not need to be zero; it merely needs to be controllable. The authors demonstrate that if the trajectory horizon $H$ is sufficiently long and the inner-loop critic updates are adequate, the bias becomes small enough that the inherent noise in the stochastic gradient can push the parameters away from saddle points. They leverage the "correlated negative curvature" condition, showing that as long as the gradient noise has a component pointing downhill from a saddle point, the algorithm will eventually escape.

Robustness of TD(0)

The authors prove that TD(0) converges even without starting in a stationary distribution. For a Markov chain with exponential mixing, the algorithm converges at a rate of $O(1/\sqrt{K}) + O(1/K)$, where $K$ is the number of timesteps. This side-contribution makes actor-critic theory significantly more applicable to real-world agent behavior.

Sample Complexity Bounds

The paper establishes specific sample complexities to guarantee the algorithm reaches an $\epsilon$-second-order stationary point:

  • Vanilla PG: Reaches the target in $\tilde{O}(\epsilon^{-6.5})$ iterations, a notable improvement over some previous unbiased estimates (which required up to $O(\epsilon^{-9})$).
  • Actor-Critic: Reaches the target in $\tilde{O}(\epsilon^{-6.5})$ outer iterations, provided the inner loop runs for $\tilde{O}(\epsilon^{-8})$ steps.

Limitations and Future Directions

While this work provides a strong theoretical foundation for biased policy gradients, several avenues remain for future research:

  • Linear Function Approximation: The actor-critic analysis assumes the critic uses linear function approximation. While mathematically tractable, modern RL relies heavily on deep neural networks. Extending these proofs to non-linear function approximation remains a major open challenge.
  • Double-Loop Structure: The analysis focuses on a strict double-loop setup (fully updating the critic before updating the actor). In practice, popular algorithms like PPO or SAC use single-timescale or two-timescale updates where both components change simultaneously.
  • Approximation Error: The paper assumes linear realizability—that the true value function can be perfectly represented within the critic's chosen function class. Future research must explore the implications of a fundamentally limited critic that cannot perfectly approximate the value function.

Summary updated

BibTeX
@inproceedings{mu2024second,
  author = {Siqiao Mu and Diego Klabjan},
  title = {{On the Second-Order Convergence of Biased Policy Gradient Algorithms}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=RfsagmV1AG},
}
Figure