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 robots (communication radius ) forms a dynamic undirected graph; the whole problem is one factor graph on which the joint distribution factorises as
with beliefs kept in information form (, ). 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 .
Each robot runs a two-layer factor-graph stack:
- Global Consensus layer — robot holds its interpretation of the shared parameter , with a prior factor and, per in-range neighbour , an explicit negotiation factor
Because GBP variables are memory-less, each robot keeps a sliding window of 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.
- Discrete decisions as continuous consensus — for options, take and quantise only to read out the decision: , . The negotiation itself stays Gaussian and continuous.
- Path Planning layer — states over a horizon, with a new non-holonomic unicycle factor (driven to 0, aligning velocity with heading) and a smoothed inter-robot collision factor . For shape formation, goals are picked by KD-tree nearest-neighbour search over formation points augmented with an “occupancy weighting” that decays when neighbours leave communication range.
Results
- Continuous consensus (shape formation): convergence defined as mean inter-robot deviation below 0.1 m in position and 0.01 rad in heading; over 50 trials in a 100×100 m arena, DANCeRS converges an order of magnitude faster (in message-passing iterations) than the mean-shift consensus baseline of Sun et al. 2023, with convergence accelerating as , robot count , and window grow. It also forms disjoint shapes (’!’, ‘wifi’, smiley face) that mean-shift methods, limited to one connected component, cannot.
- Discrete consensus: against entropy-based (ECA) and probabilistic (PCA) consensus baselines, at m ECA failed to converge at all; at larger DANCeRS took a roughly constant number of iterations as increased. A sweep supports as a favourable upper bound on consensus-factor strength.
- Informed robots (, m): with a single seed robot () DANCeRS converged to the seed decision in 80% of trials and in 100% for , versus PCA’s 9%→94% over – and ECA’s 0% throughout.
- Cost: each inter-robot message is an -vector plus an symmetric covariance, with for shape formation and for discrete consensus — lightweight enough for low-power devices.
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.