Scalable Task-Driven Robotic Swarm Control via Collision Avoidance and Learning Mean-Field Control

Kai Cui, Mengguang Li, Christian Fabian, Heinz Koeppl

TL;DR

This paper introduces a scalable framework for controlling large robotic swarms by combining Mean-Field Control (MFC) with Deep Reinforcement Learning and a dedicated collision avoidance layer. By treating a swarm as a continuous distribution rather than a collection of individuals, the authors bypass the scalability "curse" of traditional multi-agent learning, enabling complex task execution for hundreds of robots in both simulation and real-world UAV flights.

What Problem Does This Paper Address?

Engineering collective behavior in robotic swarms is notoriously difficult. Standard Multi-Agent Reinforcement Learning (MARL) often fails as the number of agents grows because the environment becomes "non-stationary"—every agent is learning and changing simultaneously, making the "credit assignment" problem (figuring out which agent did what) nearly impossible.

Mean-Field Control (MFC) offers a theoretical escape: if you have enough agents, you can model the swarm as a single "fluid" or probability distribution. This turns a massive multi-agent problem into a single-agent problem (controlling the distribution). However, MFC has a major "reality gap": it assumes agents are "weakly interacting" points that don't physically interfere with each other. In the real world, robots are "embodied"—they occupy space and collide, which violates the core mathematical assumptions of MFC.

Methods

The authors propose a hierarchical framework to bridge theory and practice:

  1. High-Level (Learning MFC): They use Proximal Policy Optimization (PPO), a standard deep RL algorithm, to learn a control policy for the swarm's distribution. To make the infinite-dimensional distribution tractable, they discretize the space into a 2D grid (histogram).
  2. Low-Level (Collision Avoidance): To handle the physical reality of robots, they implement a decentralized Artificial Potential Field (APF) subroutine. This layer ensures that while robots follow the high-level "flow" dictated by the MFC policy, they push away from each other to avoid crashes.
  3. Theoretical Guarantees: The paper provides new proofs (Theorems 1 and 2) showing that the MFC solution remains near-optimal even when robots are finite in number and use collision avoidance maneuvers.

Datasets

The researchers evaluated their approach on three custom-designed simulated tasks and one real-world experiment:

  • Aggregation: Robots must gather at a single point while minimizing movement.
  • Formation: Robots must match a target spatial distribution (e.g., a mixture of Gaussians).
  • Task Allocation: A complex scenario where robots must "process" randomly appearing localized tasks (like firefighting or delivery) by moving toward them.
  • Real-World UAVs: A swarm of 10 Crazyflie nano-quadcopters performing a time-varying formation task.

Key Insights and Ideas

  • Scalability via Anonymity: By treating agents as interchangeable (anonymous) parts of a distribution, the complexity of the control problem becomes independent of the number of robots ($N$).
  • The "Collision Avoidance" Fix: The most significant insight is that collision avoidance isn't just a safety feature; it's the bridge that allows MFC theory to apply to physical robots. It "smooths out" the interactions so the swarm behaves more like the idealized mean-field model.
  • Open-Loop Decentralization: Because the limiting MFC model is deterministic, the authors show that robots can often follow a pre-computed "open-loop" sequence of distributions. This allows for decentralized execution where robots only need their own position to act, reducing communication overhead.

Key Results

  • Stability over MARL: In the Task Allocation and Formation benchmarks, standard MARL became unstable or failed entirely as the number of agents increased. In contrast, the MFC approach remained stable and outperformed MARL as $N$ grew.
  • Convergence: The performance of the finite swarm ($N=20$ to $N=100$) quickly converged to the theoretical mean-field limit, validating their mathematical proofs.
  • Real-World Success: The system successfully controlled 10 Crazyflie drones in a dynamic formation task, proving that the hierarchical "MFC + APF" approach works despite the noise and constraints of real hardware.

Limitations and Future Work

  • The Curse of Dimensionality: The current method relies on discretizing the state space into bins. As the number of dimensions increases (e.g., adding velocity, battery levels, or 3D coordinates), the number of bins grows exponentially. The authors suggest using visual techniques or neural representations of distributions to combat this.
  • Sparse Interactions: The model assumes "weak" interaction. In scenarios where robots must form rigid chains or have complex neighbor-dependent communication (graph-based structures), more advanced mean-field models would be required.
  • Dynamics: The current experiments use relatively simple movement models. Future work could integrate more complex non-linear drone dynamics and environmental constraints.

Summary updated

BibTeX
@inproceedings{cui2023scalable,
  author = {Kai Cui and Mengguang Li and Christian Fabian and Heinz Koeppl},
  title = {{Scalable Task-Driven Robotic Swarm Control via Collision Avoidance and Learning Mean-Field Control}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10161498},
}
Figure