Long-Horizon Rollout via Dynamics Diffusion for Offline Reinforcement Learning
Hanye Zhao, Xiaoshen Han, Zhengbang Zhu, Minghuan Liu, Yong Yu, Weinan Zhang
TL;DR
This paper addresses the challenge of generating long-horizon, policy-consistent rollouts in offline RL by decoupling diffusion models from the learning policy. It introduces Dynamics Diffusion (DyDiff), which uses diffusion models as long-horizon rollout synthesizers initialized by a policy-consistent, single-step dynamics rollout and then iteratively refines trajectories with the learning policy, controlled by reward-based filtering. The authors provide theoretical bounds showing non-autoregressive DM rollouts bound the return error more tightly than autoregressive single-step models, and they demonstrate empirical improvements across D4RL MuJoCo and Maze2d benchmarks when DyDiff is used as an add-on to existing model-free offline RL methods. The work highlights the importance of policy-mismatch-aware data generation and offers a practical, scalable approach to leverage diffusion models for offline policy improvement.
Abstract
With the great success of diffusion models (DMs) in generating realistic synthetic vision data, many researchers have investigated their potential in decision-making and control. Most of these works utilized DMs to sample directly from the trajectory space, where DMs can be viewed as a combination of dynamics models and policies. In this work, we explore how to decouple DMs' ability as dynamics models in fully offline settings, allowing the learning policy to roll out trajectories. As DMs learn the data distribution from the dataset, their intrinsic policy is actually the behavior policy induced from the dataset, which results in a mismatch between the behavior policy and the learning policy. We propose Dynamics Diffusion, short as DyDiff, which can inject information from the learning policy to DMs iteratively. DyDiff ensures long-horizon rollout accuracy while maintaining policy consistency and can be easily deployed on model-free algorithms. We provide theoretical analysis to show the advantage of DMs on long-horizon rollout over models and demonstrate the effectiveness of DyDiff in the context of offline reinforcement learning, where the rollout dataset is provided but no online environment for interaction. Our code is at https://github.com/FineArtz/DyDiff.
