[Paper Review] Optimal Computation in Anonymous Dynamic Networks
This paper introduces history trees—a novel combinatorial structure—to characterize and optimally compute functions in anonymous dynamic networks. It proves that with ℓ≥1 known leaders, all multiset-based functions are computable in O(τn) time, while leaderless networks can only compute frequency-based functions, achieving linear-time optimal algorithms for both stabilizing and terminating computation under minimal assumptions.
We give a simple characterization of which functions can be computed deterministically by anonymous processes in dynamic networks, depending on the number of leaders in the network. In addition, we provide efficient distributed algorithms for computing all such functions assuming minimal or no knowledge about the network. Each of our algorithms comes in two versions: one that terminates with the correct output and a faster one that stabilizes on the correct output without explicit termination. Notably, these are the first deterministic algorithms whose running times scale linearly with both the number of processes and a parameter of the network which we call dynamic disconnectivity (meaning that our dynamic networks do not necessarily have to be connected at all times). We also provide matching lower bounds, showing that all our algorithms are asymptotically optimal for any fixed number of leaders. While most of the existing literature on anonymous dynamic networks relies on classical mass-distribution techniques, our work makes use of a recently introduced combinatorial structure called history tree, also developing its theory in new directions. Among other contributions, our results make definitive progress on two popular fundamental problems for anonymous dynamic networks: leaderless Average Consensus (i.e., computing the mean value of input numbers distributed among the processes) and multi-leader Counting (i.e., determining the exact number of processes in the network). In fact, our approach unifies and improves upon several independent lines of research on anonymous networks, including Nedić et al., IEEE Trans. Automat. Contr. 2009; Olshevsky, SIAM J. Control Optim. 2017; Kowalski-Mosteiro, ICALP 2019, SPAA 2021; Di Luna-Viglietta, FOCS 2022.
Motivation & Objective
- To characterize the full class of functions computable by anonymous processes in dynamic networks based on the number of leaders.
- To design efficient deterministic distributed algorithms that scale linearly with network size n and dynamic disconnectivity τ.
- To close the gap between known lower bounds and upper bounds for terminating and stabilizing computation in anonymous dynamic networks.
- To unify and improve upon prior work on anonymous networks, including Yamashita–Kameda, Boldi–Vigna, and Nedić et al. approaches.
- To demonstrate that general computation in anonymous dynamic networks is practically feasible, even under minimal connectivity and knowledge assumptions.
Proposed method
- Introduces the history tree—a combinatorial structure that captures agent indistinguishability and symmetry in dynamic networks.
- Uses history trees to model and analyze the information available to agents at each round, enabling precise characterization of computable functions.
- Develops two algorithmic variants: one that stabilizes on the correct output without explicit termination, and one that terminates with correct output.
- Employs a subroutine called ApproxCount to estimate network size in leaderless settings, enabling frequency-based function computation.
- Constructs 'vistas'—incremental views of history trees—using message-passing to propagate and merge agent histories across dynamic links.
- Applies lower bound techniques based on symmetry and indistinguishability to prove asymptotic optimality of the algorithms.
Experimental results
Research questions
- RQ1Which functions can be computed deterministically in anonymous dynamic networks, depending on the number of leaders?
- RQ2Can optimal running times be achieved for both stabilizing and terminating computation in anonymous dynamic networks with minimal knowledge assumptions?
- RQ3What is the role of dynamic disconnectivity τ in determining the complexity of computation, and can it be optimized?
- RQ4Can the history tree structure be used to unify and improve upon prior approaches to anonymous network computation?
- RQ5Are there fundamental limits to what can be computed in anonymous dynamic networks, and how do they depend on connectivity and leader count?
Key findings
- All multiset-based functions are computable in τ-union-connected anonymous networks with ℓ≥1 known leaders, and no other functions are computable.
- In leaderless networks, only frequency-based functions are computable, and the Input Frequency function is complete for this class.
- The proposed stabilizing algorithms run in O(τn) time and are asymptotically optimal, with matching lower and upper bounds of roughly 2τn rounds for fixed ℓ.
- For terminating computation with a unique leader, the algorithm runs in O(3τn) rounds, matching a lower bound of 2τn, closing the gap up to a constant factor.
- The algorithms are optimal in both n and τ, with running times linear in both parameters, and the dynamic disconnectivity τ does not affect computability, only complexity.
- The history tree structure fully captures agent-observable information and enables a clean characterization of symmetry and indistinguishability in dynamic networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.