# Learning Decentralized Flocking Controllers with Spatio-Temporal Graph Neural Network

arXiv: https://arxiv.org/abs/2309.17437 · HTML: https://mlsanity.com/paper/2309.17437/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 16 of its 33 references that are in the map.
- First posted on arXiv 29 Sep 2023.

## Builds on (most cited first, 16 of 16)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [Semi-Supervised Classification with Graph Convolutional Networks](https://mlsanity.com/paper/1609.02907/) (2016)
- [Inductive Representation Learning on Large Graphs](https://mlsanity.com/paper/1706.02216/) (2017)
- [Graph WaveNet for Deep Spatial-Temporal Graph Modeling](https://mlsanity.com/paper/1906.00121/) (2019)
- [Spatial-Temporal Transformer Networks for Traffic Flow Forecasting](https://mlsanity.com/paper/2001.02908/) (2020)
- [Graph Neural Networks for Decentralized Multi-Robot Path Planning](https://mlsanity.com/paper/1912.06095/) (2019)
- [Learning Decentralized Controllers for Robot Swarms with Graph Neural Networks](https://mlsanity.com/paper/1903.10527/) (2019)
- [Message-Aware Graph Attention Networks for Large-Scale Multi-Robot Path Planning](https://mlsanity.com/paper/2011.13219/) (2020)
- [Sequence Model Imitation Learning with Unobserved Contexts](https://mlsanity.com/paper/2208.02225/) (2022)
- [Multi-Robot Coverage and Exploration using Spatial Graph Neural Networks](https://mlsanity.com/paper/2011.01119/) (2020)
- [Graph Neural Networks for Decentralized Multi-Robot Submodular Action Selection](https://mlsanity.com/paper/2105.08601/) (2021)
- [Resilient Active Target Tracking with Multiple Robots](https://mlsanity.com/paper/1809.04032/) (2018)
- [ModGNN: Expert Policy Approximation in Multi-Agent Systems with a Modular Graph Neural Network Architecture](https://mlsanity.com/paper/2103.13446/) (2021)
- [Space-Time Graph Neural Networks with Stochastic Graph Perturbations](https://mlsanity.com/paper/2210.16270/) (2022)
- [D2CoPlan: A Differentiable Decentralized Planner for Multi-Robot Coverage](https://mlsanity.com/paper/2209.09292/) (2022)
- [Graph Neural Networks for Decentralized Multi-Agent Perimeter Defense](https://mlsanity.com/paper/2301.09689/) (2023)

## Built on by (most cited first, 2 of 2)

- [Large Language Models for Multi-Robot Systems: A Survey](https://mlsanity.com/paper/2502.03814/) (2025)
- [Complex-Valued GNNs for Distributed Basis-Invariant Control of Planar Systems](https://mlsanity.com/paper/2604.02615/) (2026)

## Abstract (arXiv)

Recently a line of researches has delved the use of graph neural networks (GNNs) for decentralized control in swarm robotics. However, it has been observed that relying solely on the states of immediate neighbors is insufficient to imitate a centralized control policy. To address this limitation, prior studies proposed incorporating L-hop delayed states into the computation. While this approach shows promise, it can lead to a lack of consensus among distant flock members and the formation of small clusters, consequently resulting in the failure of cohesive flocking behaviors. Instead, our approach leverages spatiotemporal GNN, named STGNN that encompasses both spatial and temporal expansions. The spatial expansion collects delayed states from distant neighbors, while the temporal expansion incorporates previous states from immediate neighbors. The broader and more comprehensive information gathered from both expansions results in more effective and accurate predictions. We develop an expert algorithm for controlling a swarm of robots and employ imitation learning to train our decentralized STGNN model based on the expert algorithm. We simulate the proposed STGNN approach in various settings, demonstrating its decentralized capacity to emulate the global expert algorithm. Further, we implemented our approach to achieve cohesive flocking, leader following and obstacle avoidance by a group of Crazyflie drones. The performance of STGNN underscores its potential as an effective and reliable approach for achieving cohesive flocking, leader following and obstacle avoidance tasks.
