RSC: Decentralized Rigid Formation Flocking for Large-Scale Swarms via Hybrid Predictive Control and Online Reconfiguration

Ganyu Zou, Linhan Wang, Chen Dai, Siji Chen, Chang-Tien LuarXiv 2026

TL;DR

Rigid Swarm Control (RSC) is a novel decentralized framework that enables large drone swarms to maintain strict geometric formations while navigating cluttered environments. By combining finite-horizon trajectory prediction with a reactive safety controller and a dynamic leader-follower role-swapping mechanism, RSC achieves an 83% navigation success rate at scale, drastically outperforming traditional methods which often fall below 5%.

What Problem Does This Paper Address?

Coordinating a swarm of autonomous robots to fly in a tight, predefined shape (like a square or a triangle) while avoiding obstacles is a massive challenge in robotics. This is known as decentralized rigid formation flocking.

Existing approaches usually fall into two traps:

  1. Myopic Reactive Methods: Techniques like Artificial Potential Fields (APF) or single-step deep learning models only look one step ahead. In complex environments, drones easily get trapped in "local minima" deadlocks (e.g., getting stuck behind a wall) or suffer from high-frequency control oscillations.
  2. Heavy Optimization Methods: Model Predictive Control (MPC) can look ahead to plan safe paths, but it is too computationally expensive to run in real-time on large swarms without a central coordinator.

The authors tackle these limitations to create a scalable, decentralized system where each drone relies solely on onboard sensing and local communication with its immediate neighbors, yet can still plan ahead to avoid deadlocks.

Methods

The RSC framework introduces three interconnected components to solve the flocking problem:

  • Two-Stream Architecture & Finite-Horizon Prediction: Instead of predicting just the next immediate step, RSC predicts a local trajectory sequence of length $H$ time steps. It uses a two-stream neural network to decouple the problem: a Spatial-Context Stream (using GraphSAGE and a Transformer encoder) processes neighborhood and historical flocking data, while a Local-Formation Stream (via an MLP) focuses purely on maintaining geometry with the drone's assigned leader.
  • Hybrid Control (APF Fusion): To guarantee safety without losing long-term planning benefits, RSC dynamically blends the predicted trajectory with a reactive APF safety controller. If a drone is far from danger, it prioritizes tracking its planned trajectory. As it gets closer to an obstacle or another agent, a distance-based risk weight smoothly transitions control to the reactive safety mechanism.
  • Online Leader-Follower Reconfiguration: In a fixed hierarchy, if a designated leader drone gets slowed down by an obstacle, the followers behind it become physically blocked due to strict collision-avoidance constraints. RSC introduces a lightweight swap operator. Drones can dynamically exchange leader-follower roles online based on who is closer to the target, allowing the swarm to fluidly morph through tight spaces and rapidly reassemble.
Overview of the RSC framework architecture showing local observation aggregation, hybrid control fusion, and leader-follower reconfiguration.

Datasets

The authors evaluated their approach using a custom-built simulation environment based on OpenAI Gym and PyTorch:

  • Training Data: 500 randomly generated maps containing 3 to 6 obstacles. Swarms were trained using imitation learning (via the DAgger algorithm) against a centralized expert policy.
  • Evaluation Data: A separate test set of 200 randomized maps, evaluated across 3 different random seeds (600 total test runs) to ensure statistical robustness.

Key Insights and Ideas

  • Look-Ahead is Mandatory for Formations: Single-step controllers fail because rigid formation constraints severely restrict an agent's freedom. A drone cannot just dodge an obstacle reactively; it needs to know where its neighbors intend to go over a longer horizon to coordinate slot assignments.
  • Topological Flexibility Prevents Deadlocks: Rigid hierarchies are fragile in cluttered spaces. Allowing local, decentralized tree-rewiring (role-swapping) acts as a safety valve, letting the swarm temporarily "flow" around obstacles without breaking the global task execution.
  • Complementary Fusion: The ablation studies revealed that predictive planning and reactive APF are highly complementary. APF prevents immediate collisions, while the trajectory planner provides the goal-directed guidance needed to escape APF's notorious local minima.

Key Results

The framework was evaluated under strict success criteria: the swarm had to remain entirely collision-free and complete the course with a maximum relative edge-length formation error under 10%.

  • Massive Success Rate Boost: For a large swarm of 25 UAVs, RSC achieved an 83% success rate. Traditional baselines (like Olfati-Saber’s APF flocking and STGNN) scored below 5%, primarily failing due to deadlocks.
  • Zero-Shot Scalability: Although trained exclusively on a 25-UAV swarm, the RSC models generalized seamlessly to smaller swarms ($N=6, 12$) and even a larger swarm ($N=36$) without retraining.
  • Real-World Deployment: The authors successfully transferred the decentralized policy to a physical swarm of six Bitcraze Crazyflie 2.1 nano-quadcopters, proving its viability under real-world sensing and localization constraints.
Simulation trajectories demonstrating successful navigation and formation reassembly for 25 and 36 UAV swarms.

Limitations and Future Work

While RSC marks a significant step forward, some limitations remain:

  • Static Environments: The current framework assumes obstacles are stationary. The authors note that extending RSC to highly dynamic environments with moving obstacles is a critical next step.
  • Communication Assumptions: The system relies on continuous local communication. Future research will need to stress-test the framework's robustness against severe real-world network degradation, such as high packet loss and latency.

Summary updated

Abstract

Decentralized rigid formation flocking requires a swarm of autonomous agents to maintain a predetermined geometric configuration while moving, relying solely on local sensing and communication. However, existing decentralized control methods struggle to maintain strict inter-agent distance constraints in cluttered environments, often suffering from local minima deadlocks, high frequency control oscillations, or limited flexibility during obstacle navigation, resulting in low success rate. To address these limitations, we propose Rigid Swarm Control (RSC), a decentralized control framework for large-scale rigid formation flocking. To escape local minima via robust long-term planning while ensuring short-term safety, RSC integrates finite-horizon trajectory predictions with a reactive artificial potential field (APF) safety controller within a hybrid architecture. Furthermore, to accelerate formation reassembly after obstacle traversal without interrupting task execution, RSC introduces an online leader-follower reconfiguration mechanism based on stable role exchange. Extensive evaluations in challenging cluttered environments with 25 UAVs demonstrate that RSC reliably unifies rigid formation maintenance, obstacle avoidance, and target tracking. Under strict success criteria - collision-free operation with a maximum relative edge-length error below 10%, RSC achieves an 83% success rate, significantly outperforming existing heuristic and learning-based baselines that fall below 5%.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
N=25 model-performance evaluationRSC-H20Success rate (S%)83.00%+78 vs baselinesplit: test · formation=solid-square · obstacles=3–6 · swarm-size=25 UAVs
Source quote
L255: RSC-H20 │ 83.00 │ 13.17 │ 7.90 │ 2.50
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
N=25 model-performance evaluationSaber baselineSuccess rate (S%)5.00%split: test · formation=solid-square · obstacles=3–6 · swarm-size=25 UAVs
Source quote
L250: Saber │ 5.00 │ 15.47 │ -- │ 39.50
N=25 model-performance evaluationSTGNN L3 baselineSuccess rate (S%)0.00%split: test · formation=solid-square · obstacles=3–6 · swarm-size=25 UAVs
Source quote
L251: STGNN L3 │ 0.00 │ -- │ -- │ 72.00
BibTeX
@misc{zou2026rsc,
  author = {Ganyu Zou and Linhan Wang and Chen Dai and Siji Chen and Chang-Tien Lu},
  title = {{RSC: Decentralized Rigid Formation Flocking for Large-Scale Swarms via Hybrid Predictive Control and Online Reconfiguration}},
  year = {2026},
  eprint = {2606.04248},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.04248},
}

Loading related content...

Figure