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

Decentralized Control of Quadrotor Swarms with End-to-end Deep Reinforcement Learning

Sumeet Batra, Zhehui Huang, Aleksei Petrenko, Tushar Kumar, Artem Molchanov, Gaurav S. Sukhatme

Abstract

We demonstrate the possibility of learning drone swarm controllers that are zero-shot transferable to real quadrotors via large-scale multi-agent end-to-end reinforcement learning. We train policies parameterized by neural networks that are capable of controlling individual drones in a swarm in a fully decentralized manner. Our policies, trained in simulated environments with realistic quadrotor physics, demonstrate advanced flocking behaviors, perform aggressive maneuvers in tight formations while avoiding collisions with each other, break and re-establish formations to avoid collisions with moving obstacles, and efficiently coordinate in pursuit-evasion tasks. We analyze, in simulation, how different model architectures and parameters of the training regime influence the final performance of neural swarms. We demonstrate the successful deployment of the model learned in simulation to highly resource-constrained physical quadrotors performing station keeping and goal swapping behaviors.

Introduction

Controlling a swarm of drones is a classic "curse of dimensionality" problem. Traditional methods usually rely on centralized planning, which requires full knowledge of every drone's position and massive computational power. These methods are often brittle: if the environment changes or the team size grows, the planner can struggle to maintain real-time performance. Furthermore, most existing controllers use high-level commands (like position setpoints), which limits the drones' agility.

Researchers from USC have developed a fully decentralized swarm controller for quadrotors using end-to-end Deep Reinforcement Learning (DRL). This approach tackles the challenge of creating a decentralized, scalable, and high-performance controller that works using only local sensor data and runs efficiently on the limited hardware of a tiny drone.

Methods: End-to-End Control and Neighborhood Encoding

The authors utilized Multi-Agent Deep Reinforcement Learning (MAPPO) to train the drones. A key technical highlight is End-to-End Control: unlike most systems that output position or velocity targets, this model outputs direct motor thrusts. This allows the RL agent to exploit the full kinodynamic potential of the quadrotor for aggressive maneuvers.

To handle a variable number of nearby drones, the authors compared different neighborhood encoder architectures.

Comparison of the three neural network architectures evaluated: Deepset, Attention, and the physically deployed Deepset model.

As shown in Figure 5, the architectures include Deep Sets and Attention-based encoders. These allow a drone to process information about its neighbors in a permutation-invariant way. The attention-based encoder significantly outperformed Deep Sets in dense scenarios by learning to prioritize neighbors based on their velocity vectors—essentially "paying attention" to drones on a collision course.

Training Pipeline and Scenarios

Training occurred in a custom simulator modeling hardware imperfections like motor lag, sensor noise, and randomized collisions. This "domain randomization" allowed the policies to work on real hardware without further tuning.

The complete pipeline from procedurally generated training scenarios to learned policies in simulation and zero-shot deployment on real-world quadrotors.

The training scenarios (Figure 2) included static formations (grids, circles, cubes), dynamic formations (swapping positions in "swarm-vs-swarm" tests), evader pursuit, and obstacle avoidance. High-throughput asynchronous RL frameworks enabled training on hundreds of millions of environment transitions efficiently.

Key Results and Insights

  • Zero-Shot Transfer: Policies trained entirely in simulation were deployed directly onto Bitcraze Crazyflie 2.0 nano-quadrotors without further tuning.
  • Efficiency: The final policy was compressed into a tiny neural network (only ~1,000 parameters) to run at 500Hz on the drones' limited onboard microcontrollers.
  • Performance: In "swarm-vs-swarm" tests, the RL controller was 4x faster than classical optimization-based baselines (4 m/s vs 1 m/s) and utilized all three spatial dimensions to avoid collisions, whereas classical methods often got stuck in 2D planes.
  • Scalability: A policy trained on just 8 drones could be fine-tuned to control 128 drones with only 20% additional training time, demonstrating excellent algorithmic scaling.

Limitations and Future Work

While the control is decentralized, the physical experiments still relied on a Vicon motion capture system for high-frequency position data. Moving toward purely onboard vision or UWB-based sensing is a logical next step. Additionally, while the RL agent was robust enough to handle aerodynamic disturbances like downwash, explicit modeling of these effects in simulation might further improve performance in extremely tight formations.

Summary updated

BibTeX
@inproceedings{batra2021decentralized,
  author = {Sumeet Batra and Zhehui Huang and Aleksei Petrenko and Tushar Kumar and Artem Molchanov and Gaurav S. Sukhatme},
  title = {{Decentralized Control of Quadrotor Swarms with End-to-end Deep Reinforcement Learning}},
  booktitle = {CoRL},
  year = {2021},
  url = {https://openreview.net/forum?id=ofioIEZvJRG},
}
Figure