Abstract
We consider standard T-interval dynamic networks, under the synchronous timing model and the broadcast CONGEST model. In a T-interval dynamic network, the set of nodes is always fixed and there are no node failures. The edges in the network are always undirected, but the set of edges in the topology may change arbitrarily from round to round, as determined by some adversary and subject to the following constraint: For every T consecutive rounds, the topologies in those rounds must contain a common connected spanning subgraph. Let \(H_r\) to be the maximum (in terms of number of edges) such subgraph for round r through \(r+T-1\). We define the backbone diameter d of a T-interval dynamic network to be the maximum diameter of all such \(H_r\)’s, for \(r\ge 1\). We use n to denote the number of nodes in the network. Within such a context, we consider a range of fundamental distributed computing problems including Count/Max/Median/Sum/LeaderElect/Consensus/ConfirmedFlood. Existing algorithms for these problems all have time complexity of \(\Omega (n)\) rounds, even for \(T=\infty \) and even when d is as small as O(1). This paper presents a novel approach/framework, based on the idea of massively parallel aggregation. Following this approach, we develop a novel deterministic Count algorithm with \(O(d^3 \log ^2 n)\) complexity, for T-interval dynamic networks with \(T \ge c\cdot d^2 \log ^2n\). Here c is a (sufficiently large) constant independent of d, n, and T. To our knowledge, our algorithm is the very first such algorithm whose complexity does not contain a \(\Theta (n)\) term. This paper further develops novel algorithms for solving Max/Median/Sum/LeaderElect/Consensus/ConfirmedFlood, while incurring \(O(d^3 \text{ polylog }(n))\) complexity. Again, for all these problems, our algorithms are the first ones whose time complexity does not contain a \(\Theta (n)\) term.






Similar content being viewed by others
Notes
As in [2, 3, 5, 6], we have assumed that each node has a unique id of size \(O(\log n)\). This means the largest id among the n nodes maps to a loose polynomial upper bound on n. However, finding the largest id among the n nodes is at least as hard as the LeaderElect problem (formally defined later), and hence is non-trivial by itself.
We will mainly be concerned with deterministic algorithms, where it is irrelevant whether the adversary can see and then adapt to the coin flip outcomes in the algorithm. (Namely, it is irrelevant whether the adversary is oblivious or adaptive.)
If H is known, then regardless of whether d is known, one can trivially solve all these problems in O(d) rounds, by doing simple tree-based aggregation over edges in H. If H is not known but d is known, then Max/LeaderElect/Consensus/ConfirmedFlood can all be solved trivially via flooding in O(d) rounds, while Count/Median/Sum remain non-trivial. If neither H nor d is known, then all these problems are non-trivial.
A randomized algorithm is designed either for oblivious adversaries or adaptive adversaries. The complexity of a randomized algorithm is always defined under the worst-case adversary for which the algorithm is designed.
In addition to these algorithms [2, 4,5,6,7] designed for our setting, researchers have also developed algorithms for solving the above problems in anonymous dynamic networks (e.g., [11,12,13,14,15,16]). Obviously, the anonymous setting is harder, and those algorithms for anonymous dynamic networks also all have \(\Omega (n)\) complexity. See more discussion on anonymous dynamic networks later.
While [10] does not explicitly mention the \(\infty \)-interval model, its proofs apply without any change.
Throughout this paper, we only need to be concerned with paths in a given (static) graph. In dynamic networks, sometimes researchers consider dynamic paths [29]—we do not need those.
In comparison, recall that previously in Fig. 1a, b, the corresponding numbers for simple paths were 3 and 2 for node \(u_1\) and \(u_2\), respectively.
If \(l_{{{\tilde{d}}},u}=0\), then node u has no path of length \({{\tilde{d}}}\) to \({{\tilde{\alpha }}}\). This necessarily implies that node v has no path of length \({{\tilde{d}}}-1\) to \({{\tilde{\alpha }}}\), and hence \(l_{{{\tilde{d}}}-1,v}=0\) as well. In such a case, node u will not transfer any value to node v. Hence we define \(\frac{0}{0}=0\) here.
References
Jahja, I., Yu, H.: Sublinear algorithms in \(T\)-interval dynamic networks. In: SPAA (2020)
Abshoff, S., Benter, M., Cord-Landwehr, A., Malatyali, M., Meyer auf der Heide, F.: Token dissemination in geometric dynamic networks. In: ALGOSENSORS (2013)
Ahmadi, M., Kuhn, F.: Multi-message broadcast in dynamic radio networks. In: ALGOSENSORS (2017)
Brandes, P., Meyer auf der Heide, F.: Distributed computing in fault-prone dynamic networks. In: International Workshop on Theoretical Aspects of Dynamic Distributed Systems (2012)
Das Sarma, A., Molla, A., Pandurangan, G.: Fast distributed computation in dynamic networks via random walks. In: DISC (2012)
Haeupler, B., Karger, D.: Faster information dissemination in dynamic networks via network coding. In: PODC (2011)
Kuhn, F., Lynch, N., Oshman, R.: Distributed computation in dynamic networks. In: STOC (2010)
Peleg, D.: Distributed Computing: A Locality-Sensitive Approach. Society for Industrial and Applied Mathematics, Philadelphia, Pennsylvania (1987)
Lynch, N.: Distributed Algorithms. Morgan Kaufmann, San Francisco (1996)
Yu, H., Zhao, Y., Jahja, I.: The cost of unknown diameter in dynamic networks. J. ACM 65(5), 31–13134 (2018)
Chakraborty, M., Milani, A., Mosteiro, M.: A faster exact-counting protocol for anonymous dynamic networks. Algorithmica 80(11), 3023–3049 (2018)
Kowalski, D., Mosteiro, M.: Polynomial counting in anonymous dynamic networks with applications to anonymous dynamic algebraic computations. In: ICALP (2018)
Luna, G., Baldoni, R., Bonomi, S., Chatzigiannakis, I.: Conscious and unconscious counting on anonymous dynamic networks. In: International Conference on Distributed Computing and Networking (2014)
Luna, G., Baldoni, R., Bonomi, S., Chatzigiannakis, I.: Counting in anonymous dynamic networks under worst-case adversary. In: IEEE International Conference on Distributed Computing Systems (2014)
Luna, G., Bonomi, S., Chatzigiannakis, I., Baldoni, R.: Counting in anonymous dynamic networks: an experimental perspective. In: ALGOSENSORS (2013)
Michail, O., Chatzigiannakis, I., Spirakis, P.: Naming and counting in anonymous unknown dynamic networks. In: Proceedings of International Symposium on Stabilization, Safety, and Security of Distributed Systems (2013)
Chen, B., Yu, H., Zhao, Y., Gibbons, P.B.: The cost of fault tolerance in multi-party communication complexity. J. ACM 61(3), 19–11964 (2014)
Kuhn, F., Oshman, R.: The complexity of data aggregation in directed networks. In: DISC (2011)
Kuhn, F., Moses, Y., Oshman, R.: Coordinated consensus in dynamic networks. In: PODC (2011)
Charron-Bost, B., Fugger, M., Nowak, T.: Approximate consensus in highly dynamic networks: the role of averaging algorithms. In: ICALP (2015)
Coulouma, E., Godard, E.: A characterization of dynamic networks where consensus is solvable. In: SIROCCO (2013)
Schmid, U., Weiss, B., Keidar, I.: Impossibility results and lower bounds for consensus under link failures. SIAM J. Comput. 38(5), 1912–1951 (2009)
Augustine, J., Pandurangan, G., Robinson, P.: Fast byzantine agreement in dynamic networks. In: PODC (2013)
Augustine, J., Pandurangan, G., Robinson, P.: Fast byzantine leader election in dynamic networks. In: DISC (2015)
Ingram, R., Shields, P., Walter, J.: An asynchronous leader election algorithm for dynamic networks. In: IPDPS (2009)
Dolev, S.: Self-Stabilization. MIT Press, Cambridge (2000)
Chlebus, B., Kowalski, D., Olkowski, J., Olkowski, J.: Disconnected agreement in networks prone to link failures. In: International Symposium on Stabilizing, Safety, and Security of Distributed Systems (2023)
Hou, R., Jahja, I., Sun, Y., Wu, J., Yu, H.: Achieving sublinear complexity under constant \(T\) in \(T\)-interval dynamic networks. In: SPAA (2022)
Kuhn, F., Oshman, R.: Dynamic networks: models and algorithms. SIGACT News 42(1), 82–96 (2011)
Almeida, P., Baquero, C., Farach-Colton, M., Jesus, P., Mosteiro, M.A.: Fault-tolerant aggregation: flow-updating meets mass-distribution. Distributed Comput. 30(4), 281–291 (2017)
Kempe, D., Dobra, A., Gehrke, J.: Gossip-based computation of aggregate information. In: FOCS (2003)
Terpstra, W.W., Leng, C., Buchmann, A.P.: Brief announcement: practical summation via gossip. In: PODC (2007)
Acknowledgements
We thank Ruomu Hou, the anonymous SPAA 2020 reviewers, and the anonymous Algorithmica reviewers, for their helpful feedback on this paper.
Funding
This research is partly supported by the Ministry of Education, Singapore, under its MOE Academic Research Fund Tier 2 (research Grant No.: MOE2017-T2-2-031). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of the Ministry of Education, Singapore. Irvan Jahja has no relevant financial or non-financial interests to disclose. Haifeng Yu is an Associate Professor in School of Computing, National University of Singapore (NUS).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Jahja, I., Yu, H. Sublinear Algorithms in T-Interval Dynamic Networks. Algorithmica 86, 2959–2996 (2024). https://doi.org/10.1007/s00453-024-01250-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-024-01250-3