Abstract
Reinforcement Learning (RL) often suffers from the simulation-to-reality (Sim2Real) gap, where policies trained in simulators fail in real-world environments due to model mismatch. This paper addresses this challenge by framing Robust Markov Decision Processes (RMDPs) as a two-player zero-sum game between an agent and an adversarial environment. We introduce the Robust Policy Solving (RPS) framework, which utilizes a mismatched generative model to provide the first non-asymptotic sample complexity bounds for learning robust policies. Our theoretical analysis and empirical evaluations demonstrate that RPS can find near-optimal policies that remain resilient to worst-case perturbations, overcoming the reachability issues inherent in online training.
Introduction
In high-stakes fields like autonomous driving or medical treatment, training agents directly in the real world is often impossible due to safety risks. Consequently, simulators are used for training. However, simulators are rarely perfect representations of reality. If an agent over-optimizes for a slightly inaccurate simulator, it may fail catastrophically when deployed. This paper provides a rigorous mathematical framework and the first non-asymptotic sample complexity bounds for learning robust policies using an imperfect simulator.
Standard RL assumes the training and testing environments are identical. When they differ—a situation called domain mismatch—the learned policy often degrades. Robust MDPs (RMDPs) attempt to solve this by finding a policy that performs well against a set of possible perturbations (the "worst-case" scenario). Prior research in RMDPs faced two major gaps: the reachability problem, where online agents might miss critical states that only appear in the real world, and a lack of theoretical guidance on sample complexity from mismatched simulators.
Methodology: Robust Policy Solving (RPS)
The authors propose a method called Robust Policy Solving (RPS) that decouples environment estimation from policy optimization through four key components:
- Generative Model Sampling: Instead of learning through online trajectories, RPS assumes access to a generative model (a simulator where any state-action pair $(s, a)$ can be queried). This bypasses the reachability problem by allowing the agent to "teleport" to any part of the state space.
- Game-Theoretic Re-formulation: The RMDP is cast as a two-player zero-sum game. The agent (Player 1) tries to maximize expected reward, while an adversary (Player 2) picks the worst-case transition dynamics within a constrained set to minimize it.
- The "Plug-in" Solver: An empirical model is built from simulator samples, and a Nash Equilibrium (NE) solver is applied. The resulting Nash strategy for the agent is the robust policy.
- Lipschitz Assumption: To handle complex perturbations, a Lipschitz condition is introduced, ensuring that if the estimated simulator is close to the true simulator, the resulting robust policy remains stable.
Experimental Evaluation
Synthetic MDP Design
To demonstrate the reachability problem, the authors designed a synthetic 2-layer MDP. In this environment, certain states are unreachable in the simulator but contain critical "traps" or "rewards" that only manifest under real-world perturbations.
Performance Comparison
The RPS method was compared against standard RL (OPT) and existing online robust methods like RQ-Learning and RSARSA. As the maximal perturbation increases, standard and online methods see their performance plummet, whereas RPS maintains a stable expected reward and low error.
Key Results and Theoretical Bounds
The paper provides the first non-asymptotic sample complexity bounds for this setting. For a general perturbation with Lipschitz constant $\lambda$, the number of samples $N$ needed to find an $\epsilon$-optimal robust policy is:
$$N \geq \tilde{O}\left(\frac{(1 + \lambda)^2 S^2 A H^4}{\epsilon^2}\right)$$
Where $S$ is the number of states, $A$ is the number of actions, and $H$ is the time horizon. For specific "Pair-Wise Constraints" where perturbations are independent for each state-action pair, the authors improved this bound significantly, making it comparable to the complexity of solving a standard, non-robust MDP.
Conclusion
This work establishes a theoretical foundation for robust RL using mismatched simulators. By treating robustness as a game and leveraging generative models, the RPS framework provides guaranteed performance even under worst-case domain mismatch. Future work includes extending these tabular guarantees to Deep RL using function approximation and addressing the computational overhead of solving Nash Equilibria in massive state spaces.
Summary updated