NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DiffAero: A GPU-Accelerated Differentiable Simulation Framework for Efficient Quadrotor Policy Learning

Xinhong Zhang, Runqing Wang, Yunfan Ren, Jian Sun, Hao Fang, Jie Chen, Gang WangarXiv 2025 · OpenReview

TL;DR

This paper introduces DiffAero, a novel GPU-accelerated simulation framework that enables significantly faster and more efficient training of quadrotor control policies. By performing both physics simulation and sensor rendering entirely on the GPU, DiffAero overcomes traditional bottlenecks and provides a unified platform for exploring differentiable and hybrid learning algorithms, leading to robust policies trained in hours.

What Problem Does This Paper Address?

Traditional quadrotor autonomy often relies on modular pipelines (perception, planning, control), which can introduce latency and errors. End-to-end learning, mapping sensor inputs directly to control commands, offers a streamlined approach. However, reinforcement learning (RL) methods for this often require millions of simulated interactions, making training slow and computationally expensive, especially with high-dimensional sensor data like depth images. While imitation learning can reduce sample complexity, it struggles with generalization. Existing simulators, even those with GPU acceleration, often have limitations in performance, differentiability, or a unified interface for exploring advanced learning techniques. This paper addresses the need for a high-performance, differentiable, and flexible simulation environment that accelerates the training of quadrotor control policies.

Methods

DiffAero is a fully differentiable simulation framework built from the ground up in PyTorch, designed for GPU acceleration. Its core innovation lies in parallelizing both physics simulation and sensor rendering on the GPU, eliminating CPU-GPU data transfer bottlenecks. Key features include:

  • Multiple Dynamics Models: Supports four levels of quadrotor dynamics fidelity, from full quadrotor dynamics to simplified point-mass models, allowing for trade-offs between accuracy and computational cost.
  • Customizable Sensor Stack: Integrates IMU, depth camera, and LiDAR sensors, with GPU-accelerated ray-casting for depth and LiDAR rendering.
  • Diverse Flight Tasks: Offers position control, obstacle avoidance, and autonomous racing tasks.
  • Unified Learning Interface: Provides a Gym-like interface compatible with various learning paradigms (RL, differentiable learning, and hybrid approaches) and common network architectures (MLP, CNN, RNN, RCNN).
  • Differentiable Simulation: Enables direct gradient backpropagation through the physics and rendering pipeline, facilitating data-efficient learning.

Datasets

The paper does not introduce new datasets. Instead, it focuses on creating a simulation environment that can generate data for training and evaluation. The flight tasks themselves serve as benchmarks for evaluating learned policies.

Key Insights and Ideas

  • GPU-Native Parallelism is Key: The most significant insight is that by moving both physics and rendering to the GPU, DiffAero achieves orders-of-magnitude speedups, drastically reducing training times.
  • Differentiability Unlocks Data Efficiency: Making the simulator differentiable allows for direct gradient computation, enabling learning algorithms to be more data-efficient, especially for tasks requiring precise control or learning from visual inputs.
  • Modular Design for Research Flexibility: The framework's modularity (dynamics, sensors, tasks, learning agents) makes it an excellent platform for researchers to experiment with new algorithms and explore fundamental questions in aerial robotics.
  • Hybrid Learning is Powerful: The paper demonstrates that combining differentiable rewards with traditional RL rewards (as in their SHA2C algorithm) can lead to more robust and data-efficient policies, overcoming limitations of purely differentiable or RL approaches.
  • Sim-to-Real Transfer is Achievable: The experiments show that policies trained in DiffAero can be effectively deployed on real quadrotors with moderate domain randomization, highlighting the simulator's fidelity.

Key Results

  • Performance Gains: DiffAero achieves 1.8x speedup in physics simulation and 9.6x speedup in depth rendering compared to Aerial Gym. It also maintains VRAM usage within practical limits for consumer-grade hardware.
  • Scalability: The physics simulation speed scales effectively even with a massive number of parallel environments (up to 8,192).
  • Learning Efficiency: Differentiable algorithms in DiffAero outperform RL algorithms in the position control task, achieving higher data efficiency.
  • Robust Policies: The proposed SHA2C algorithm, trained using DiffAero, achieved the best success rate and stability in the obstacle avoidance task.
  • Rapid Training: Robust, generalizable flight policies can be trained and evaluated within hours on consumer-grade hardware.
  • Successful Deployment: Trained policies demonstrated successful navigation in both simulated (Gazebo) and real-world environments, including cluttered scenarios.

Limitations and Future Work

  • Dynamics Model Simplification: While point-mass dynamics simplify learning, they sacrifice attitude fidelity, which might be critical for certain complex maneuvers. The paper acknowledges that full quadrotor dynamics are computationally demanding.
  • Task Specificity: While the framework is versatile, designing effective differentiable reward signals for complex tasks like racing remains challenging.
  • Future Work: The authors suggest DiffAero can be used to address fundamental research questions regarding the impact of dynamics models, the role of non-differentiable rewards in hybrid learning, and sim-to-real transfer. They envision it fostering new advances in agile, autonomous flight control.

Summary updated

BibTeX
@misc{zhang2025diffaero,
  author = {Xinhong Zhang and Runqing Wang and Yunfan Ren and Jian Sun and Hao Fang and Jie Chen and Gang Wang},
  title = {{DiffAero: A GPU-Accelerated Differentiable Simulation Framework for Efficient Quadrotor Policy Learning}},
  year = {2025},
  eprint = {2509.10247},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.10247},
}
Figure