Source-linked AI summary
Neural-Swarm2: Planning and Control of Heterogeneous Multirotor Swarms using Learned Interactions
Guanya Shi, Wolfgang Hönig, Xichen Shi, Yisong Yue, Soon-Jo Chung
TL;DR
Close-proximity flight is complicated by aerodynamic interactions such as downwash, which conventional planning and control methods do not capture. Neural-Swarm2 learns residual forces with heterogeneous deep sets and uses them in interaction-aware planning and nonlinear tracking control. Across tests with two to sixteen quadrotors, it reduces worst-case height error by a factor of two or better.
Problem
Nearby multirotors create aerodynamic interactions such as downwash, while conventional planning and control methods neglect these forces, complicating close-proximity flight.
Source: §I · p. 1Method
Neural-Swarm2 learns residual interaction forces with heterogeneous deep sets and uses them in interaction-aware motion planning and nonlinear tracking control.
Source: §I · p. 2Results
Across validation tasks with two to sixteen quadrotors of two sizes, Neural-Swarm2 reduces worst-case height error by a factor of two or better.
Source: §VIII · p. 15Takeaways & Limitations
Learned forces support denser interaction-aware trajectories and real-time feed-forward control, reducing tracking error when robot thrust capabilities are sufficient.
Source: §VIII · p. 15
Abstract
from arXiv · showhide
We present Neural-Swarm2, a learning-based method for motion planning and control that allows heterogeneous multirotors in a swarm to safely fly in close proximity. Such operation for drones is challenging due to complex aerodynamic interaction forces, such as downwash generated by nearby drones and ground effect. Conventional planning and control methods neglect capturing these interaction forces, resulting in sparse swarm configuration during flight. Our approach combines a physics-based nominal dynamics model with learned Deep Neural Networks (DNNs) with strong Lipschitz properties. We make use of two techniques to accurately predict the aerodynamic interactions between heterogeneous multirotors: i) spectral normalization for stability and generalization guarantees of unseen data and ii) heterogeneous deep sets for supporting any number of heterogeneous neighbors in a permutation-invariant manner without reducing expressiveness. The learned residual dynamics benefit both the proposed interaction-aware multi-robot motion planning and the nonlinear tracking control design because the learned interaction forces reduce the modelling errors. Experimental results demonstrate that Neural-Swarm2 is able to generalize to larger swarms beyond training cases and significantly outperforms a baseline nonlinear tracking controller with up to three times reduction in worst-case tracking errors.
I. INTRODUCTION
Neural-Swarm2 addresses the aerodynamic interactions that complicate close-proximity flight of heterogeneous multirotor teams. It learns residual interaction forces and uses them in motion planning and control, with demonstrations spanning teams of two to sixteen quadrotors.
I. INTRODUCTION
- 24 cm minimum vertical separation enabled close-proximity flight of 16 heterogeneous robots, with lower tracking error than solutions that ignore interaction forces.The figure caption identifies panels (b,c) as the flight and tracking-error results.Source: Figure 1 · p. 1
- Close-proximity flight is challenging because nearby vehicles create complex aerodynamic interactions; without accurate downwash modeling, large safety distances can prevent compact 3-D formations.The passage gives 60 cm as an example safety distance for the small Crazyflie 2.0.Source: §I · p. 1
- The method predicts residual interaction forces missed by nominal freespace models, using only neighboring vehicles’ relative positions and velocities.The predicted forces augment nominal dynamics and are considered in both planning and control.Source: §I · p. 2
- Heterogeneous deep sets encode neighbors permutation-invariantly, while spectral normalization constrains the network’s Lipschitz constant and supports generalization beyond training data.The architecture is described as supporting varying vehicle numbers and types without reducing expressiveness.Source: §I · p. 2
- Interaction-aware planning combines kinodynamic sampling with optimization-based refinement, while the nonlinear controller uses learned-force Lipschitz continuity for stability guarantees.The controller can reduce tracking error on arbitrary desired trajectories, including trajectories not planned with interaction awareness.Source: §I · p. 2
- Validation covers two to sixteen quadrotors of two sizes and incorporates ground effect and other unmodeled dynamics by treating the environment as a special robot.Source: §I · p. 2
II. RELATED WORK
Prior work modeled ground effect and pairwise multirotor interactions, but the cited interaction estimate was limited to stationary cases and did not generalize readily to heterogeneous teams. Neural-Swarm2 extends heterogeneous deep sets and uses learned forces for planning, with close-proximity flight demonstrated at a 24 cm minimum separation.
II. RELATED WORK
- A propeller-velocity-field model estimates pairwise interactions, but is difficult to generalize to multi-robot or heterogeneous cases and considers only stationary vehicles.Source: §II · p. 2
- Neural-Swarm2 extends deep sets to heterogeneous teams and proves expressiveness; unlike the cited heterogeneous deep-set approach, it uses a more compact encoding.Source: §II · p. 2
- Compared with CNN encodings, deep sets require less training data and computation, avoid fixed resolution and input domains, and directly support heterogeneous swarms; unlike GNNs, they require no direct robot communication.Source: §II · p. 2
- Instead of estimating conservative collision-free shapes, the method learns interaction forces to control their magnitude and explicitly manage risk in heterogeneous teams.Source: §II · p. 2
- The paper extends prior work with heterogeneous deep sets, two-stage interaction-aware planning, and compensation for motor-command delay in its controllers.The authors report that these extensions support the 16-robot close-proximity result.Source: §II · pp. 2–3
- A 16-robot heterogeneous team flew with a 24 cm minimum vertical distance, compared with the 60 cm safe distance cited for prior work; the earlier work demonstrated five robots in simpler tasks.Source: §II · p. 3
III. PROBLEM STATEMENT
The problem statement models heterogeneous multirotor dynamics with neighbor- and environment-induced disturbances, then frames safe team motion as interaction-aware planning and tracking. It separates offline planning from online control because solving the joint problem in real time is intractable.
A. Single Multirotor Dynamics
- Each multirotor model includes position, velocity, attitude, angular velocity, rotor-generated thrust and torque, interaction disturbances, and a first-order motor-command delay.The command u_c is directly controllable, while λ is the delay time constant.Source: A. Single Multirotor Dynamics · p. 3
B. Heterogeneous Swarm Dynamics
- Heterogeneity includes different nominal dynamics and unmodeled disturbances across robot types, with neighbors grouped by type; the environment can be modeled as a special type to capture ground effect or air drag.Neighbor membership is determined by an experimentally designed cuboid interaction volume.Source: B. Heterogeneous Swarm Dynamics · p. 3
C. Interaction-Aware Motion Planning & Control
- The team objective is to move each heterogeneous robot from its start state to its goal while respecting dynamics, type-specific control and free-space limits, safety distances, and interaction-force and torque bounds.The minimum safety distance depends on the pair of robot types; the planning horizon is also a decision variable.Source: C. Interaction-Aware Motion Planning &… · p. 4
- Because real-time distributed solution of the joint optimal-control problem is intractable, the approach plans offline and tracks trajectories online, evaluating success by the worst tracking error across the team.This metric reflects that robots in the same team can face different task difficulty; minimizing it is intended to improve tracking and safety during tight formation flight.Source: C. Interaction-Aware Motion Planning &… · p. 4
IV. LEARNING OF SWARM AERODYNAMIC INTERACTION
The section develops permutation-invariant DNN models for aerodynamic interactions, extending deep sets to heterogeneous neighbor groups and constraining network Lipschitz behavior with spectral normalization. It also describes cumulative data collection and reports predictions on swarms larger than those used for training.
IV. LEARNING OF SWARM AERODYNAMIC INTERACTION
- The learning approach seeks strong Lipschitz properties, generalization to new test cases, and compact encodings for computational and statistical efficiency.Heterogeneous deep sets and spectral normalization are introduced to address these requirements.Source: §IV · p. 4
A. Homogeneous Permutation-Invariant Neural Networks
- For homogeneous neighbors, deep sets encode each neighbor with φ, sum the encodings, and apply ρ; the architecture can approximate continuous permutation-invariant vector-valued functions.The inner sum makes the representation invariant to neighbor ordering.Source: A. Homogeneous Permutation-Invariant… · pp. 4–5
B. Heterogeneous K-Group Permutation-Invariant DNN
- Heterogeneous deep sets preserve approximation power for K-group permutation-invariant functions, while their feed-forward computation grows linearly with neighbor count and require 2K networks for K robot types.The representation uses type-specific neighbor encoders and an outer mapping; the stated computational and network-count scaling is linear.Source: B. Heterogeneous K-Group… · p. 6
- Good predictions for five-multirotor swarms were observed after training on one to three, and one hour of flight data sufficed to learn interactions among two to five multirotors.Theoretical analysis of generalization to larger swarms is identified as future work.Source: B. Heterogeneous K-Group… · p. 6
C. Spectral Normalization for Robustness and Generalization
- Spectral normalization constrains DNN Lipschitz constants, bounding output changes under input perturbations and supporting robustness and stability analysis.The paper applies it to both φ and ρ networks.Source: C. Spectral Normalization for… · p. 6
D. Curriculum Learning
- Cumulative data collection first learns from two multirotors without a DNN, then uses the learned model during collection before increasing the number of vehicles.The feed-forward learned model permits closer-proximity flight during subsequent data collection.Source: D. Curriculum Learning · p. 6
V. INTERACTION-AWARE MULTI-ROBOT PLANNING
The planner handles nonlinear coupling from learned interaction forces with a two-stage approach: sampling-based search finds feasible trajectories, then sequential convex programming refines them. Both stages account for interactions among robots, including limits on forces affecting neighbors.
V. INTERACTION-AWARE MULTI-ROBOT PLANNING
- Sequentially planning robots with learned interactions makes their dynamics coupled and nonlinear, complicating motion planning despite treating other robots as dynamic obstacles.The planner approximately solves the problem offline using double-integrator dynamics and sequential planning.Source: §V · p. 7
A. Stage 1: Sampling-Based Planning using Interaction Forces
- Stage 1 rejects motions that exceed bounds on a robot’s own interaction force or violate a trust region on changes to neighbors’ forces, addressing asymmetric interactions.The trust region limits force changes on all neighbors when planning for a robot.Source: §V · p. 7, A. Stage 1: Sampling-Based Planning… · p. 8
V. INTERACTION-AWARE MULTI-ROBOT PLANNING
- A hybrid planner first finds feasible trajectories with kinodynamic sampling, then uses sequential convex programming to reach desired states and reduce the energy objective within the selected trajectory class.Stage 1 fixes the duration and identifies a trajectory class; Stage 2 refines trajectories toward the exact goals.Source: §V · p. 7
A. Stage 1: Sampling-Based Planning using Interaction Forces
- The Stage 1 planner extends AO-RRT by adding learned interaction forces and time to the state, planning robots in random order and checking candidate states against collisions and interaction-force limits.AO-RRT repeats searches with decreasing cost bounds after finding solutions.Source: A. Stage 1: Sampling-Based Planning… · pp. 7–8
B. Stage 2: Optimization-Based Motion Planning
- Sequential convex programs are solved in sequence, with linearization around the Stage 1 trajectory initially and the previous iteration’s solution thereafter; they converge to a locally optimal solution.Source: B. Stage 2: Optimization-Based Motion… · p. 9
VI. INTERACTION-AWARE TRACKING CONTROLLER
The controller augments multirotor position and attitude control to account for interaction forces and torques and compensate for motor delays. Under bounded learning-error assumptions, the analysis establishes exponential convergence results for tracking errors and output wrench error.
VI. INTERACTION-AWARE TRACKING CONTROLLER
- The tracking controller augments nonlinear position and attitude controllers to account for interaction forces and torques and compensate for motor delays.It can track arbitrary desired trajectories, including trajectories not generated by the paper’s planner.Source: §VI · p. 9
B. Analysis of Stability and Robustness
- The controller assumes uniformly bounded DNN approximation errors and bounded time derivatives of those errors for its stability analysis.The position and attitude controllers are described as able to handle bounded model disturbances.Source: B. Analysis of Stability and Robustness · p. 9
- Position and attitude tracking errors converge exponentially to error balls under the stated bounded-error assumption.The attitude error ball is determined by the bound on the time derivative of the approximation error.Source: B. Analysis of Stability and Robustness · pp. 9–10
- With motor delay, the controllers exponentially stabilize augmented position, attitude, and output-wrench error states when the motor-delay constant is obtained from testing.The analysis also gives an exponential stabilization result for the output-wrench error.Source: B. Analysis of Stability and Robustness · p. 10
- With small modeling errors on the delay parameter, delay compensation can cancel some delay effects and improve tracking in practice; it can also handle signal transport delays.For the small quadrotors in the experiments, signal transport delays are on the same order as motor delay.Source: B. Analysis of Stability and Robustness · p. 10
VII. EXPERIMENTS
Experiments evaluate calibration, data collection, learning, interaction-aware planning, and flight control across heterogeneous multirotor teams. The results show improved tracking in swapping tasks and generalization to teams larger than those used for training.
A. Calibration and System Identification of Different Robots
- The team calibrated thrust-related polynomial models using measured PWM, battery voltage, and force, and approximated the slightly asymmetric control delay with a symmetric model.The remaining inertia and thrust-to-torque parameters came from prior literature.Source: A. Calibration and System… · p. 11
B. Data Collection
- Twelve scenarios combined random-walk and swapping flights to cover interactions, ground effect, and speeds from 0 to 2 m/s, yielding 1.4 million data pairs.Seven percent of collected data involved speeds of at least 0.5 m/s to learn aerodynamic drag.Source: B. Data Collection · p. 11
C. Learning Results and Ablation Analysis
- Four-layer networks performed better than five-layer networks, which tended to overfit, and slightly better than three-layer networks; larger hidden states increased variance.Mean validation error was not sensitive to hidden-state dimension, and the selected four-layer networks were efficient to evaluate onboard.Source: C. Learning Results and Ablation… · p. 12, Table III · p. 12
- Predicted interactions vary with relative velocity and are not a simple sum of pairwise effects; omitting relative velocity increased mean squared validation error by 18%.The maximum gap between the multi-neighbor prediction and a pairwise superposition was 11.4 g.Source: C. Learning Results and Ablation… · p. 12
D. Motion Planning with Aerodynamics Coupling
- Interaction-aware planning avoids dangerous configurations and keeps tracked interaction forces within chosen bounds, whereas ignoring them produces significant tracking errors and force-limit violations.In the three-robot example, the interaction-ignored plan exceeds the 5 g limits for the small multirotors; across several scenarios, forces were nearly double their limits.Source: D. Motion Planning with Aerodynamics… · p. 13, Figure 6 · p. 14, Figure 7 · p. 14
E. Control Performance in Flight Tests
- 17 cm to 7 cm: median z-error in the “L2S” case, with a large multirotor above a small one briefly, and median z-error improves in all tested cases.Most cases show statistically significant improvement; the baseline uses the same controller and gains but sets interaction force to zero.Source: §VII · p. 10, Figure 8 · p. 14, E. Control Performance in Flight Tests · p. 14
- 15 cm to 10 cm: maximum z-error for a small multirotor in a 16-robot team, despite up to 15 neighbors versus up to 2 in training.In the five-robot flight test, the maximum z-error falls from 10 cm to 5 cm.Source: E. Control Performance in Flight Tests · p. 14, Figure 9 · p. 14
VIII. CONCLUSION
Neural-Swarm2 models aerodynamic interactions to support close-proximity flight of heterogeneous multirotor teams. Its evaluations cover varied swarm sizes and report improved generalization and lower worst-case height error.
VIII. CONCLUSION
- Neural-Swarm2 uses heterogeneous deep sets to predict multirotor interaction forces from neighboring vehicles’ relative positions and velocities.The model also treats the physical environment as a special neighbor to represent ground effect and other unmodeled dynamics.Source: §VIII · p. 15
- The learned forces support interaction-aware motion planning and a real-time, delay-compensated tracking controller, with tracking-error reduction conditional on sufficient maximum thrust.Planning accounts for bounded disturbances and platform thrust limits; the controller uses the predicted forces as a feed-forward term.Source: §VIII · p. 15
- Worst-case height error fell by a factor of two or better across tasks using two to sixteen quadrotors of two sizes.The approach also generalized to a varying number of neighbors and was computationally efficient.Source: §VIII · p. 15