Bridging the Gap between Newton-Raphson Method and Regularized Policy Iteration

Zeyang Li, Chuxiong Hu, Yunan Wang, Guojian Zhan, Jie Li, Shengbo Eben LiarXiv 2023 · DOI

Introduction

In modern Reinforcement Learning (RL), regularization techniques—such as the addition of Shannon entropy—have become standard practice to encourage exploration and stabilize training. While these methods underpin successful algorithms like Soft Actor-Critic (SAC), their theoretical convergence properties have often been treated as distinct from classical optimization. This research provides a rigorous theoretical bridge, proving that regularized policy iteration is mathematically equivalent to the Newton-Raphson method applied to a smoothed Bellman equation. This connection establishes that these algorithms enjoy not only global linear convergence but also local quadratic convergence.

The Problem: Non-Smoothness in RL

Classical Policy Iteration (PI) has long been recognized as a variant of the Newton-Raphson method. However, the standard Bellman equation utilizes a "max" operator, which is inherently non-smooth and non-differentiable. This lack of smoothness prevents the direct application of standard numerical analysis tools to prove high-order convergence rates.

Modern RL addresses this by using regularizers that effectively "smooth" the max operator. This paper investigates whether this smoothing allows RL to be treated as a classic optimization problem and determines the resulting implications for convergence speed.

Theoretical Framework

The Smoothed Bellman Equation

The authors define a version of the Bellman equation where the standard "max" operator is replaced by a "smoothed max" induced by a strongly convex regularizer. This transformation ensures the equation is differentiable, making it amenable to Newton-style analysis.

Newton-Raphson Equivalence

The core contribution of the paper is the proof that the two-step process of regularized PI—consisting of policy evaluation followed by policy improvement—is exactly equivalent to a single iteration of the Newton-Raphson method. The authors demonstrate that the Jacobian of the smoothed Bellman equation acts as a linear map that simplifies the complex Newton iteration formula into a regularized self-consistency equation.

Extension to Modified Policy Iteration (MPI)

The analysis extends to Modified Policy Iteration (MPI), where policy evaluation is performed for only a finite number of steps ($M$). The paper shows that MPI is equivalent to an "inexact" Newton method, where the linear system is solved via truncated iterations rather than an exact inversion.

Convergence Analysis

By demonstrating that the smoothed Bellman equation behaves as a vector-valued convex function with a negative Jacobian inverse, the authors derive several key convergence properties:

  1. Global Linear Convergence: Regularized PI is guaranteed to converge globally at a linear rate of $\gamma$ (the discount factor).
  2. Local Quadratic Convergence: A significant finding is that once the algorithm enters a specific neighborhood of the optimal value, the error begins to vanish quadratically. In this phase, the number of correct digits in the solution roughly doubles with each iteration.
  3. The Impact of Evaluation Steps ($M$): For MPI, the paper proves that the asymptotic convergence rate is exactly $\gamma^M$. This provides a clear mathematical justification for increasing the number of evaluation steps to accelerate convergence.

Empirical Validation

To validate these theoretical proofs, the authors conducted experiments using synthetic tabular Markov Decision Processes (MDPs). By using small-scale environments ($|S|=5, |A|=5$), they were able to precisely measure convergence rates without the interference of neural network approximation noise. The numerical results perfectly matched the theoretical predictions; for instance, with $M=50$ and $\gamma=0.8$, the observed convergence rate reached $1.43 \times 10^{-5}$ per iteration, following the predicted log-scale slope.

Limitations and Future Work

While this work provides a foundational theoretical link, it currently focuses on the tabular setting where states and actions are discrete and finite. In practical deep RL, function approximation (e.g., neural networks) introduces errors that are not yet accounted for in this pure Newton-Raphson framework. Additionally, quadratic convergence is a local property; the size of the region where this acceleration occurs depends on the strength of the regularization and the smoothing parameters. Finally, the computational cost of calculating or inverting Jacobians remains a challenge for scaling these insights to very large state spaces, suggesting a need for efficient Jacobian approximation methods in future research.

Summary updated

BibTeX
@misc{li2023bridging,
  author = {Zeyang Li and Chuxiong Hu and Yunan Wang and Guojian Zhan and Jie Li and Shengbo Eben Li},
  title = {{Bridging the Gap between Newton-Raphson Method and Regularized Policy Iteration}},
  year = {2023},
  eprint = {2310.07211},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.07211},
}
Figure