Stochastic Policy Gradient Methods: Improved Sample Complexity for Fisher-non-degenerate Policies

Ilyas Fatkhullin, Anas Barakat, Anastasia Kireeva, Niao He

TL;DR

This paper introduces two new algorithms, N-PG-IGT and (N)-HARPG, that significantly lower the "sample complexity"—the amount of data needed—to find globally optimal policies in Reinforcement Learning. By cleverly using normalization, momentum, and Hessian-vector products, the authors achieve state-of-the-art theoretical bounds ($\tilde{\mathcal{O}}(\varepsilon^{-2})$) while avoiding the problematic assumptions and computational heavy-lifting required by previous methods.

Introduction: The Challenges of Policy Gradients

Policy Gradient (PG) methods are the workhorses of modern Reinforcement Learning (RL), powering successes in everything from robotics to game-playing. However, their theoretical foundations have a few notable limitations.

First, proving that these methods actually find a globally optimal policy (rather than just getting stuck at a mediocre local point) is notoriously difficult. Second, RL is inherently "non-stationary": as the policy changes, the distribution of states the agent visits also changes. To fix this "distribution shift," researchers usually rely on Importance Sampling (IS). Unfortunately, IS-based proofs often require a strong, unverifiable assumption that the variance of the IS weights remains bounded—an assumption that rarely holds in practice.

Finally, while some recent "variance-reduced" methods have improved sample efficiency, they often require massive batches of data or complex sub-routines (like solving cubic optimization problems) that make them impractical for real-world use.

Comparison of sample complexities and algorithmic requirements across various Policy Gradient methods.

Proposed Methods

The authors propose two primary algorithms designed for Fisher-non-degenerate (FND) policies—a broad class that includes the commonly used Gaussian policies for continuous action spaces.

1. N-PG-IGT (Normalized PG with Implicit Gradient Transport)

  • The Approach: It combines gradient normalization (to handle the "bumpiness" of the optimization landscape) with a look-ahead momentum scheme called Implicit Gradient Transport.
  • The Benefit: It achieves a sample complexity of $\tilde{\mathcal{O}}(\varepsilon^{-2.5})$ using only a single trajectory per iteration and zero second-order (Hessian) information.
Pseudocode for the N-PG-IGT algorithm, highlighting its single-loop and batch-free design.

2. (N)-HARPG (Hessian-Aided Recursive Policy Gradient)

  • The Approach: Instead of using Importance Sampling to fix distribution shifts, it uses a Hessian-vector product as a correction term.
  • The Benefit: This pushes the sample complexity down to $\tilde{\mathcal{O}}(\varepsilon^{-2})$, matching the best known theoretical limits. Crucially, Hessian-vector products can be computed in $O(d)$ time (linear in the number of parameters), making this much faster than traditional second-order methods.

Both algorithms are "single-loop" and "batch-free," meaning they don't need nested iterations or giant data dumps to work effectively.

Key Insights

  • Bypassing the IS Assumption: The biggest breakthrough is demonstrating that we don't need Importance Sampling to handle non-stationarity. By using second-order information (the Hessian) to "transport" gradients between iterations, we can correct for distribution shifts without the unstable variance issues of IS weights.
  • Exploiting Policy Structure: The authors leverage a property called "Fisher-non-degeneracy." This allows them to use a "relaxed weak gradient dominance" condition, which acts as the mathematical bridge to prove global optimality instead of just finding a stationary point.
  • Efficiency is King: The paper proves that you can get "second-order" benefits (faster convergence) at "first-order" costs. Because they use Hessian-vector products rather than full Hessians, the memory and computation requirements remain manageable.

Empirical Evaluation and Results

The authors evaluated their methods on several standard continuous-control benchmarks from the MuJoCo suite and OpenAI Gym, including Humanoid (a high-dimensional, challenging locomotion task), Reacher, Walker2d, Hopper, Halfcheetah, and Cartpole.

  • Theoretical Breakthrough: (N)-HARPG achieves a global $\varepsilon$-optimal policy with $\tilde{\mathcal{O}}(\varepsilon^{-2})$ samples. This is a significant jump from the $\tilde{\mathcal{O}}(\varepsilon^{-4})$ of vanilla PG and the $\tilde{\mathcal{O}}(\varepsilon^{-3})$ of previous state-of-the-art variance-reduced methods.
  • Empirical Performance: In experiments on the complex Humanoid task, N-PG-IGT outperformed other methods, reaching higher rewards faster and showing much better stability.
  • Robustness: N-PG-IGT proved to be highly robust to the choice of "step-size" (learning rate), a common pain point when deploying RL algorithms in the wild.

Limitations and Future Work

While (N)-HARPG boasts the best theoretical complexity, the authors noted that in practice, it sometimes performed worse than N-PG-IGT. This is likely because the stochastic Hessian-vector products can exhibit very high variance in complex environments.

Future research directions include:

  • Finding ways to reduce the variance of the Hessian-vector estimates.
  • Relaxing the "regularity conditions" required for the proofs to cover even more types of neural network policies.
  • Exploring how these techniques could enhance "exploration"—helping agents find good strategies in environments with sparse rewards.

Summary updated

BibTeX
@inproceedings{fatkhullin2023stochastic,
  author = {Ilyas Fatkhullin and Anas Barakat and Anastasia Kireeva and Niao He},
  title = {{Stochastic Policy Gradient Methods: Improved Sample Complexity for Fisher-non-degenerate Policies}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=3YETGC6bCF},
}
Figure