Distributed Reinforcement Learning for Flexible and Efficient UAV Swarm Control

Federico Venturini, Federico Mason, Francesco Pase, Federico Chiariotti, Alberto Testolin, Andrea Zanella, Michele ZorziarXiv 2021 · DOI

TL;DR

This paper introduces a distributed Deep Reinforcement Learning (RL) framework for controlling swarms of Unmanned Aerial Vehicles (UAVs) in complex surveillance tasks. By leveraging a shared neural network architecture and transfer learning, the system achieves scalable, coordinated exploration that outperforms traditional heuristics and adapts seamlessly to real-world urban environments.

What Problem Does This Paper Address?

Controlling a swarm of drones to explore an unknown area and monitor targets is a classic "hard" problem in robotics. A centralized controller suffers from the curse of dimensionality—as you add more drones, the number of possible state-action combinations explodes, making the problem computationally intractable.

Conversely, decentralized control is difficult because the environment is non-stationary: from the perspective of one drone, the "rules" of the world seem to change because other drones are also moving and learning. Furthermore, real-world constraints like limited battery life (requiring efficient movement), obstacles, and unreliable communication channels make coordination a significant hurdle.

Methods

The authors frame the problem as a Networked Distributed Partially Observable Markov Decision Process (ND-POMDP). Their solution, Distributed Deep Q-Learning (DDQL), uses several key techniques:

  • Shared Architecture: All drones use the same Deep Q-Network (DQN). This allows the swarm to scale to any number of agents without changing the underlying model.
  • CNN-based State Representation: Each drone receives an input consisting of four $F \times F$ matrices representing its own position, the locations of teammates, explored cell values, and known obstacles. A Convolutional Neural Network (CNN) processes these "local maps" to estimate the value of potential moves.
  • Implicit Coordination: Drones share their observations over a radio channel. Even with limited communication range or packet loss, this shared "context awareness" allows them to avoid collisions and divide exploration duties.
  • Transfer Learning: The model is pre-trained on simple synthetic maps and then "fine-tuned" on more complex scenarios, such as maps with different target distributions or realistic urban obstacles.
Fig. 1: Two examples of the sparse (left) and cluster (right) target distributions used to train the agents.

Datasets

The study utilizes three main types of environments for training and evaluation:

  1. Synthetic Grid-Worlds: Square grids (ranging from $20 \times 20$ to $50 \times 50$ cells) where targets are placed either in a Sparse distribution (spread out) or a Cluster distribution (grouped together).
  2. Obstacle-Laden Maps: Synthetic maps where 10% of the area is occupied by impassable rectangular blocks.
  3. Real-World Chicago Map: A high-fidelity map derived from building height data in the downtown Chicago Loop neighborhood. This was used to test the "extreme" transfer learning capabilities of the system in a realistic urban geometry.

Key Insights and Ideas

  • Local Information is Often Enough: The experiments show that drones don't need a perfect global view. As long as they can see their immediate neighbors and recent observations within a certain range, they coordinate effectively.
  • Softmax Beats Greedy: Using a Softmax policy (which chooses actions based on a probability distribution) prevents drones from getting "stuck" in loops when they are far from any known targets and Q-values are nearly identical.
  • Generalization via Transfer: A model trained on simple, abstract clusters can adapt to the complex, street-aligned obstacles of a real city map with very little additional training. This suggests that the drones learn fundamental "behaviors" (like following gradients or avoiding collisions) that are universal.
  • Robustness to "Silence": The system remains functional even with significant communication impairments (e.g., 50% packet loss at 110m). While performance drops, the drones don't crash; they simply become less efficient at coordinating.

Key Results

  • Superiority over Heuristics: The DDQL approach consistently outperformed a computationally intensive "look-ahead" heuristic (LA(4)). In clustered scenarios, the RL agents found targets significantly faster and with a higher success rate.
  • Efficiency: A trained DDQL agent makes decisions roughly 15 times faster than the look-ahead heuristic, making it much better suited for real-time deployment on embedded hardware.
  • Scalability: A model trained with only 2 or 3 drones was successfully deployed in a swarm of 12 drones on a large map ($50 \times 50$) with minimal performance loss.
  • Real-World Adaptation: In the Chicago Loop scenario, the DDQL system found targets nearly as fast as the benchmark heuristic, despite the heuristic having perfect knowledge of the map's geometry.

Limitations and Future Work

While the results are promising, the authors note a few areas for improvement:

  • Static Targets: The current model assumes targets are stationary. Future work will involve tracking dynamic targets (e.g., spreading wildfires or moving vehicles).
  • The "Straggler" Problem: The algorithm occasionally struggles when most drones have reached their targets but one "straggler" is left in an empty, unexplored part of the map with no nearby features to guide it.
  • Heterogeneous Roles: Currently, all drones are identical. Assigning different roles (e.g., "scouts" vs. "trackers") could further optimize swarm behavior.

For those interested in the mathematical specifics of the reward functions and state space, the paper provides a comprehensive notation guide:

Table I: Notation definitions for the ND-POMDP framework.

Summary updated

BibTeX
@misc{venturini2021distributed,
  author = {Federico Venturini and Federico Mason and Francesco Pase and Federico Chiariotti and Alberto Testolin and Andrea Zanella and Michele Zorzi},
  title = {{Distributed Reinforcement Learning for Flexible and Efficient UAV Swarm Control}},
  year = {2021},
  eprint = {2103.04666},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.04666},
}
Figure