TL;DR
Standard reinforcement learning algorithms often break down when real-world deployment dynamics differ even slightly from training environments. This paper introduces Robust Optimistic Policy Optimization (ROPO), the first provably efficient online algorithm for robust Markov Decision Processes (robust MDPs) that learns directly through environment interactions without requiring simulators or offline data, achieving $\mathcal{O}(\sqrt{K})$ sublinear regret.
What Problem Does This Paper Address?
In standard RL, agents assume the environment transition dynamics remain unchanged between training and deployment. In practice, dynamics shift due to modeling errors, adversarial attacks, or environmental variations. Robust MDPs address this by optimizing for the worst-case transition dynamics within a predefined uncertainty set (e.g., an $\ell_1$-ball of radius $\rho$ around a nominal model).
Prior theoretical work in robust MDPs almost exclusively assumed access to an offline dataset or a generative model (a simulator where any state-action pair can be queried at will). In a true online setting—where an agent must balance exploration and exploitation by taking actions step by step—the only existing guarantees were asymptotic. Achieving provable, sublinear regret in online robust MDPs remained an open challenge because the adversarial nature of the environment complicates optimistic exploration.
Methods
The authors introduce Robust Optimistic Policy Optimization (ROPO), which combines online policy optimization with robust exploration bonuses:
- Stochastic Policy Search over Value Iteration: Unlike standard MDPs, the optimal policy in a robust MDP (particularly under $s$-rectangular sets) can be strictly randomized. Therefore, ROPO adopts a policy optimization framework—specifically, online mirror descent with KL regularization—rather than deterministic value-based greedy updates.
- Dual Reformulation via Fenchel Conjugates: The inner minimization of the robust Bellman equation (nature choosing the worst-case transition) is difficult to optimize directly alongside empirical parameter estimation. The authors derive its Fenchel dual:
- For $(s, a)$-rectangular uncertainty, the inner problem reduces to a 1D unconstrained convex optimization problem over $\mathbb{R}$, solvable efficiently via bisection or subgradient descent.
- For $s$-rectangular uncertainty, it reduces to an $A$-dimensional convex optimization problem.
- Importantly, this dual formulation decouples empirical estimation errors of the nominal transition $\hat{P}^o$ from the perturbation radius $\rho$.
- Robust Optimism Bonus: ROPO augments the empirical robust Bellman evaluation with an exploration bonus $b_k^h(s, a) = \mathcal{O}\left((N_k^h(s, a))^{-1/2}\right)$ that compensates simultaneously for limited data coverage and the adversary's worst-case shifts.
Datasets
- Gridworld: The algorithm is evaluated on a synthetic $5 \times 5$ Gridworld environment (adapted from Sutton & Barto, 2018) containing road cells, wall obstacles, and a terminal reward cell (+1 reward).
- Nominal transitions have a success probability of $p = 0.9$, while test-time transitions are perturbed against the agent’s intended direction within $\ell_1$ radius $\rho \in \{0.1, 0.2, 0.3\}$.
- Implemented using the open-source
rlberrylibrary. No offline or real-world benchmark datasets are used.
Key Insights and Ideas
- Why Standard Value Difference Lemmas Fail: In standard MDPs, regret bounds rely heavily on the value difference lemma under a single transition kernel. In robust MDPs, the worst-case transition kernel is policy-dependent. The authors overcome this by introducing a new recursive regret decomposition conditioned on dynamically changing transition kernels.
- Decoupling Uncertainty via Duality: Estimating worst-case transitions while also constructing upper confidence bounds usually causes estimation error and perturbation bounds to couple nonlinearly. Taking the Fenchel dual places the empirical transition kernel and the uncertainty radius $\rho$ into separate terms, making bonus design straightforward.
- Recovering Non-Robust Limits: When the uncertainty radius collapses to zero ($\rho = 0$), the regret bound matches the $\tilde{\mathcal{O}}(H^2 S \sqrt{AK})$ rate established by non-robust optimistic policy optimization algorithms.
Key Results
- First Sublinear Regret Bounds:
- $(s, a)$-rectangular uncertainty: Achieves cumulative regret of: $$\mathcal{O}\left(H^2 S \sqrt{A K \log\left(\frac{SAH^2 K^{3/2}(1+\rho)}{\delta}\right)}\right)$$
- $s$-rectangular uncertainty: Achieves cumulative regret of: $$\mathcal{O}\left(S A^2 H^2 \sqrt{K \log\left(\frac{SA^2 H^2 K^{3/2}(1+\rho)}{\delta}\right)}\right)$$ (This is the first non-asymptotic policy guarantee of any kind under $s$-rectangular sets.)
- Empirical Robustness: In Gridworld experiments under $(s, a)$-perturbations ($\rho \in \{0.1, 0.2, 0.3\}$), ROPO consistently sustained higher average cumulative rewards under adversarial evaluation dynamics compared to standard, non-robust optimistic policy optimization.
Limitations and Future Work
- Strict Positivity Assumption: The analysis assumes nominal transition probabilities are strictly positive ($P_h^o(\cdot | s, a) > 0$) to carry out the dual change-of-variables, though this value cancels out in the final bound and appears to be a proof artifact.
- Interaction Model: The learning agent interacts online with the nominal environment rather than an environment that actively perturbs transitions during training (learning under fully arbitrary adversarial transitions is known to be NP-hard).
- Tabular Scope: The theoretical guarantees are currently limited to tabular MDPs and $\ell_1$-rectangular uncertainty sets. Extending the framework to Wasserstein-based uncertainty sets, continuous state spaces, and deep neural function approximation remains open.
Summary updated