Mobility Matters
Home›Mobile agents on graphs›Exploration›Collaborative exploration›Dispersion

Dispersion

Spread \(k \le n\) agents over the nodes of an \(n\)-node anonymous graph so that no node hosts more than one agent, as fast as possible and with as little memory per agent as possible.

Problem statement and measuresexpand

Given a connected graph \(G\) with \(n\) nodes and \(m\) edges, and \(k \le n\) agents placed on the nodes of \(G\) in any initial configuration (the node of each agent; several agents may share a node), the agents must reach a configuration in which every node hosts at most one agent, and stay there.

Time is the number of rounds (synchronous) or epochs (asynchronous; an epoch is an interval in which every agent completes at least one full Communicate–Compute–Move step, not necessarily the shortest one) until the dispersed configuration is reached; where a result also makes every agent terminate explicitly, the notes say so. Memory is the number of bits of persistent memory each agent needs, counting its \(O(\log k)\)-bit identifier. Unless a variant or a result says otherwise, agents know nothing about \(n\), \(m\), \(k\), \(\Delta\) or \(D\).

Dispersion is the natural "one agent per node" problem: it is equivalent to leaving one agent at every node of a depth-first search (DFS) tree of \(k\) nodes, which is why depth-first search bounds such as \(\min(m, k\Delta)\) appear throughout, and it is a building block for exploration, leader election and self-deployment of agents.

Measures: Time, rounds in the synchronous model, epochs in the asynchronous model, until dispersion is reached; Memory, bits of persistent memory per agent, including its identifier.

Crash faults on oriented grids

verified
Time: polynomial gapMemory: tight

On oriented grids crashes are free for \(k = \Omega(n)\): the fault-free \(\Theta(\sqrt n)\) bound survives any number of crashes.

Assumed (added on the last edge are outlined)

+Graph dynamicsstatic graph+Edge directionundirected+Number of agents\(k \le n\)+Identifiersdistinct identifiers (eponymous): agents have pairwise distinct identifiers+Topologygrid+Grid orientationoriented grid (consistent North, East, South, West ports)+Faultsup to \(f\) agents may crash (stop forever)+Communicationlocal (co-located agents communicate)+Timingsynchronous rounds

Not assumed

RandomnessdeterministicNode memoryno whiteboardsNode identifiersanonymous nodesInitial configurationarbitrary (agents on any \(\ell \le k\) nodes)
Formal definitions of this setting
Graph dynamics: static graph
\(G_t=G\) for all \(t\): the edge set never changes.
Edge direction: undirected
\(G=(V,E)\) with \(E\subseteq\binom V2\); every edge can be traversed in both directions.
Number of agents: \(k \le n\)
The number of agents satisfies \(1\le k\le n\).
Identifiers: distinct IDs (eponymous)
Distinct identifiers (eponymous agents): the label function \(\mathrm{id}:\{1,\dots,k\}\to\{1,\dots,L\}\) is injective; usually \(L=k^{O(1)}\), so a label takes \(O(\log k)\) bits.
Randomness: deterministic
The next state and move of an agent are a function of its current state and what it observes.
Topology: grid
\(G\) is a \(\sqrt n\times\sqrt n\) grid graph; whether ports are globally consistent (oriented) is stated per result.
Grid orientation: oriented
The graph is a grid with nodes \((x,y)\), and every node labels its ports North, East, South and West consistently: the port North of \((x,y)\) leads to \((x,y+1)\), East to \((x+1,y)\), South to \((x,y-1)\) and West to \((x-1,y)\), whenever that neighbour exists. The same direction carries the same label at every node, so an agent can keep moving along a row or column; a boundary node is recognised by its missing ports.
Faults: at most crash faults
Up to \(f\) agents may stop forever at an adversarially chosen time; a crashed agent stays at its node (or vanishes, as stated per result) and never acts again.
Communication: local communication
Agents at the same node at the same time can read each other's entire memory (face-to-face communication). Agents crossing on an edge do not meet.
Timing: synchronous
Time proceeds in rounds \(t=1,2,\dots\); in every round every agent communicates, computes and moves (at most one edge) simultaneously.
Node memory: no whiteboards
Nodes have no storage: no information can be left at a node except by an agent staying there.
Node identifiers: anonymous nodes
Nodes have no identifiers; an agent at \(v\) sees only \(\deg(v)\) and the port numbers \(1,\dots,\deg(v)\), which are assigned locally and independently at each endpoint of an edge.
Initial configuration: any start
Agents start at arbitrary nodes; \(\ell\le k\) nodes are initially occupied, possibly with several agents each.

What is known

Time · rounds in the synchronous model, epochs in the asynchronous model, until dispersion is reached
polynomial gap
\(\Theta(\sqrt n)\) for \(k = \Omega(n)\); for \(k = o(n)\), \(O(\sqrt n)\) versus \(\Omega(\sqrt k)\), a factor \(\sqrt{n/k}\). Without faults \(O(\sqrt k)\) is known on oriented grids Kumar et al. 2026a (preprint).
lower bound
\(\Omega(\sqrt k)\) Kshemkalyani et al. 2020c
bottleneckdistance
holds when
  • \(k\) agents on one node: a grid ball of radius \(r\) holds \(O(r^2)\) nodes
  • any algorithm
\(\Omega(\sqrt n)\) when \(k = \Omega(n)\).
introductory
\(O(\sqrt n)\)
knows \(n\)
current best
\(O(\sqrt n)\)
Memory · bits of persistent memory per agent, including its identifier
tight
\(O(\log n)\) versus \(\Omega(\log k)\): \(\Theta(\log n)\) when \(k = n^{\Omega(1)}\).
lower bound
\(\Omega(\log k)\) Kshemkalyani et al. 2020c
bottlenecksymmetry breaking
holds when
  • deterministic
  • all agents have the same memory bound
  • an initial configuration with co-located agents (rooted suffices)
  • memory counts the identifier
introductory
\(O(\log n)\)
knows \(n\)
current best
\(O(\log n)\)

Results, in order of publication

Time \(O(\sqrt n)\)Memory \(O(\log n)\)
knows \(n\)

Its Theorem 1 (Section 4): \(f \le k \le n\) crashed agents; the authors remark that the algorithm can be modified to work without knowing \(n\). The same paper treats unoriented grids with crashes (that setting).

Time \(O(\sqrt n)\)Memory \(O(\log n)\)

Any \(f \le n\), no knowledge of \(n\); stated for \(k = n\) and, by its Remark 2, for every \(k \le n\); optimal in both measures for \(k = \Omega(n)\).

Open questions

  1. Crash-tolerant dispersion in \(O(\sqrt k)\) rounds on oriented grids for \(k = o(n)\); the fault-free case is solved by Kumar et al. 2026a (preprint), which names fault tolerance as future work.

What carries over from neighbouring settings

Read off the order of assumptions, not checked case by case: results may carry extra assumptions (shown on their pages), and asynchronous time is measured in epochs.

Algorithms from weaker settings work here

Crash faults on unoriented grids
Time \(O(\sqrt n\log n)\)Memory \(O(\sqrt n\log n)\)
Weak Byzantine agents on oriented grids
Time \(O(\sqrt n)\)Memory \(O(n\log n)\)

Lower bounds from stronger settings hold here

Oriented grids
Time \(\Omega(\sqrt k)\)Memory \(\Omega(\log k)\)

Know a better result for this setting, or found a mistake? Suggest a result · Report an error. Accepted contributions are acknowledged.