Polynomial Anonymous Dynamic Distributed Computing without a Unique Leader

Dariusz R. Kowalski, Miguel A. MosteiroICALP 2019

Abstract

In Anonymous Dynamic Networks (ADNs), nodes lack unique identifiers and communication links evolve arbitrarily over time. Counting the total number of nodes $n$ in such environments is a fundamental challenge. Historically, this task required at least one "distinguished" node (a leader) to break symmetry. This paper introduces two new algorithms that move beyond the single-leader constraint: Methodical Multi-Counting (MMC), which speeds up deterministic counting as the number of leaders increases, and Leaderless Methodical Counting (LLMC), the first polynomial-time randomized algorithm for completely leaderless networks.

Introduction

Anonymous Dynamic Networks represent a highly restrictive model for distributed systems, where nodes are indistinguishable and the network topology is dynamic yet connected. Determining the network size $n$ is a prerequisite for many distributed tasks. While recent breakthroughs achieved polynomial-time counting with exactly one leader, real-world scenarios often involve multiple special nodes or no pre-assigned leaders at all. This research investigates the feasibility and complexity of counting under these relaxed assumptions, providing both new algorithms and impossibility proofs.

Methodology

The proposed algorithms utilize a "potential-based" gossip mechanism, where nodes exchange and average numerical values over time, effectively leveraging the mixing time of the network.

Methodical Multi-Counting (MMC)

MMC is designed for networks with $\ell \ge 1$ known leaders. Leaders monitor the averaging process of "potentials" across the network. By observing the rate of convergence, leaders can determine if their current estimate of $n$ is accurate. A sophisticated system of distributed "alarms" ensures that all nodes reach consensus and terminate simultaneously once the correct count is reached.

Leaderless Methodical Counting (LLMC)

To address networks without any leaders ($\ell=0$), LLMC employs a randomized Monte Carlo strategy. Nodes execute multiple parallel "threads," where in each thread, a node independently decides to act as a leader with a specific probability. By analyzing the outcomes of these threads—specifically identifying those that successfully converged—the nodes can probabilistically determine the true value of $n$ without a pre-assigned leader.

Results and Comparison

The primary contribution of this work is the significant improvement in counting efficiency and the expansion of the problem space to leaderless environments. The authors prove that if the number of leaders $\ell$ is unknown, deterministic counting is impossible, reinforcing the necessity of either knowing $\ell$ or using randomization.

Table 1: Comparison of counting algorithms in Anonymous Dynamic Networks, highlighting the improvements in time complexity and the removal of the single-leader requirement.

As shown in Table 1, MMC achieves a time complexity of $O(n^{4+\epsilon}/\ell \cdot \log^3 n)$, demonstrating that additional leaders provide a speedup factor proportional to $\ell$. For the leaderless case, LLMC provides an "unconscious" count in polynomial time, a first for the field. Both new algorithms operate within PSPACE complexity, maintaining feasibility for resource-constrained environments.

Conclusion

This work breaks the "unique leader" bottleneck in ADN counting. By leveraging multiple leaders or randomization, the proposed algorithms achieve polynomial-time results in previously impossible or inefficient scenarios. Future research will focus on achieving termination in leaderless counting and further tightening the complexity bounds for large-scale applications such as massive IoT networks.

Summary updated

BibTeX
@inproceedings{kowalski2019polynomial,
  author = {Dariusz R. Kowalski and Miguel A. Mosteiro},
  title = {{Polynomial Anonymous Dynamic Distributed Computing without a Unique Leader}},
  booktitle = {ICALP},
  year = {2019},
  doi = {10.4230/lipics.icalp.2019.147},
}
Figure