A Learning-Based Quadcopter Controller With Extreme Adaptation

Dingqi Zhang, Antonio Loquercio, Jerry Tang, Ting-Hao Wang, Jitendra Malik, Mark W. Mueller

This paper, recently accepted for publication in IEEE Transactions on Robotics (T-RO), presents a significant step toward a "universal" drone controller. By combining reinforcement learning with physics-informed domain randomization, the authors have developed a system that can fly vastly different quadcopters—from tiny racing drones to heavy lifters—using the exact same software without any manual tuning.

TL;DR

The authors present a learning-based low-level controller that achieves "extreme adaptation" across quadcopters varying by orders of magnitude in mass and motor strength. By estimating latent system dynamics from sensor-action history, the controller enables zero-shot deployment on diverse hardware and rapid recovery from severe in-flight disturbances like motor failure.

What Problem Does This Paper Address?

Traditional quadcopter control relies on precise mathematical models. If you change a drone's propellers, add a heavy camera, or experience a motor malfunction, a standard PID or MPC controller usually requires manual re-tuning or complex system identification to remain stable.

While recent learning-based methods have shown promise, they typically only handle small variations (around 30%) from a nominal model. This paper tackles the "extreme" case: creating a single controller capable of handling drones with mass differences of nearly 4x and motor constants varying by over 100x, all while maintaining high-performance trajectory tracking.

Methods

The researchers utilized a two-phase training pipeline entirely in simulation:

  1. Phase 1: Teacher Training (RL + IL): They trained a base policy using a hybrid of Reinforcement Learning (PPO) and Imitation Learning (IL). The policy was given access to "privileged" information—ground-truth parameters like mass and inertia. The IL component used a model-based expert to provide a "warm start," while RL optimized for long-term survival and success.
  2. Phase 2: Student Adaptation: They trained an Adaptation Module (a 1-D CNN) to predict the "privileged" latent representation from a 100-step history of previous actions and sensor readings (IMU data). This allows the drone to "feel" its own dynamics in real-time.
  3. Design-Informed Domain Randomization: Instead of randomizing parameters (mass, length, inertia) independently, they used physical scaling laws. By sampling a single "size factor," they scaled other parameters realistically (e.g., mass scales with the cube of arm length). This ensured the controller trained on physically plausible quadcopters rather than "impossible" configurations.

The final system runs at 500Hz on-board using the Mobile Neural Network (MNN) framework for efficient inference on embedded hardware.

Datasets

The study did not use a static dataset but rather a highly randomized simulation environment:

  • Simulator: Flightmare.
  • Training Range: Mass [0.226, 0.950] kg; Arm length [0.046, 0.200] m.
  • Testing Range: Extended up to 16x wider than the training set in simulation to test generalization limits.
  • Hardware: Evaluation was performed on two custom drones: a "Large" quadrotor (985g) and a "Small" quadrotor (267g).

Key Insights and Ideas

  • Torque is Key: The authors found that rewarding the tracking of torque commands rather than angular velocity led to much better sim-to-real transfer. Torque provides a more immediate and direct learning signal for the low-level motor response.
  • The RL/IL Synergy: RL is great at finding global optima for survival, but IL is better at minimizing instantaneous tracking error. Combining them prevented the "jittery" behavior often seen in pure RL controllers.
  • Latent Space as a "Feel": The adaptation module doesn't need to explicitly calculate the mass in kilograms. Instead, it maps the drone's behavior to a latent vector that represents how the vehicle reacts to inputs, allowing it to compensate for unknown payloads or wind as if they were just changes in the drone's own parameters.

Key Results

  • Superior Robustness: In simulation, the proposed controller achieved a 100% success rate on tracking tasks, whereas standard adaptive baselines (like $L_1$ control or INDI) hovered between 62% and 77%.
  • Extreme Generalization: The controller successfully flew simulated drones with parameters 16 times outside its training distribution.
  • Real-World Zero-Shot Deployment: The exact same neural network was deployed on two drones with a 3.7x mass difference and 3.1x arm length difference without any vehicle-specific code changes.
  • Disturbance Rejection: The system successfully adapted to an off-center payload (20% of body mass) and a 20% thrust loss in a single motor (simulating a partial failure) in real-time.

Limitations and Future Work

  • High-Level Dependency: The system is a low-level controller; it still requires a high-level planner to provide feasible trajectories.
  • Wind Training: While the controller handled wind well, wind was not explicitly modeled during training. The authors suggest that including explicit wind/aerodynamic models in the randomization could further improve performance in stormy conditions.
  • Structural Limits: The adaptation assumes a standard quadcopter geometry. It is unclear how well this would generalize to hexacopters or drones with unconventional rotor placements without further training.

Source: Zhang et al., "A Learning-based Quadcopter Controller with Extreme Adaptation," IEEE Transactions on Robotics (T-RO), 2025. Code available on GitHub.

Summary updated

BibTeX
@article{zhang2025learning,
  author = {Dingqi Zhang and Antonio Loquercio and Jerry Tang and Ting-Hao Wang and Jitendra Malik and Mark W. Mueller},
  title = {{A Learning-Based Quadcopter Controller With Extreme Adaptation}},
  journal = {IEEE Trans. Robotics},
  year = {2025},
  doi = {10.1109/tro.2025.3577037},
}
Figure