Skip to main content
QUICK REVIEW

[Paper Review] Augmented World Models Facilitate Zero-Shot Dynamics Generalization From a Single Offline Environment

Philip Ball, Cong Lu|arXiv (Cornell University)|Apr 12, 2021
Reinforcement Learning in RoboticsComputer Science55 references6 citations
TL;DR

This paper proposes Augmented World Models (AugWM), a method that enhances zero-shot dynamics generalization in offline reinforcement learning by augmenting learned dynamics with context-aware transformations. By training policies on diverse augmented dynamics and inferring the correct context at test time via self-supervised linear dynamics modeling, AugWM significantly outperforms state-of-the-art baselines—achieving success where they fail—without requiring environment rewards at test time.

ABSTRACT

Reinforcement learning from large-scale offline datasets provides us with the ability to learn policies without potentially unsafe or impractical exploration. Significant progress has been made in the past few years in dealing with the challenge of correcting for differing behavior between the data collection and learned policies. However, little attention has been paid to potentially changing dynamics when transferring a policy to the online setting, where performance can be up to 90% reduced for existing methods. In this paper we address this problem with Augmented World Models (AugWM). We augment a learned dynamics model with simple transformations that seek to capture potential changes in physical properties of the robot, leading to more robust policies. We not only train our policy in this new setting, but also provide it with the sampled augmentation as a context, allowing it to adapt to changes in the environment. At test time we learn the context in a self-supervised fashion by approximating the augmentation which corresponds to the new environment. We rigorously evaluate our approach on over 100 different changed dynamics settings, and show that this simple approach can significantly improve the zero-shot generalization of a recent state-of-the-art baseline, often achieving successful policies where the baseline fails.

Motivation & Objective

  • To address the critical gap in offline reinforcement learning where policies fail to generalize to unseen dynamics despite being trained on a single offline dataset.
  • To enable robust zero-shot transfer to new physical environments without requiring simulator access or prior knowledge of dynamics parameters.
  • To improve policy robustness by augmenting the dynamics model itself, rather than observations, during training.
  • To develop a self-supervised, reward-free context adaptation mechanism that allows policies to adapt on the fly during inference.
  • To demonstrate that dynamics augmentation within a learned world model enables significant performance gains across diverse out-of-distribution dynamics settings.

Proposed method

  • The method learns a world model from a single offline dataset, then augments the dynamics transition function with stochastic transformations that simulate changes in physical properties (e.g., mass, damping).
  • During policy training, the agent is conditioned on the augmentation context, enabling it to learn dynamics-robust behaviors across diverse simulated dynamics.
  • At test time, a self-supervised linear dynamics model is trained on real environment interactions to infer the current dynamics augmentation context.
  • The inferred context is fed to the policy at test time, allowing it to adapt its behavior within a single episode without requiring reward signals.
  • The approach operates entirely within a model-based RL framework, using uncertainty-regularized updates to stabilize training.
  • The method is applied to standard MuJoCo environments and evaluated under a wide range of out-of-distribution dynamics changes.

Experimental results

Research questions

  • RQ1Can a policy trained on a single offline dataset generalize to unseen dynamics without access to a simulator or environment parameters?
  • RQ2Does augmenting the dynamics model rather than the observation space lead to better zero-shot generalization in offline RL?
  • RQ3Can a self-supervised, reward-free context inference mechanism enable effective in-context adaptation during inference?
  • RQ4How does dynamics augmentation compare to observation-level augmentation in terms of robustness to physical property changes?
  • RQ5To what extent can a context-aware policy trained on augmented dynamics outperform SOTA offline RL methods on unseen dynamics?

Key findings

  • AugWM significantly improves zero-shot dynamics generalization across 100+ different dynamics settings, outperforming a state-of-the-art baseline (MOPO) in nearly all cases.
  • On the HalfCheetah environment, AugWM achieved higher cumulative returns than MOPO under both mass and damping scale changes, with performance recovering after context inference.
  • In the Walker2d environment, AugWM maintained stable performance under mass and damping changes, while MOPO failed entirely in several settings.
  • On the crippled-leg Ant environment, the MOPO agent flipped over and failed, whereas the AugWM agent successfully adapted and completed the task.
  • The method achieved successful policy deployment in real-world-like dynamics shifts without requiring test-time rewards or environment access.
  • The self-supervised context inference mechanism enabled effective adaptation within a single episode, demonstrating robustness to distribution shift in dynamics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.