HiveMind: A Scalable and Serverless Coordination Control Platform for UAV Swarms

Justin Hu, Ariana Bruno, Brian Ritchken, Brendon Jackson, Mateo Espinosa, Aditya Shah, Christina DelimitrouarXiv 2020

Introduction

As autonomous drone swarms grow in size and complexity, researchers face a fundamental architectural dilemma: the trade-off between centralized and decentralized control. Centralized systems, often cloud-heavy, allow for sophisticated global optimizations and high-quality output due to massive compute resources. However, they are frequently hampered by high network latency and bandwidth bottlenecks. Conversely, decentralized or edge-heavy systems offer better scalability and local responsiveness but are "computationally poor." Running complex AI models on a drone’s limited processor drains battery life rapidly and can compromise flight stability as the CPU struggles to balance navigation with intensive data processing.

HiveMind addresses these challenges by introducing a hybrid coordination platform that combines the computational power of a serverless cloud backend with the rapid reflexes of edge-side processing. By offloading heavy computation to the cloud while maintaining time-critical tasks on-board, HiveMind achieves superior battery efficiency and task performance compared to traditional approaches.

System Architecture and Methods

HiveMind utilizes a "serverless" (Function-as-a-Service) architecture to coordinate swarms effectively. The system is built around several key technical components:

  1. Event-Driven Serverless Backend: Utilizing Apache OpenWhisk, HiveMind triggers specific cloud functions (e.g., face recognition) only upon demand. This allows the system to scale compute resources dynamically based on real-time swarm activity.
  2. On-Board Preprocessing: To minimize bandwidth consumption, drones perform lightweight detection (e.g., identifying circular shapes or human-like blobs) rather than streaming raw high-resolution video. Only "interesting" frames are transmitted to the cloud for heavy-duty analysis via frameworks like TensorFlow or FaceNet.
  3. Split-Control Logic: Mission-critical, low-latency tasks such as obstacle avoidance and flight stability remain on-board. High-level coordination, including path planning and target identification, is handled in the cloud.
  4. Dynamic Load Rebalancing: A centralized controller monitors drone "heartbeats." In the event of rapid battery drain or hardware failure, the system automatically redistributes the affected drone's search area among its neighbors.
Figure 1: HiveMind system architecture showing the interaction between the backend cluster and the drone swarm.

Experimental Evaluation

The system was evaluated using a swarm of 16 programmable Parrot AR.Drones 2.0 across two primary scenarios:

  • Stationary Item Detection: Locating 15 tennis balls scattered across a baseball field.
  • Mobile People Recognition: Counting 25 unique individuals in a bounded area, requiring face disambiguation to prevent double-counting.

The models utilized the TensorFlow Detection Model Zoo (trained on the COCO dataset) and a custom-trained SVM classifier for sports ball recognition.

Figure 5: Operational logic for drone search, illustrating field of view, detection overlap, and duplicate handling.

Key Insights

A critical finding of this research is the "agility tax" associated with on-board processing. In decentralized tests, drones frequently experienced flight instability or crashes because the CPU was over-encumbered by image recognition tasks, leaving insufficient resources for obstacle avoidance.

Furthermore, serverless computing proved to be a natural fit for swarm tasks, which are inherently parallel and intermittent. Unlike traditional Virtual Machines, serverless functions allow for the simultaneous processing of hundreds of images without the overhead of idle compute time. Bandwidth filtering through on-board preprocessing was also vital, enabling the system to support an estimated 150 drones on a single router, a significant improvement over the 26-drone limit of fully centralized systems.

Results and Performance

  • Execution Speed: In the tennis ball detection scenario, HiveMind completed the task in 74 seconds, nearly twice as fast as the decentralized approach (141 seconds).
  • Battery Life: HiveMind drones maintained significantly higher battery levels. In the people-counting task, HiveMind drones retained approximately 65% battery, whereas decentralized drones often exhausted their power or crashed.
  • Accuracy and Latency: HiveMind eliminated false negatives through global retraining. Cloud-side image recognition was 1-2 orders of magnitude faster than on-board recognition, averaging 23ms compared to approximately 2000ms on the drone.

Conclusion and Future Work

HiveMind demonstrates the efficacy of a hybrid serverless approach for UAV swarm coordination. Future research will explore handling heterogeneous swarms with varying sensor capabilities and improving cluster efficiency through more sophisticated resource placement policies. Additionally, moving toward peer-to-peer mesh networking for heartbeat signals could further enhance system resilience against network disruptions.

Summary updated

BibTeX
@misc{hu2020hivemind,
  author = {Justin Hu and Ariana Bruno and Brian Ritchken and Brendon Jackson and Mateo Espinosa and Aditya Shah and Christina Delimitrou},
  title = {{HiveMind: A Scalable and Serverless Coordination Control Platform for UAV Swarms}},
  year = {2020},
  eprint = {2002.01419},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.01419},
}
Figure