DANCeRS

Patwardhan 2025 · Paper

One-line summary — DANCeRS applies Gaussian Belief Propagation to distributed consensus in robot swarms: robots agree on shared decisions — continuous (a formation’s pose) or discrete (best-of-N choices) — through purely local, peer-to-peer message passing on a factor graph, with no central server.

Problem

Robot swarms need cohesive collective behaviour for challenges ranging from shape formation to group decision-making. Existing approaches “often treat consensus in discrete and continuous decision spaces as distinct problems”, each with bespoke algorithms (best-of-N voting and opinion dynamics on one side, neighbour-averaging and mean-shift on the other). DANCeRS asks whether a single distributed inference framework can deliver consensus in both domains while respecting the realities of swarms: local-only communication, dynamic graph topology, and scalability with swarm size.

Method & architecture

The swarm of NN robots (communication radius rCr_C) forms a dynamic undirected graph; the whole problem is one factor graph on which the joint distribution factorises as

p(X)=sfs(Xs),fs(Xs)e12rΛsr,r=zshs(Xs),p(\mathbf{X})=\prod_{s}f_{s}(\mathbf{X}_{s}), \qquad f_{s}(\mathbf{X}_{s})\propto e^{-\frac{1}{2}\mathbf{r}^{\top}\boldsymbol{\Lambda}_{s}\mathbf{r}}, \qquad \mathbf{r}=\mathbf{z}_{s}-\mathbf{h}_{s}(\mathbf{X}_{s}),

with beliefs kept in information form (Λ=Σ1\boldsymbol{\Lambda}=\boldsymbol{\Sigma}^{-1}, η=Λμ\boldsymbol{\eta}=\boldsymbol{\Lambda}\boldsymbol{\mu}). GBP inference is one loop of factor-to-variable messages, variable belief updates, and variable-to-factor messages — all strictly between neighbours. For non-Euclidean states, messages are mapped into the tangent space of the current belief and back via Exp/Log, so variables can live on RM,SO(2),SO(3),SE(2),SE(3)\mathbb{R}^{M}, SO(2), SO(3), SE(2), SE(3).

Each robot runs a two-layer factor-graph stack:

hc(GXi,GXj)=GXiGXj=Log(GXj1GXi).h_{c}\left({}^{\mathcal{G}}X_{i},{}^{\mathcal{G}}X_{j}\right)={}^{\mathcal{G}}X_{i}\ominus{}^{\mathcal{G}}X_{j}=\mathrm{Log}\left({}^{\mathcal{G}}X_{j}^{-1}\cdot{}^{\mathcal{G}}X_{i}\right).

Because GBP variables are memory-less, each robot keeps a sliding window of WW temporally-linked copies; when the oldest is deleted its marginal becomes a new prior, so a robot leaving a group keeps its negotiated mean while its covariance weakens.

Results

Why it matters for SLAM

Collaborative SLAM at swarm scale runs into exactly the problems DANCeRS targets: centralized map servers become bandwidth and reliability bottlenecks, and distributed optimizers must tolerate asynchrony and local-only communication. Demonstrating that GBP-style consensus works across a swarm — on Lie-group variables, under a dynamic graph — supports the vision of factor-graph message passing as the shared machinery for distributed estimation, mapping, planning, and coordination, the same computation that solves BA on a graph processor.