Where Delay Compensation Belongs in a Decentralized Mean-Field-Game Swarm with a Control-Barrier Safety Filter

Jan Mikołajczyk, Igor Rostkowski, Bartosz Ogórkiewicz, Szymon Skierski, Sylwia Opat, Wojciech Rybak, Mikołaj Sczogiel, Radosław Pałys, Jan Gogulski, Bartosz Kościołek, Andrzej Pijanowski, Szymon Kowalski, Marcin MisiewiczarXiv 2026 · arXiv

TL;DR

When you scale a drone swarm, communication delays grow alongside the number of robots, eventually leading to catastrophic mid-air collisions. This paper discovers that you don't need to fix this delay everywhere: while the "safety filter" that prevents crashes is incredibly fragile to old data, the "routing layer" that guides the swarm is surprisingly robust because it cares about the crowd's average density rather than individual positions.

What Problem Does This Paper Address?

Imagine a hundred drones trying to fly through a narrow gate. To do this safely, they usually use a two-layer "stack":

  1. The Routing Layer: This is the "plan." It tells each drone the best path to the goal while avoiding congestion.
  2. The Safety Filter: This is the "execution." It makes tiny, millisecond-by-millisecond adjustments to ensure no two drones occupy the same space.

The problem is staleness. Most swarms communicate using TDMA (Time-Division Multiple Access), essentially a "round-robin" where each drone takes a turn to speak. As you add more drones, the "frame" (the time it takes for everyone to speak once) gets longer. By the time Drone A hears where Drone B is, that information might be half a second old.

Previous research suggested that swarms start crashing once they grow beyond about 20 agents because of this delay. The authors wanted to know: Why exactly does it break, and where in the software stack should we apply the "fix" (delay compensation)?

Methods

The authors studied a decentralized swarm using two specific mathematical frameworks:

  • Mean-Field Games (MFG) for Routing: Instead of planning a path for every single drone, MFG treats the swarm like a fluid. It creates a "velocity field" that agents follow.
  • Control-Barrier Functions (CBF) for Safety: This acts as a mathematical "shield" around each agent, minimally modifying the routing velocity to maintain a safety margin.

To fight the delay, they tested several on-board predictors that guess where a neighbor is now based on where they were then:

  • cv: Simple constant-velocity extrapolation.
  • cv-ls: A more stable version using a least-squares fit over the last four broadcasts.
  • learned: A tiny neural network (MLP) trained to predict relative positions.

Crucially, they performed a "layer-split" experiment, giving the compensated (predicted) positions to only the routing layer, only the safety layer, or both, to see which one actually benefited.

Datasets

The study was conducted in a custom simulation environment. They used three distinct arena layouts to test different swarm behaviors:

  1. Single Gate: A simple bottleneck.
  2. Two Gates: Forces the swarm to split and merge.
  3. Gate and Pillar: Introduces a solid obstacle in the flow.
The three layouts used in the simulation, showing a 100-agent swarm moving from the start chamber to the goal.

Key Insights and Ideas

  • The "Crowd Average" is Robust: The most striking finding is that the routing layer (MFG) is almost immune to delay. Because it reacts to the local density of the crowd—an average over many neighbors—the "noise" from stale data tends to cancel out. It doesn't matter if you don't know exactly where "Drone #42" is, as long as you know the general crowd density in that area.
  • Safety is Pairwise and Fragile: The safety filter (CBF) is the opposite. It operates on specific pairs of drones. If your estimate of a neighbor is off by 40cm because of a delay, that's the difference between a near-miss and a collision.
  • The "Margin Trap": You might think the easy fix is just to give the drones a wider safety margin. The authors show this actually increases collisions in bottlenecks. Drones get so "scared" of each other that they jam up the entrance, forcing the safety filter to relax its constraints just to keep things moving, which leads to crashes.
  • Predictors have a "Floor": Below a certain delay threshold (around 125ms), you shouldn't use a predictor at all. The predictor's own estimation error can actually cause more collisions than the tiny delay it's trying to fix.

Key Results

  • The Collision Threshold: Without any compensation, swarms are safe up to a frame period of about 125ms to 175ms. Beyond this, collisions rise steeply.
  • Predictor Performance: Adding a predictor to the safety filter extended the tolerated delay significantly. The simple cv-ls fit improved the limit by a factor of 1.4 to 1.7, while the learned neural network improved it by 2.3x.
  • Throughput vs. Safety: Interestingly, staleness doesn't slow the swarm down much (throughput only drops by about 10%), but it makes it much more dangerous.
Figure 2: Fraction of agents that collide against the TDMA frame period on the single gate, mean and standard error over ten seeds (thirty at 125 to 175 ms in panel a). (a) Un- compensated. Dashed: the shared start chamber; solid with dots: every swarm starts at the 100-agent spacing, which for 100 agents is the shared chamber itself. Shaded: no collision in any run. (b) Compensated at 50 and 100 agents, learned (squares) and cv-ls (triangles, dotted), with the uncompen- sated curves faint for reference.

Limitations and Future Work

  • Simulation vs. Reality: The study uses "single-integrator" agents (they can change velocity instantly). Real drones have inertia and complex aerodynamics, which might make them even more sensitive to delay.
  • Offline vs. Online Routing: The routing in this paper was solved offline. If the routing were calculated live on-board based on local sensing, it might become much more sensitive to delays.
  • Hardware Noise: The authors noted that "held noise" (where a sensor reading stays the same until the next update) is more dangerous than "jittery noise." Future work needs to test this on real ultra-wideband (UWB) radios where packet loss and outliers are common.

Summary updated

Abstract

Large robot teams are often run as a plan-then-execute stack. We study a decentralized instance for drone swarms, a mean-field-game (MFG) routing field with a per-agent control-barrier-function (CBF) safety filter, when communication is limited by a shared TDMA channel. Neighbors are known only through noisy range and bearing measurements exchanged in round-robin slots, so the frame, and with it the age of every estimate, grows with swarm size. In simulation this delay reaches both layers but breaks only the safety layer. Without delay, swarms of up to 100 agents do not collide, even with each measurement's noise held for a whole frame; with it, stale estimates at the CBF cause collisions beyond a frame period of 125 to 175 ms, or 75 to 100 ms at 100 agents with held noise, and swarm size sets where that limit lies and how steeply collisions rise. At the MFG, staleness makes the local density noisier without biasing it, and throughput drops by at most a tenth. We then compensate with lightweight on-board predictors, from constant-velocity fits to a small learned network, that estimate each neighbor's position from its last broadcasts. A layer-split experiment shows where prediction is needed: at the CBF it restores safety and extends the tolerated frame period by 1.4 to 1.7 times with an untrained constant-velocity fit and about 2.3 with the learned network when the noise is redrawn each step; with noise held for a frame the two extend it about equally, while at the MFG it only refines the congestion correction. A constant wider safety margin, the simplest alternative, makes collisions more frequent in a bottleneck. With the routing solved offline, that layer is robust to the delay because it sees neighbors only through a crowd average; compensation belongs in the safety filter, switched on only above the uncompensated limit, since below it the predictor's own error adds collisions.
BibTeX
@misc{mikoajczyk2026where,
  author = {Jan Mikołajczyk and Igor Rostkowski and Bartosz Ogórkiewicz and Szymon Skierski and Sylwia Opat and Wojciech Rybak and Mikołaj Sczogiel and Radosław Pałys and Jan Gogulski and Bartosz Kościołek and Andrzej Pijanowski and Szymon Kowalski and Marcin Misiewicz},
  title = {{Where Delay Compensation Belongs in a Decentralized Mean-Field-Game Swarm with a Control-Barrier Safety Filter}},
  year = {2026},
  eprint = {2611.27540},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27540},
}
Figure