Preliminary Analysis on Second-Order Convergence for Biased Policy Gradient Methods

Siqiao Mu, Diego Klabjan · DOI

Introduction

Policy Gradient (PG) methods serve as the foundation for many modern Reinforcement Learning (RL) successes. However, a significant gap exists between RL theory and practice. While most theoretical guarantees assume access to unbiased gradient estimates, practical implementations are inherently biased. This bias arises from finite-horizon trajectory truncation and the use of function approximators (critics) to estimate value functions.

In "On the Second-Order Convergence of Biased Policy Gradient Algorithms," Siqiao Mu and Diego Klabjan provide the first formal proof that these biased algorithms can successfully navigate non-convex landscapes. Specifically, they demonstrate that biased PG and actor-critic methods can escape saddle points to reach second-order stationary points (local maxima).

The Challenge: Escaping Saddle Points

The objective functions in RL are typically non-convex, characterized by complex landscapes containing numerous saddle points. A saddle point is a location where the gradient is zero, but the point is not a local maximum; rather, it is a "ridge" from which the objective value could still be improved.

Standard first-order convergence analysis only ensures that an algorithm will reach a point where the gradient is zero. In practice, an agent might become trapped at a suboptimal saddle point indefinitely. Second-order convergence is required to guarantee that an agent can identify directions of curvature and escape these traps to reach a local maximum. While unbiased stochastic gradient descent is known to escape saddle points through inherent or added noise, the impact of systematic bias on this process remained an open question.

Sources of Bias in Reinforcement Learning

The authors identify and analyze two primary sources of bias that affect the gradient estimate:

  1. Horizon Truncation: In Vanilla PG (GPOMDP), we cannot sample infinite-horizon trajectories. Truncating these trajectories at a finite horizon $H$ introduces a bias relative to the true gradient of the infinite-horizon objective.
  2. Critic Approximation: In Actor-Critic frameworks, the "actor" relies on a "critic" to estimate the value function. Because the critic is an approximation (often linear), it introduces a structured bias into the policy update.

Methodology and Innovation

The research focuses on two algorithmic structures: Vanilla Biased PG and a Double-Loop Actor-Critic.

Vanilla Biased PG (GPOMDP)

The authors analyze the standard policy gradient where trajectories are truncated at a fixed horizon $H$. They prove that if $H$ is sufficiently large—specifically, growing logarithmically with respect to the desired accuracy $\epsilon$—the bias remains controlled. This control allows the stochastic noise in the sampling process to effectively "push" the algorithm away from saddle points.

Double-Loop Actor-Critic

This setup involves an inner loop that utilizes TD(0) learning to update the critic and an outer loop that updates the policy. A significant technical contribution of this work is the analysis of TD(0) on non-stationary Markov chains. Traditional proofs often assume the environment has reached a steady state (stationary distribution). However, in RL, the state distribution changes every time the policy is updated. The authors rigorously prove that TD(0) converges even under these non-stationary conditions, providing a more realistic theoretical foundation for actor-critic methods.

Theoretical Results

The paper establishes several key complexity bounds for reaching an $\epsilon$-second-order stationary point:

  • Sample Complexity: Both Vanilla PG and the Double-Loop Actor-Critic achieve a sample complexity of $\tilde{O}(\epsilon^{-6.5})$.
  • Efficiency Comparison: Interestingly, this bound for biased estimators is tighter than some previous results for unbiased estimators (which were cited at $\tilde{O}(\epsilon^{-9})$), suggesting that the structured nature of RL bias does not necessarily impede convergence speed as much as previously feared.
  • TD(0) Robustness: The authors show that TD(0) converges at a rate of $O(1/\sqrt{K})$ even with arbitrary initial state distributions and non-stationary chains.

Discussion and Limitations

While this work bridges a major gap in RL theory, several constraints remain for future exploration:

  • Linear Realizability: The analysis assumes the critic uses linear function approximation and that the true value function lies within this linear span. Extending these proofs to non-linear approximators, such as deep neural networks, is a critical next step.
  • Algorithmic Structure: The current proof relies on a "double-loop" structure where the critic is updated to near-convergence before the actor moves. Many practical algorithms use "two-timescale" updates (simultaneous updates), which require further study.
  • Approximation Error: The study assumes zero irreducible approximation error. In real-world scenarios, the inherent gap between the true value function and the best possible approximation in a given class ($\epsilon_{app}$) may affect the ability to reach true second-order stationary points.

In conclusion, Mu and Klabjan provide a foundational framework for understanding how biased RL algorithms navigate complex optimization landscapes, proving that the presence of bias does not preclude the discovery of local maxima.

Summary updated

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