Skip to main content
QUICK REVIEW

[Paper Review] Polynomial Counting in Anonymous Dynamic Networks with Applications to Anonymous Dynamic Algebraic Computations

Dariusz R. Kowalski, Miguel A. Mosteiro|arXiv (Cornell University)|Jul 13, 2017
Distributed systems and fault toleranceComputer Science8 citations
TL;DR

This paper presents Methodical Counting, a deterministic algorithm that solves the anonymous dynamic network counting problem in polynomial time without requiring prior knowledge of network characteristics. By methodically removing potential in controlled intervals and using alarms to track convergence, the algorithm ensures all nodes learn the exact network size and terminate simultaneously, enabling efficient computation of sums and other algebraic functions with worst-case guarantees.

ABSTRACT

Starting with Michail, Chatzigiannakis, and Spirakis work, the problem of Counting the number of nodes in Anonymous Dynamic Networks has attracted a lot of attention. The problem is challenging because nodes are indistinguishable (they lack identifiers and execute the same program) and the topology may change arbitrarily from round to round of communication, as long as the network is connected in each round. The problem is central in distributed computing as the number of participants is frequently needed to make important decisions, such as termination, agreement, synchronization, and many others. A variety of algorithms built on top of mass-distribution techniques have been presented, analyzed, and also experimentally evaluated; some of them assumed additional knowledge of network characteristics, such as bounded degree or given upper bound on the network size. However, the question of whether Counting can be solved deterministically in sub-exponential time remained open. In this work, we answer this question positively by presenting Methodical Counting, which runs in polynomial time and requires no knowledge of network characteristics. Moreover, we also show how to extend Methodical Counting to compute the sum of input values and more complex functions without extra cost. Our analysis leverages previous work on random walks in evolving graphs, combined with carefully chosen alarms in the algorithm that control the process and its parameters. To the best of our knowledge, our Counting algorithm and its extensions to other algebraic and Boolean functions are the first that can be implemented in practice with worst-case guarantees.

Motivation & Objective

  • To resolve the open question of whether deterministic counting in anonymous dynamic networks can be achieved in polynomial time.
  • To design an algorithm that operates without knowledge of network size, degree, or connectivity bounds.
  • To extend the counting solution to compute sums and other algebraic functions efficiently and deterministically.
  • To provide worst-case runtime guarantees for practical deployment in dynamic, anonymous distributed systems.

Proposed method

  • The algorithm uses a mass-distribution mechanism where nodes share a quantity called 'potential' to simulate random walk dynamics.
  • It introduces periodic, methodical removal of potential to control the convergence process and avoid greedy, uncontrolled dissipation.
  • Alarms are strategically placed to monitor progress and adjust parameters, enabling analysis via parametrized Markov chains.
  • The algorithm verifies candidate network sizes by testing if they fall within a polynomial range of the true size using synchronized epochs.
  • A two-phase epoch structure allows nodes to store and later reconstruct the sum of initial values by multiplying and rounding scaled values from each phase.
  • Extensions to compute sum, average, and symmetric Boolean functions are achieved by combining network size and sum computation with minimal time overhead.

Experimental results

Research questions

  • RQ1Can deterministic counting in anonymous dynamic networks be achieved in polynomial time without prior knowledge of network parameters?
  • RQ2What mechanisms enable worst-case polynomial-time convergence in a highly dynamic, anonymous setting?
  • RQ3Can the counting mechanism be extended to compute algebraic functions like sum and average with exact results and no asymptotic overhead?
  • RQ4How can deterministic convergence be guaranteed in the absence of identifiers, unique leaders, or structural assumptions?

Key findings

  • Methodical Counting solves the counting problem in polynomial time, with all nodes learning the exact network size and terminating simultaneously.
  • The algorithm requires no knowledge of network size, degree, or connectivity bounds, making it applicable to general anonymous dynamic networks.
  • The sum of input values across all nodes can be computed exactly and in polynomial time, with no asymptotic time overhead beyond counting.
  • The approach enables exact computation of symmetric Boolean functions such as AND, OR, XOR, and their complements using only the network size and sum.
  • The algorithm's analysis leverages parametrized Markov chains and controlled mass drift, enabling rigorous worst-case runtime guarantees.
  • All computations, including counting and sum, can be implemented with messages of length O(log n), supporting practical deployment with bounded communication overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.