Convergence Proof for Actor-Critic Methods Applied to PPO and RUDDER

Markus Holzleitner, Lukas Gruber, José Antonio Arjona-Medina, Johannes Brandstetter, Sepp Hochreiter · DOI

Abstract

This paper establishes the first formal convergence proofs for two prominent reinforcement learning (RL) frameworks: Proximal Policy Optimization (PPO) and RUDDER. By applying two-time-scale stochastic approximation theory, the authors demonstrate that these algorithms are mathematically guaranteed to reach local optima, even when utilizing deep neural networks and episodic sampling. This work bridges the gap between empirical success and theoretical justification in modern deep RL.

Introduction

In the field of Reinforcement Learning (RL), a significant disparity often exists between empirical performance and theoretical understanding. Algorithms such as Proximal Policy Optimization (PPO) have become industry standards for training agents in high-dimensional environments like Dota 2 and StarCraft II. However, despite their widespread adoption, these methods lacked rigorous convergence proofs.

Traditional proofs in RL theory frequently rely on restrictive assumptions, such as linear function approximation or stationary state distributions. These assumptions fail to account for the complexities of deep learning or the dynamic nature of agents that alter their behavior during training. This paper addresses these shortcomings by providing a robust mathematical foundation for PPO and RUDDER under realistic conditions.

Theoretical Framework: Two-Time-Scale Stochastic Approximation

The core of the proof lies in two-time-scale stochastic approximation theory. In an actor-critic architecture, the "critic" (responsible for value estimation) and the "actor" (responsible for policy optimization) are updated at different rates. The critic is updated on a faster time scale, allowing it to effectively "track" the current policy, while the actor is updated on a slower time scale.

The authors employ several key technical innovations to model this process:

  1. Controlled Markov Processes: They introduce a framework where environment transitions are influenced by a control variable ($z$) that manages policy greediness and trust-region constraints.
  2. The ODE Method: Discrete stochastic updates are transformed into continuous Ordinary Differential Equations (ODEs). By demonstrating that these ODEs possess stable attractors, the authors prove that the underlying algorithms converge.
  3. Smoothness Requirements: To ensure mathematical stability, the neural networks are assumed to be sufficiently smooth (at least three times continuously differentiable).

Overcoming Practical Hurdles

The research specifically tackles three major challenges that previously hindered convergence proofs for deep RL:

  • Deep Neural Networks: The proof extends to non-linear, high-complexity function approximators, moving beyond simple "toy" models.
  • Episodic Sampling: The framework handles full sequences of actions rather than simple state-to-state transitions, aligning the theory with how PPO is used in practice.
  • Increasing Greediness: A significant contribution is the proof that policies can become increasingly deterministic (greedy) over time. While optimal policies are typically deterministic, most existing proofs require "infinite exploration." This paper shows that greediness can be increased without compromising convergence.

Key Results

As a theoretical mathematics paper, the results are presented as theorems derived from first principles:

  • Theorem 1 (Main Theorem): Establishes that under specific learning rate conditions and smoothness assumptions, the general actor-critic iterative process converges to a local minimum almost surely.
  • Corollary 1 (PPO Convergence): Formally proves that both the Temporal Difference (TD) and Monte Carlo versions of PPO converge to a local optimum.
  • Corollary 2 (RUDDER Convergence): Proves that RUDDER, which utilizes LSTMs for complex reward redistribution and credit assignment, is also mathematically guaranteed to converge.

Discussion and Limitations

While this work provides a vital theoretical anchor for deep RL, several limitations remain:

  • Local vs. Global Optima: The proof guarantees convergence to a local optimum. Due to the non-convex nature of neural network loss landscapes, finding the global optimum remains an open challenge.
  • Weight Sharing: The current proof requires decoupled weights for the actor and the critic. While many practitioners use shared backbones for efficiency, this research suggests that separation provides a more stable theoretical foundation.
  • Convergence Rates: The paper proves that the algorithms converge, but does not yet specify how fast they do so.
  • Activation Functions: The requirement for three-times-differentiable functions is stricter than the standard ReLU activations commonly used in practice, suggesting a need for future work to relax these smoothness constraints.

Conclusion

By formalizing the convergence of PPO and RUDDER, this paper provides the RL community with the mathematical assurance that these popular methods are fundamentally sound. It validates the use of trust regions and complex credit assignment schemes within a convergent stochastic framework, paving the way for more rigorous developments in deep reinforcement learning.

Summary updated

BibTeX
@article{holzleitner2021convergence,
  author = {Markus Holzleitner and Lukas Gruber and José Antonio Arjona-Medina and Johannes Brandstetter and Sepp Hochreiter},
  title = {{Convergence Proof for Actor-Critic Methods Applied to PPO and RUDDER}},
  journal = {Trans. Large Scale Data Knowl. Centered Syst.},
  year = {2021},
  doi = {10.1007/978-3-662-63519-3\_5},
}
Figure