Introduction
Reinforcement Learning (RL) agents often struggle when transitioning from simulated training environments to the real world due to the "sim-to-real" gap. To address this, researchers use Robust Markov Decision Processes (MDPs) to optimize policies for the worst-case scenario within a defined set of possible environments. This paper introduces a Robust Policy Mirror Descent (RPMD) algorithm specifically designed for average cost robust MDPs, achieving global convergence rates that match the best non-robust algorithms.
The Challenge: Sim-to-Real Gap and Average Cost MDPs
Most robust RL research focuses on discounted cost, which heavily prioritizes short-term rewards. However, for long-horizon tasks like network routing, supply chain management, or continuous control, average cost is a far more appropriate metric.
Solving robust average cost MDPs is notoriously difficult for two primary reasons:
- Loss of Contraction: The lack of a discount factor removes the mathematical "contraction" properties that typically simplify convergence proofs in RL.
- Non-Smooth Objectives: The objective function uses a "max" operator to find the worst-case transition kernel. This makes the cost function non-smooth and non-differentiable.
Prior to this work, no policy-based algorithms offered proven global convergence and finite iteration complexity for robust average cost MDPs with general uncertainty sets.
Methodology: Robust Policy Mirror Descent
To tackle the non-differentiability of the robust average cost, the authors bypass standard gradients and develop a novel optimization approach:
- Fréchet Sub-gradient: The authors mathematically derive the Fréchet sub-gradient for the robust average cost, which serves as a rigorous stand-in for the gradient in non-smooth optimization.
- Robust Policy Mirror Descent (RPMD): This sub-gradient is integrated into a policy mirror descent framework. The algorithm employs a dynamically weighted Bregman divergence, updating the policy for each state separately to ensure global convergence.
- Bypassing the Smoothness Assumption: Standard RL convergence proofs rely on a smooth value function—an assumption that fails here because the worst-case transition kernel changes depending on the policy. To overcome this, the authors prove that the robust average cost satisfies the Polyak-Łojasiewicz (PL) condition. This condition implies that if the sub-gradient is small, the policy is close to the global optimum. They combine this with a new lower bound on the performance difference between two policies to guarantee convergence.
Key Insights and Theoretical Guarantees
The theoretical contributions of this paper create a novel mathematical pathway for analyzing robust average-cost problems. Remarkably, adding robustness and operating in the mathematically harder average-cost setting does not degrade the theoretical convergence rate. The algorithm's efficiency matches the state-of-the-art for standard, non-robust discounted MDPs.
- Convergence Rates: With an increasing step size, the RPMD algorithm achieves a linear convergence rate in the optimality gap. With a constant step size, it converges to an $\epsilon$-optimal policy in $\mathcal{O}(1/\epsilon)$ iterations.
- General Uncertainty Sets: Unlike prior works restricted to highly specific uncertainty constraints (like $L_1$ norms or specific intervals), this framework applies broadly to general $(s,a)$-rectangular uncertainty sets, such as KL divergence.
Empirical Validation
The authors evaluated their algorithm on standard synthetic and classical RL benchmarks:
- Garnet Environments: Randomly generated synthetic MDPs used to test RL algorithms (tested on Garnet(3, 2), Garnet(5, 2), and Garnet(10, 5)).
- Recycling Robot Problem: A classic robotic application where a robot must manage its battery levels while deciding whether to search for cans, wait, or return to base to recharge.
In these simulations, the robust algorithm consistently achieved lower mean costs and tighter standard deviations compared to a standard, non-robust policy mirror descent baseline. Notably, the performance gap in favor of the robust method widened as the state space of the environments increased.
Limitations and Future Directions
The primary limitation of this work is that it operates in a model-based setting. It assumes access to an oracle capable of outputting the robust relative state-action value function ($Q^\pi_{\mathcal{P}}$) for a given policy.
The authors note that the next logical step is to design model-free policy-based algorithms for robust average cost MDPs. This advancement would enable these robust techniques to be applied to deep RL settings, where transition dynamics are entirely unknown and must be learned directly from sample trajectories.
Summary updated