TL;DR
The authors present Robotic World Model (RWM), a domain-agnostic neural network dynamics simulator trained via a dual-autoregressive mechanism to prevent error accumulation over extended rollouts. By coupling RWM with MBPO-PPO, they demonstrate stable policy optimization over 100-step imagined horizons and achieve zero-shot transfer onto physical ANYmal D quadruped hardware without domain-specific inductive biases.
What Problem Does This Paper Address?
Model-based reinforcement learning (MBRL) promises high sample efficiency by letting robots learn policies inside a simulated "imagination" provided by a learned world model. However, deploying MBRL to real-world, contact-rich robot dynamics (e.g., legged locomotion or multi-finger manipulation) faces severe roadblocks:
- Compounding Prediction Errors: Standard models trained with single-step teacher forcing diverge rapidly during autoregressive rollouts.
- Contact Discontinuities & Partial Observability: Abrupt contact dynamics make first-order gradient propagation (like SHAC) chaotic, while unobserved states cause model hallucination.
- Reliance on Handcrafted Biases: Prior successful models frequently rely on domain-specific mechanics (e.g., foot-placement dynamics or rigid-body formulations), hurting generality across different morphologies.
Methods
- Dual-Autoregressive Mechanism:
- Inner Autoregression: A 2-layer GRU (256 hidden units) iteratively updates its hidden states through an $M$-step historical window ($M=32$) of observation-action pairs to handle partial observability.
- Outer Autoregression: Instead of pure teacher forcing ($N=1$), training unrolls the model autoregressively across an $N$-step prediction horizon ($N=8$). Predicted states $\mathbf{o}'_{t+k}$ are re-injected as inputs to subsequent prediction steps using the reparameterization trick, aligning training and test distributions.
- Privileged Auxiliary Targets: RWM predicts auxiliary signals such as knee/foot contacts and collision-based environment terminations. This encourages the latent state to internalize contact events without enforcing analytical physics.
- MBPO-PPO: Extends Model-Based Policy Optimization with PPO. Policy rollouts run entirely inside the world model's imagination for $T=100$ steps per iteration ($4\,096$ parallel imagined environments). The zeroth-order nature of PPO bypasses gradient explosion/vanishing issues caused by non-differentiable contact dynamics in first-order methods.
History (M steps) Forecast (N steps)
[ (o, a) -> (o, a) -> (o, a) ] ---> [ (o', a) ---> (o', a) ... ]
(Inner Autoregression) (Outer Autoregression)
Datasets
- Isaac Lab / Orbit Benchmark Suite: Evaluated across 15 diverse robotics environments spanning robotic manipulation and locomotion:
- Manipulation: Reach-UR10, Reach-Franka, Lift-Cube-Franka, Open-Drawer-Franka, Repose-Cube-Allegro.
- Locomotion: Unitree A1, Go1, Go2; ANYmal B, C, D; Boston Dynamics Spot; Cassie biped; Fourier GR-1/G1 and Unitree H1 humanoids.
- Hardware & Pretraining Trajectories:
- Locomotion models use pretraining datasets (e.g., 6M simulated transitions collected under randomized dynamics) to seed safe exploratory transitions.
- Hardware trajectory evaluations are collected directly from an ANYmal D quadruped at 50 Hz.
Key Insights and Ideas
- Autoregressive Exposure Beats Teacher Forcing: Teacher-forcing ($N=1$) maximizes GPU parallelization but creates severe distribution shifts at test time. Even a modest forecast horizon ($N=8$) drastically suppresses runaway error propagation during long rollouts ($100+$ steps).
- Simpler Architectures Scale Better for Autoregressive Training: While transformers are common in sequence modeling, multi-step gradient backpropagation through recurrent unrolling leads to extreme GPU memory bottlenecks. A GRU base matched recurrent state-space models (RSSM) in accuracy while remaining computationally tractable.
- Derivative-Free RL Bypasses Contact Chaos: First-order gradient MBRL (such as SHAC) fails completely on legged systems because contact switching introduces near-discontinuous dynamics, leading to wild gradients. Using PPO over world model rollouts stabilizes policy updates.
Key Results
- Autoregressive Trajectory Accuracy: RWM with autoregressive training (RWM-AR) achieved the lowest relative trajectory error ($e$) across all 15 manipulation and locomotion environments, significantly outperforming MLPs, Transformers, RSSMs, and teacher-forced GRUs (RWM-TF).
- Noise Invariance: Under Gaussian observation/action noise (scales up to 0.8), RWM maintained steady relative prediction error ($e \approx 0.5\text{--}1.0$), whereas baseline MLPs quickly diverged ($e > 2.0$).
- Training and Policy Convergence: In ANYmal D velocity tracking:
- SHAC failed to converge, resulting in high and erratic model errors ($e > 40$).
- DreamerV3 partially converged but fell short on tracking reward.
- MBPO-PPO reached ground-truth reward levels comparable to model-free PPO within 5 minutes of policy optimization.
- Sim-to-Real Hardware Deployment: Policies trained inside RWM transferred zero-shot to the physical ANYmal D robot, demonstrating stable velocity command tracking and robustness against physical pushes and terrain disturbances.
Limitations and Future Work
- Reliance on Pretraining for Locomotion: Unlike manipulation tasks, locomotion required offline pretraining on simulation data to avoid catastrophic falls early in training that corrupt the model buffer.
- Exploitation During Pure Hardware Online Learning: Directly learning online on physical hardware remains an open challenge; policies can exploit minor model optimism, causing real-world collisions ($>20$ falls per run on average without recovery policies).
- Sim-to-Real Ceiling: Although competitive ($0.90 \pm 0.04$ tracking reward on hardware vs. $0.90 \pm 0.03$ for model-free PPO), MBRL still requires careful tuning compared to unlimited high-fidelity physics simulators.
- Future Work: Integrating uncertainty-aware dynamics (e.g., ensembles or Bayesian heads) to enable safe, autonomous lifelong learning directly on physical platforms without human intervention.
Summary updated