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

Learning Quadrotor Control from Visual Features Using Differentiable Simulation

Johannes Heeg, Yunlong Song, Davide Scaramuzza

TL;DR

This paper demonstrates how differentiable simulation can drastically accelerate training for low-level quadrotor control, even when relying purely on visual features. By using analytical gradients via Back-propagation Through Time (BPTT) combined with a simplified surrogate backward model, the authors train a vision-based stabilization policy in minutes—outperforming standard model-free reinforcement learning by orders of magnitude in both speed and sample efficiency.

What Problem Does This Paper Address?

Model-free reinforcement learning (RL) algorithms like Proximal Policy Optimization (PPO) are highly versatile but notoriously sample-inefficient. When applied to complex, unstable robotic systems like quadrotors, training often requires hours or days of simulated flight time.

This bottleneck is severely amplified in vision-based control tasks. Without explicit state estimation, a neural network must simultaneously learn to interpret high-dimensional visual inputs (such as pixel coordinates) and synthesize a precise control law. While differentiable simulation offers a solution by providing exact analytical gradients through the physics engine, scaling it to high-frequency, low-level control loops has historically been bottlenecked by massive computational and memory overheads.

Methods

The authors present a fully differentiable simulation pipeline built entirely in JAX to enable GPU-accelerated Back-propagation Through Time (BPTT). To make this practical for low-level quadrotor control (running at a high frequency of 1000 Hz), they introduce two key innovations:

  1. Fast Surrogate Gradients: Instead of backpropagating through the full, highly complex low-level simulator (which models intricate details like air drag, motor delays, and transmission lags), they use the high-fidelity model only for the forward pass. For the backward pass, they substitute a simplified, analytical quadrotor dynamics model. This technique drastically reduces the size of the computational graph and memory footprint without sacrificing control performance.
  2. State Representation Pretraining: Learning directly from visual features introduces indirect gradient paths that can destabilize BPTT. To counter this, they pretrain the policy network on an auxiliary task: predicting the true quadrotor state from a history of visual feature observations. These pretrained weights are then used to initialize the policy before running BPTT.

Datasets

No standard external datasets were used. The authors generated a custom dataset of 100,000 simulation samples (comprising pairs of quadrotor states and corresponding visual feature coordinates) solely to train the auxiliary state representation network during the pretraining phase.

Key Insights and Ideas

  • The Power of "Inaccurate" Backward Models: You do not need a perfect, high-fidelity differentiable simulator to get effective gradients. A simple, idealized physics model is entirely sufficient for the backward pass, provided the forward pass accurately captures real-world physics.
  • Pretraining Bridges the Vision-Control Gap: Pretraining on state estimation does more than just give the network a better initialization; it improves the quality of the analytical gradients during BPTT by making the first-order approximations more accurate over a larger parameter space.
  • Low Variance Trumps Massive Parallelism: While model-free RL requires thousands of parallel environments to reduce gradient variance, BPTT can converge efficiently even with a single environment because its analytical gradients are inherently low-variance.

Key Results

The authors evaluated their approach on a highly challenging task: stabilizing a quadrotor to a hover condition immediately after an aggressive manual throw.

Learning quadrotor control from visual features and performance comparison
  • State-Based Control: The proposed BPTT method learned to stabilize the quadrotor in just 23 seconds, compared to 2 minutes and 15 seconds for PPO, while requiring less than 20% of the training samples.
  • Vision-Based Control: BPTT successfully trained a policy using only visual features in 9 minutes and 11 seconds. In contrast, PPO took over 32 minutes and failed to reach a comparable level of performance, converging to a highly suboptimal reward.
  • Sim-to-Real Deployment: The trained policies were successfully deployed zero-shot on a physical quadrotor using Hardware-in-the-Loop (HITL) simulation, demonstrating robust recovery from real-world manual throws.

Limitations and Future Work

While the vision-based policy successfully stabilized the real quadrotor, it exhibited more oscillations around the target position than the state-based policy. The authors note that the current approach could benefit from an improved observation noise model to better bridge the sim-to-real gap.

Additionally, this work focused primarily on stabilization. A promising direction for future work is expanding this framework to more complex, agile maneuvers, such as acrobatic maneuvers or time-optimal drone racing.

Summary updated

BibTeX
@inproceedings{heeg2025learning,
  author = {Johannes Heeg and Yunlong Song and Davide Scaramuzza},
  title = {{Learning Quadrotor Control from Visual Features Using Differentiable Simulation}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2025},
  doi = {10.1109/icra55743.2025.11128641},
}
Figure