Original paperSourceNo author review
Make your paper interactiveCreate

Text from the interactive explanation

PULSE: an algorithm for multi-agent centralised high-density maritime traffic management based on guidance games

Luka Grgičević, Erlend M. Coates

Eight ships are heading for the same point. A shore-based traffic centre plays a quick game on their behalf. Every ship weighs safety, the rules of the road and its own schedule. Then the centre broadcasts one speed-and-heading instruction to each ship. Watch the game play out, then change who plays and how.

An independent, simplified re-implementation of PULSE's update rules with an illustrative utility oracle (geometry and timing as in the paper: τu = 35 s, τψ = 30 s, prediction horizon Δ = 100 s, one game every δ = 44 s). Each game takes milliseconds to compute and is replayed here in slow motion. Sailing runs about 20× faster than real time.

k₁ weighs externalities (collision risk, COLREG compliance); k₂ = 1 − k₁ weighs the ship's own efficiency. Any setting change restarts the run.

Fan : each dot is one speed/heading option at its predicted position 100 s ahead. Dot size shows its share of the ship's mixed strategy.

Amber chord : the pair of ships whose two-player game is being played on this tick.

Magenta ring : a pulse, the broadcast of one pure strategy per ship. The magenta line shows the advised track.

Teal rings : where a course-changing message was received. Dashed : the original planned route.

What the paper found. In the authors' simulator, eight vessels started on a circle and would have collided at the centre. Over 37 consecutive games, PULSE advised a sequence of starboard turns. The pinwheel it produced was only marginally different from the classical method's. Your run above uses a simpler stand-in for the authors' reward framework, so its numbers are illustrative. The pattern is the same.

1Inside one game

2Gossip, not roll-call

3A choice crystallises

4The safety dial

5Conclusion

§Sources

Inside one game: a web of two-player tables

The coordinator never scores every combination of every ship's options. It builds one small payoff table per pair of ships and lets good options spread.

Ships as crowds. Each ship is modelled as a population, as if it were many copies of itself, each committed to one option. The share of copies using each option is the ship's mixed strategy, a probability distribution over its menu of speed and heading changes. The bars at each node show it.

Pairs instead of everything. Scoring every combination explodes. A full game with n ships and m options each needs n·mn evaluations. PULSE builds a polymatrix game instead. On every pair of ships sits an m × m payoff table Fjk, computed while all other ships are assumed to stay passive on their current course and speed.

One scoring rule. Every entry comes from the same utility oracle:

The externalities us (collision risk and compliance with COLREG, the international rules for avoiding collisions at sea) pull against the internal preferences uo (do not deviate, do not run aground). Entries are bounded between 0 and 1, so the authors call these guidance games.

Good options grow. Under replicator dynamics, an option's share grows when it scores above the ship's current average and shrinks when it scores below. Click an edge to inspect its two tables.

Gossip, not roll-call

The single change that makes PULSE fast is which payoffs update a ship's mixed strategy on each tick of the clock.

Classical: ordered vertex selection. Each tick picks one ship. It adds up its payoffs against all other ships and updates its mixed strategy. That costs n − 1 table lookups per tick, so it gets slower as ships are added.

PULSE: random edge selection. Each tick picks one random pair. Both ships update using only their shared table, as if briefly separated from the rest. The cost per tick is two lookups however many ships are present, and each ship is updated on average 2t/n times by time-out t.

The authors compare this to two classic consensus algorithms. In average consensus, everyone listens to everyone at once. In gossip, one random pair meets and both move to the midpoint. Both reach the same agreement and differ only in speed and messaging.

—

Milliseconds measured by the authors with the NetLogo profiler for a fixed time-out t = 500, uniform starting strategies. Table 5: 5 × 5 options per ship. Table 4: three ships. Both methods found the same equilibrium (every ship turns 20° to starboard). Building the payoff tables still grows with the number of ships.

Watch a choice crystallise

With three options per ship, a mixed strategy is a point in a triangle (a 2-simplex). The corners are the pure choices. The dynamics carry every starting mix to a corner, an evolutionarily stable state.

—

Simulated This is the paper's three-ship scenario (its Fig. 2). Ship 0 heads north, ships 1 and 2 head −120° and +120°, and all three converge. Each ship has three options: 5° to port, keep course, or 5° to starboard, as in the paper's Figs. 5–7. Tap inside a triangle to set that ship's starting mix (the partner starts from the centre) and watch the replicator trajectory run on that edge alone.

As in the paper's figures, every start converges to the same corner along a curved path. The corner is a pure strategy and an evolutionarily stable state: nudge the population slightly and it rolls back. Move the encounter further apart and the stable corner switches from a starboard turn to keeping course.

Why the coordinator starts in the middle

The authors ran the three-ship, 49-option game repeatedly from different starting distributions Reported. Starting from the uniform distribution (the centre of the simplex) gave the same advice every time. Skewed binomial starts scattered, because some options got dominated early and their mass shrank to tiny numbers.

Pick a starting distribution to replay the reported runs.

Each tile is one reported run (Tables 2–3). The three arrows are ships 0, 1, 2. Rotation shows the advised heading change, and a dot marks a speed change. Magenta outline: all three keep speed and turn 20° to starboard.

The safety dial

One pair of weights decides how much a ship's own schedule matters against everyone else's safety.

—

In a head-on encounter between two similar-sized ships, each with nine options, the authors varied only k1 (with k2 = 1 − k1). They recorded the closest the two ships came while following the broadcast equilibria Reported.

When efficiency dominates (k1 = 0.1), neither ship is willing to deviate and they meet: a distance of zero. Raising the safety weight widens the pass to 2.4, 3.4, 6.8 and finally 19 ship lengths. Parameters like this could be tuned per traffic scenario. The authors suggest that the worst-performing ship's payoff, or a price-of-anarchy-style ratio, could serve as the safety measure.

Distances are from Table 1 of the paper. The animation is illustrative and drawn to scale (one ship length is marked).

Conclusion: a new way to play polymatrix games, and its price

PULSE changes one line of a classical game-theory recipe and gets a search time that no longer grows with the number of players. What it gains in speed, it gives up in guarantees.

What is new for game theory

In the classical recipe (ordered vertex selection, eq. 12), a player revises its mixed strategy against the sum of all n − 1 of its two-player tables. PULSE (eq. 15) instead draws one edge of the complete graph at random, and both of its players update against just that one table. The paper calls this a novel payoff-vector calculation for polymatrix games solved with evolutionary dynamics.

Each tick costs two m × m table lookups instead of n − 1. With a fixed time-out t = 500 and 25 options per ship, the reported search time stayed at 115 ms for 3, 4, 5 and 6 ships. The classical search took 398, 772, 810 and 1284 ms Reported.

In the three-ship tests both solvers broadcast the same pure equilibrium, with every vessel turning 20° to starboard (Table 4). With six ships, a few setpoints differed because of the preset time-out (Table 6). Over 37 consecutive games with eight vessels, the two pinwheels differed only marginally (Fig. 13) Reported. The authors read this as evidence of sufficient accuracy for maritime use.

Guidance games turn a rich, non-convex reward framework (collision risk, rules of the road, energy, grounding) into a succinct normal-form polymatrix game whose pure equilibria can be broadcast directly as speed and heading setpoints. The authors see uses beyond shipping, for example air traffic management.

Is it the best practical way to solve polymatrix games?

Not shown, and the paper does not claim it. PULSE is compared only with the classical, ordered-vertex variant of the same replicator dynamics. Benchmarking against other equilibrium solvers is listed as future work. No method is known to be both fast and guaranteed in general: computing an approximate Nash equilibrium of a polymatrix game is PPAD-complete even for some constant approximation ε (Rubinstein 2015; Deligkas et al. 2023). Every practical solver therefore trades something. Here is what older approaches offer that PULSE gives up.

Balancing speed and accuracy in big multiplayer games

—

—

The vertical axis counts how often the broadcast profile is an equilibrium: no ship could gain more than 1% of its payoff range by switching on its own (a regret check, eq. 6). The horizontal axis counts the solver's arithmetic. Both solvers run the same code and the same simplified reward oracle as the harbour above. The traffic pictures are random and larger than the paper's.

With 4 or 8 ships the classical solver gets there with less work. From about 12 ships on, PULSE reaches the same reliability with roughly two to four times less work, and the gap widens as ships are added. The reason is the paper's own arithmetic: each ship's strategy is revised about 2t/n times, so t must grow with n, but each revision costs only one table rather than n − 1.

Two limits remain. In these random pictures, a few well-informed revisions are usually enough. In harder games the paper saw competing strategies last more than a thousand edge selections, and the accuracy cost "might be big". The solver is also no longer the bottleneck: at six ships, building the tables took 2900 ms against PULSE's 115 ms search Reported.

A practical recipe

Few ships, or certainty needed Use the classical vertex solver or an exact method. The extra cost is small, and these methods converge more reliably.

Many ships, hard deadline Use PULSE, and scale t with n so that each ship is revised often enough (about 2t/n times). Never cut t short: the authors warn that a premature time-out degrades the advice.

Pick at the tipping point The authors suggest taking a ship's dominant option once its mass passes 50%.

Check before broadcasting Our suggestion Computing the regret of the rounded profile takes about n²·m lookups, much cheaper than solving. If it fails, run more ticks. This adds back an a-posteriori guarantee.

Spend effort on the tables Building the game grows with n² for both solvers. That cost, not the search, now dominates.

Source & credits

Open access under a Creative Commons Attribution 4.0 International License. Figures 1 and 13 are reproduced from the article and resized.

Simulations on this page are an independent, simplified re-implementation of the PULSE update rules (eqs. 10, 12 and 15) with an illustrative utility oracle. The authors' simulator and full reward framework (their previous work) are not reproduced. Timing, distance and initial-condition results labelled "Reported" come from the paper's Tables 1–5.

The authors' simulation data come from their multi-agent maritime traffic simulator, which is held in a private repository of the SFI AutoShip research project.

The speed–accuracy chart in the conclusion is our own simulation with the simplified oracle on random traffic pictures. Its numbers are not the paper's. The solver references in the comparison table are those cited by the paper: Lemke & Howson (1964), Howson (1972), Deligkas et al. (2014/2017, 2023), Rubinstein (2015), Goldberg & Katzman (2022), Candogan et al. (2010–2013), Sandholm (2010), Marris et al. (2022) and Lan (2020).

Topics in this iPaper

Engineering
PULSE is an algorithm for multi-agent centralised maritime traffic management

Abstract, page 1

Computer science
Polymatrix games are graph-based, succinct game representations

Abstract, page 1

Mathematics
a novel approach to solve polymatrix games through evolutionary dynamics

Abstract, page 1

game theory
PULSE is a game-theoretical, multi-agent simulation-based model predictive control planner

Abstract, page 1

nash equilibrium
These are pure Nash equilibria or their approximations intended for broadcast by the central coordinator

Abstract, page 1

polymatrix games
Polymatrix games are graph-based, succinct game representations

Abstract, page 1

evolutionary dynamics
a novel approach to solve polymatrix games through evolutionary dynamics

Abstract, page 1

maritime traffic management
vessel traffic services can provide navigational assistance and decision support to vessels

Abstract, page 1

collision avoidance
PULSE is a multi-vessel collision avoidance algorithm

Section 1.3, page 3

model predictive control
simulation-based model predictive control planner

Abstract, page 1

multi agent systems
a collective of rational agents with potentially conflicting objectives

Section 1.1, page 2