A Single-Loop Robust Policy Gradient Method for Robust Markov Decision Processes

Zhenwei Lin, Chenyu Xue, Qi Deng, Yinyu Ye

TL;DR

This paper introduces SRPG (Single-loop Robust Policy Gradient), the first single-loop algorithm for solving Robust Markov Decision Processes (RMDPs) with a global optimality guarantee. By replacing slow, nested "double-loop" iterations with a streamlined primal-dual approach, the authors achieve a convergence rate of $\mathcal{O}(1/\epsilon^4)$ and demonstrate significantly faster, more stable performance in practice.

What Problem Does This Paper Address?

Standard Markov Decision Processes (MDPs) are powerful tools for sequential decision-making, but they have a critical vulnerability: they are highly sensitive to errors in the transition matrix (the model of how the environment moves from state to state). If the estimated model is even slightly inaccurate, the "optimal" policy can perform disastrously in the real world.

Robust MDPs (RMDPs) solve this by considering an "ambiguity set" of possible transition kernels and looking for a policy that performs best under the worst-case scenario. Mathematically, this is formulated as a minimax (min-max) optimization problem.

The primary challenge is that existing Policy Gradient (PG) methods for RMDPs usually rely on a double-loop structure. An outer loop updates the policy, while an inner loop solves a complex sub-problem to find the worst-case transition. This inner loop is computationally expensive and requires high accuracy to ensure the outer loop converges, making the entire process slow and prone to oscillation.

Methods

To overcome the bottleneck of nested optimization, the authors propose SRPG, which updates both the policy (primal variable) and the transition kernel (dual variable) simultaneously in a single loop.

Key technical components include:

  • Moreau-Yosida Smoothing: The algorithm uses a regularized objective function that incorporates quadratic penalty terms. This "smooths" the optimization landscape, helping to balance the primal and dual updates.
  • Exponential Averaging: SRPG maintains auxiliary variables that are exponentially averaged versions of the policy and transition kernel. This stabilizes the trajectory of the algorithm, preventing the wild oscillations common in minimax problems.
  • Gradient Dominance Property: The authors leverage a specific mathematical property of RMDPs—gradient dominance—to prove that the algorithm converges to a global optimum, even though the underlying problem is non-convex and non-concave.

Key Insights and Ideas

  • Breaking the Nested Loop: The core insight is that one does not need to solve the inner "worst-case transition" problem to high precision at every step. By updating both variables at once with appropriate smoothing, the algorithm can reach the global optimum much faster.
  • The "Regional Exponential Growth" Property: The authors discovered that the objective function grows exponentially when the policy is far from the optimal set. This explains a phenomenon often seen in experiments: the algorithm makes massive progress early on before settling into a slower $\mathcal{O}(1/\epsilon^4)$ rate as it nears the optimum.
Conceptual visualization of the convergence trajectory towards the optimal set.
  • Smoothing is the Secret Sauce: Using different regularization parameters ($r_1$ and $r_2$) for the policy and the transition kernel allows the algorithm to handle the different "speeds" at which the primal and dual variables evolve.

Key Results

The researchers evaluated SRPG using two primary benchmarks: GARNET MDPs (synthetic MDPs used to test algorithm robustness across various state/action space sizes) and an Inventory Management Problem (a classic operations research task).

  • Theoretical Guarantee: SRPG is proven to converge to a global optimum with a complexity of $\mathcal{O}(1/\epsilon^4)$.
  • Speed and Stability: In GARNET benchmarks, SRPG converged consistently across all tasks, while the double-loop counterpart (DRPG) often exhibited heavy oscillations and slower progress.
Performance comparison of SRPG and DRPG on various GARNET MDP benchmarks.
  • Efficiency: In the Inventory Management task, SRPG reached the same objective value as the double-loop method in a fraction of the time. For example, in a 500-state scenario, SRPG was roughly 9x faster than the baseline (3,737s vs 35,108s).

Limitations and Future Work

  • Rectangularity Assumptions: The analysis relies on $s$-rectangular ambiguity sets (where transitions are independent for each state). Extending this to non-rectangular sets remains a challenge.
  • Mirror Descent: The current work uses projected gradient descent. Incorporating Mirror Descent could potentially improve the convergence rate further.
  • Function Approximation: Testing SRPG with deep neural networks (Deep RL) in high-dimensional continuous spaces is a logical next step, as current experiments focus on tabular or simply parameterized settings.
  • Noise Handling: The current analysis assumes exact gradients. Real-world RL often deals with stochastic gradients, requiring further theoretical refinement.

Summary updated

BibTeX
@inproceedings{lin2024single,
  author = {Zhenwei Lin and Chenyu Xue and Qi Deng and Yinyu Ye},
  title = {{A Single-Loop Robust Policy Gradient Method for Robust Markov Decision Processes}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=VaZVZQSgTP},
}
Figure