Abstract
Three major challenges in reinforcement learning are the complex dynamical systems with large state spaces, the costly data acquisition processes, and the deviation of real-world dynamics from the training environment deployment. To overcome these issues, we study distributionally robust Markov decision processes with continuous state spaces under the widely used Kullback-Leibler, chi-square, and total variation uncertainty sets. We propose a model-based approach that utilizes Gaussian Processes and the maximum variance reduction algorithm to efficiently learn multi-output nominal transition dynamics, leveraging access to a generative model (i.e., simulator). We further demonstrate the statistical sample complexity of the proposed method for different uncertainty sets. These complexity bounds are independent of the number of states and extend beyond linear dynamics, ensuring the effectiveness of our approach in identifying near-optimal distributionally-robust policies. The proposed method can be further combined with other model-free distributionally robust reinforcement learning methods to obtain a near-optimal robust policy. Experimental results demonstrate the robustness of our algorithm to distributional shifts and its superior performance in terms of the number of samples needed.
Introduction
Reinforcement Learning (RL) has demonstrated remarkable success in controlled environments, yet it frequently struggles with the "sim-to-real" gap. Agents trained in high-fidelity simulators often fail when deployed in the physical world due to subtle mismatches in dynamics, such as varying friction, mass, or external perturbations.
To address this, researchers have turned to Distributionally Robust Markov Decision Processes (RMDPs). Unlike standard RL, which optimizes for a single nominal environment, RMDPs train agents to perform optimally across an uncertainty set of possible environments. However, traditional RMDP methods face two significant hurdles: they rarely scale to continuous state spaces (often relying on tabular representations) and they typically require prohibitive amounts of data to characterize environment dynamics. This paper introduces a framework that bridges these gaps using a sample-efficient, model-based approach.
Methodology
The proposed framework decomposes the robust learning problem into three distinct modules designed for efficiency and scalability.
1. Learning the Nominal Model via MVR
Rather than relying on random exploration, which is inefficient in high-dimensional continuous spaces, we utilize Gaussian Processes (GPs) to model the transition dynamics. To minimize the number of simulator queries, we employ the Maximum Variance Reduction (MVR) algorithm. This active learning strategy identifies state-action pairs where the model's uncertainty is highest and queries the simulator specifically at those points.
2. Constructing the Robust Policy
Once a nominal model $\hat{f}_n$ is established, we define an uncertainty set around it using statistical divergence measures such as Kullback–Leibler (KL), $\chi^2$ distance, or Total Variation (TV). This set represents the range of potential real-world dynamics. We then apply a robust solver, such as Robust Fitted Q-Iteration (RFQI) or Robust Actor-Critic, to find a policy $\hat{\pi}_n$ that maximizes the worst-case performance across this set.
3. Theoretical Innovation
A key contribution of this work is the derivation of statistical sample complexity bounds that are independent of the number of states. By leveraging the properties of Reproducing Kernel Hilbert Spaces (RKHS), we show that the complexity of learning is tied to the "information gain" of the GP kernel rather than the volume of the state space. This provides a rigorous mathematical foundation for applying RMDPs to infinite or continuous environments.
Experimental Evaluation
We evaluated the MVR+RFQI approach on three continuous control benchmarks from OpenAI Gym: Pendulum (2D), Cartpole (4D), and Reacher (8D). To simulate real-world deployment challenges, we introduced perturbations such as modified pendulum lengths and joint stiffness that were absent during the training phase.
Key Findings:
- Sample Efficiency: In the Pendulum task, our method achieved optimal performance with only 60 simulator interactions. In comparison, the popular model-free algorithm Soft Actor-Critic (SAC) required 10,000 interactions to reach a similar baseline.
- Robustness to Distributional Shift: When environment parameters were shifted by up to 50%, the MVR+RFQI agent maintained stable performance, whereas non-robust baselines (standard FQI and SAC) experienced significant performance degradation.
- Model Accuracy: The GP-based model learning was sufficiently accurate that the resulting policies performed nearly as well as those trained with full knowledge of the ground-truth nominal dynamics.
Conclusion
This research presents a scalable path forward for robust RL in continuous domains. By combining the active learning capabilities of MVR with the theoretical strengths of RMDPs, we can train agents that are both sample-efficient and resilient to the sim-to-real gap. Future work will explore extending these bounds to finite-horizon settings and addressing the $O(N^3)$ computational complexity inherent in standard Gaussian Process regression.
Summary updated