Robust Reinforcement Learning for Continuous Control with Model Misspecification

Daniel J Mankowitz, Nir Levine, Rae Jeong, Abbas Abdolmaleki, Jost Tobias Springenberg, Yuanyuan Shi, Jackie Kay, Timothy Mann, Todd Hester, Martin RiedmillerOpenReview 2021

Introduction

Reinforcement Learning (RL) has demonstrated remarkable success in simulated environments. However, a significant barrier to real-world deployment is the "Sim2Real gap," where policies trained in simulation fail due to slight discrepancies in physical parameters—a phenomenon known as model misspecification. This paper introduces a framework to incorporate robustness into continuous control RL, specifically targeting the state-of-the-art Maximum a-posteriori Policy Optimization (MPO) algorithm.

The Challenge of Model Misspecification

Standard RL agents typically optimize for the expected return within a single, fixed training environment (the nominal model). This often leads to brittle policies that overfit to specific simulator dynamics. When deployed in the real world, where factors like friction, gravity, or mass may differ slightly, performance often collapses. While Domain Randomization (DR) attempts to mitigate this by training on a distribution of environments, it often results in "average" policies that may still fail in worst-case scenarios.

Methodology: Robust and Soft-Robust MPO

The authors propose Robust MPO (R-MPO), which shifts the optimization objective from expected return to worst-case expected return.

Robust Bellman Operators

The core innovation lies in the Policy Evaluation step. Instead of a standard Bellman update, the authors derive a robust entropy-regularized Bellman contraction operator. This operator considers an uncertainty set of possible transition models and performs updates based on the infimum (worst-case) transition.

Soft-Robust Objective

To address the potential over-conservatism of worst-case optimization, the authors also introduce a soft-robust objective (SRE-MPO). This approach averages over the uncertainty set, providing a middle ground between standard RL and pure robustness. Both versions utilize entropy regularization to maintain exploration and prevent premature policy collapse.

Experimental Evaluation

The framework was evaluated across nine MuJoCo domains and a high-dimensional simulated Shadow Hand task.

MuJoCo Benchmarks

In tasks such as Cartpole, Hopper, and Walker, the robust variants (RE-MPO and SRE-MPO) consistently outperformed the standard E-MPO baseline when faced with environment perturbations.

Performance comparison of standard MPO (E-MPO) vs. robust variants (RE-MPO, SRE-MPO) across three MuJoCo domains with varying environment parameters.

High-Dimensional Dexterous Manipulation

The Shadow Hand task involves rotating a cube to a target orientation, a complex problem with a 79D state space. RE-MPO demonstrated superior generalization, successfully manipulating cubes of sizes not encountered during training, whereas the standard baseline's performance degraded significantly.

Average reward for Shadow Hand cube orientation task across different environment configurations, comparing E-MPO and RE-MPO.

Key Insights

  • Adversarial Robustness: Unlike DR, which averages errors, Robust MPO acts adversarially, explicitly learning to mitigate transitions that cause failure.
  • Data Efficiency: The authors demonstrate that simply providing more data to a non-robust agent does not bridge the generalization gap; robustness must be baked into the objective.
  • Data-Driven Uncertainty: The framework can be extended to DDR-MPO, where the uncertainty set is learned from offline data, making it highly applicable to industrial settings with multiple physical systems.

Conclusion

By deriving robust and soft-robust entropy-regularized Bellman operators, this work provides a principled way to train agents that are resilient to model misspecification. The consistent improvements across diverse and high-dimensional tasks suggest that robust RL is a vital step toward bridging the gap between simulation and the real world.

Summary updated

BibTeX
@misc{mankowitz2021robust,
  author = {Daniel J Mankowitz and Nir Levine and Rae Jeong and Abbas Abdolmaleki and Jost Tobias Springenberg and Yuanyuan Shi and Jackie Kay and Timothy Mann and Todd Hester and Martin Riedmiller},
  title = {{Robust Reinforcement Learning for Continuous Control with Model Misspecification}},
  year = {2021},
  url = {https://openreview.net/forum?id=E11CLlByYV},
  howpublished = {OpenReview},
}
Figure