arXiv:2610.31617cs.ROOct 2026

Manuscript Offprint

arXiv:2610.31617

DiffDreamer: Coupling World Models with Differentiable Simulation for Agile Quadrotor Control

Fanxing Li, Yuxiang Huang, Shengyang Wang, Fangyu Sun, Shuyu Wu, Tianbao Zhang, Dexin Zuo, Yan Yufei, Danping Zou, Wenxian Yu

Fanxing Li, Yuxiang Huang, Shengyang Wang, Fangyu Sun, Shuyu Wu, Tianbao Zhang, Dexin Zuo, Yan Yufei, Danping Zou, Wenxian Yu

Abstract—Tasks such as quadrotor dynamic-gate racing require agents to anticipate external motion while maintaining precise high-frequency control. World-model-based reinforcement learning (RL) provides a natural solution by learning latent dynamics for future imagination, yet it often entangles environmental evolution and the robot's own dynamics in a single learned rollout, where model bias can affect policy optimization efficiency. We propose DiffDreamer, a differentiable reinforcement learning framework that tightly couples a learned world model with differentiable simulation for actor optimization. In one optimization step, the learned world model propagates latent states that capture external dynamics and history-dependent features, while the differentiable simulator propagates the robot's explicit physical state. We further decompose the actor objective into a critic-driven pathway for non-differentiable task rewards and a simulator-driven pathway for differentiable motion rewards. Experiments on aggressive tracking and dynamic-gate racing show that DiffDreamer improves training convergence over the model-free, model-based, and differentiable-RL baselines, and final performance over these baselines and classical planning and control methods. Additional experiments assess reward decomposition and the odometry-conditioned relative-state representation through ablations. We also provide proof-of-concept real-world flight experiments for validation.

Index Terms—Differentiable Simulation, Reinforcement Learning, World Model.

I. INTRODUCTION

Many robotic tasks require agents to anticipate external environmental evolution to achieve precise control. This structure is particularly prominent in agile aerial robotics. A representative example is dynamic-gate racing with quadrotors [1]–[3], where the robot must predict the future motion of moving gates and generate accurate control commands to pass through narrow openings at high speed. Existing solutions [2] often address this challenge through modular pipelines that decouple prediction, planning, and control. Although such designs are interpretable and effective, they usually rely on task-specific engineering and optimize each module separately.

World-model-based reinforcement learning [4], [5] provides an integrated alternative. By learning compact latent dynamics from interaction, methods such as Dreamer [4] can imagine future trajectories and optimize policies in latent space. However, in agile robotic control, a learned world model often has to capture both the evolution of the external environment and the robot's high-frequency rigid-body dynamics within the same learned rollout. This entangles two sources of dynamics with different structures: the external dynamics are partially observable and history-dependent, whereas the robot's internal dynamics are often smooth and available through physical modeling. As a result, policy optimization through purely learned rollouts may suffer from model bias and less accurate gradients for precise physical control. This motivates using differentiable simulation for the robot's physical motion, so that the learned world model can focus on latent external dynamics.

Differentiable reinforcement learning (DiffRL) [6], [7] offers a complementary direction. By backpropagating through a differentiable physical model, it can provide low-variance first-order gradients for policy optimization and be particularly effective for smooth robotic systems. However, differentiable RL alone typically assumes that the transition and reward structures are differentiable and explicitly available. This makes it difficult to handle partially observable external dynamics, moving targets with unknown future motion, and non-differentiable task events such as gate-crossing rewards.

To address this problem, we propose DiffDreamer, which structurally separates robot dynamics from external environment dynamics and couples their rollouts for policy optimization. DiffDreamer synchronizes latent world-model imagination with differentiable physical rollouts: under the same action, the world model updates an implicit state representing external time-varying features, while the simulator propagates the explicit robot state. The actor receives both states as input, and its objective is decomposed into a critic-driven pathway for non-differentiable task rewards and a simulator-driven pathway for differentiable motion rewards. We compare DiffDreamer with RL, trajectory planning, and model predictive control (MPC) baselines on aggressive tracking and dynamic-gate racing, and demonstrate its effectiveness through transfer to real quadrotor flight.

Our contributions are summarized as follows:

  • We propose a dual-pathway policy optimization framework that synchronizes latent imagination with differentiable physical rollouts to improve optimization accuracy and reduce the burden of learning high-frequency robot dynamics within the world model.

  • We conduct comprehensive experiments on two quadrotor tasks with dynamic external environments to validate the advantages of the proposed method in terms of control accuracy and predictive capabilities.

• We conduct ablation studies on reward decomposition and odometry-conditioned relative-state representation to

Figure

Fig. 1. A schematic overview of DiffDreamer for dynamic-gate racing. The quadrotor must predict the future motion of dynamic gates while executing precise flight control. DiffDreamer trains the actor through a tightly coupled dual-pathway process: a learned world model imagines future environmental states (e.g., target motion), while a differentiable simulation predicts the quadrotor's physical dynamics and provides analytical gradients. The policy takes both implicit latent states and explicit physical states as input to generate control commands. The quadrotor is digitally reconstructed and calibrated through system identification for zero-shot transfer to the real world.

assess their contributions.

• We provide proof-of-concept validation of aggressive tracking and dynamic-gate racing in real-world scenarios.

References (29)