Abstract
The awake complexity of a distributed algorithm measures the number of rounds in which a node is awake. When a node is not awake, it is sleeping and does not do any computation or communication and spends very little resources. Reducing the awake complexity of a distributed algorithm can be relevant in resource-constrained networks such as sensor networks, where saving energy of nodes is crucial. Awake complexity of many fundamental problems such as maximal independent set, maximal matching, coloring, and spanning trees have been studied recently.
In this work, we study the awake complexity of the fundamental distributed minimum spanning tree (MST) problem and present the following results.
-
Lower Bounds.
-
1.
We show a lower bound of \(\varOmega (\log n)\) (where n is the number of nodes in the network) on the awake complexity for computing an MST that holds even for randomized algorithms.
-
2.
To better understand the relationship between the awake complexity and the round complexity (which counts both awake and sleeping rounds), we also prove a trade-off lower bound of \(\tilde{\varOmega }(n)\) (throughout, the \(\tilde{O}\) notation hides a \(\text {polylog } n\) factor and \(\tilde{\varOmega }\) hides a \(1/(\text {polylog } {n})\) factor) on the product of round complexity and awake complexity for any distributed algorithm (even randomized) that outputs an MST. Our lower bound is shown for graphs having diameter ranging from \(\tilde{\varOmega }(\sqrt{n})\) to \(\tilde{\varOmega }(n)\).
-
1.
-
Awake-Optimal Algorithms.
-
1.
We present a distributed randomized algorithm to find an MST that achieves the optimal awake complexity of \(O(\log n)\) (with high probability). Its round complexity is \(O(n \log n)\). We note that by our trade-off lower bound, in general (in terms of n), this is the best round complexity (up to logarithmic factors) for an awake-optimal algorithm.
-
2.
We also show that the \(O(\log n)\) awake complexity bound can be achieved deterministically as well, by presenting a distributed deterministic algorithm that has \(O(\log n)\) awake complexity and \(O(n \log ^5 n)\) round complexity. We also show how to reduce the round complexity to \(O(n \log n \log ^* n)\) at the expense of a slightly increased awake complexity of \(O(\log n \log ^* n)\).
-
1.
-
Trade-Off Algorithms. To complement our trade-off lower bound, we present a parameterized family of distributed algorithms that gives an essentially optimal trade-off (up to \(\text {polylog } n\) factors) between the awake complexity and the round complexity. Specifically we show a family of distributed algorithms that find an MST of the given graph with high probability in \(\tilde{O}(D + 2^k + n/2^k)\) round complexity and \(\tilde{O}(n/2^k)\) awake complexity, where D is the network diameter and integer k is an input parameter to the algorithm. When \(k \in [\max \lbrace \lceil 0.5\log n \rceil , \lceil \log D \rceil \rbrace , \lceil \log n \rceil ]\), we can obtain useful trade-offs.
Our work is a step towards understanding resource-efficient distributed algorithms for fundamental global problems such as MST. It shows that MST can be computed with any node being awake (and hence spending resources) for only \(O(\log n)\) rounds which is significantly better than the fundamental lower bound of \(\tilde{\varOmega }(\text {Diameter}(G)+\sqrt{n})\) rounds for MST in the traditional CONGEST model, where nodes can be active for at least so many rounds.
Part of the work was done while the William K. Moses Jr. was a Post Doctoral Fellow at the University of Houston.
J. Augustine was supported, in part, by DST/SERB MATRICS Grant MTR/2018/001198 and the Centre of Excellence in Cryptography Cybersecurity and Distributed Trust under the IIT Madras Institute of Eminence Scheme and by the VAJRA visiting faculty program of the Government of India.
W. K. Moses Jr. was supported, in part, by NSF grants CCF-1540512, IIS-1633720, and CCF-1717075 and BSF grant 2016419.
G. Pandurangan was supported, in part, by NSF grants CCF-1540512, IIS-1633720, and CCF-1717075 and BSF grant 2016419 and by the VAJRA visiting faculty program of the Government of India.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
- 3.
- 4.
Consider the supergraph where the fragments are nodes and the MOEs are edges. A fragment chain is one such supergraph that forms a path. The exact details of the supergraphs formed are slightly different and explained in the relevant section, but this idea is beneficial to understanding.
- 5.
The product lower bound of \(\tilde{\varOmega }(n)\) is shown for graphs with diameter at least \(\tilde{\varOmega }(\sqrt{n})\). Hence, the near tightness claim holds for graphs in this diameter range.
- 6.
Note that all the B bits cannot solely come through a row path of length c, since we are restricting \(T\in o(c)\). In other words, each of the bits has to go through at least one node in I.
- 7.
In this description, we assumed that \(Transmission\hbox {-}Schedule(\cdot , \cdot , n)\) was started in round 1. However, if \(Transmission\hbox {-}Schedule(\cdot , \cdot , n)\) is started in round r, then just add \(r-1\) to the values mentioned here and in the previous sentence.
- 8.
To observe the sequential nature of the re-alignment, consider a chain with three fragments, say \(A \leftarrow B \leftarrow C\). Suppose A maintains its orientation. The nodes in B must be processed first and must update their distance to A. Only then can the nodes of C accurately update their distance to A (after the node u in C connected to the node v in B learns v’s updated distance to A).
References
Ambühl, C.: An optimal bound for the MST algorithm to compute energy efficient broadcast trees in wireless networks. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds.) ICALP 2005. LNCS, vol. 3580, pp. 1139–1150. Springer, Heidelberg (2005). https://doi.org/10.1007/11523468_92
Augustine, J., Moses Jr., W.K., Pandurangan, G.: Awake complexity of distributed minimum spanning tree. arXiv preprint arXiv:2204.08385 (2022)
Barenboim, L., Maimon, T.: Deterministic logarithmic completeness in the distributed sleeping model. DISC 2021. LIPIcs, vol. 209, pp. 10:1–10:19. https://doi.org/10.4230/LIPIcs.DISC.2021.10
Chang, Y.J., Dani, V., Hayes, T.P., He, Q., Li, W., Pettie, S.: The energy complexity of broadcast. In: PODC 2018, pp. 95–104 (2018)
Chang, Y.J., Dani, V., Hayes, T.P., Pettie, S.: The energy complexity of BFS in radio networks. In: PODC 2020, pp. 273–282 (2020)
Chang, Y., Kopelowitz, T., Pettie, S., Wang, R., Zhan, W.: Exponential separations in the energy complexity of leader election. ACM Trans. Algorithms 15(4), 49:1–49:31 (2019). conference version: STOC 2017
Chatterjee, S., Gmyr, R., Pandurangan, G.: Sleeping is efficient: MIS in O(1)-rounds node-averaged awake complexity. In: PODC 2020, pp. 99–108 (2020)
Dani, V., Gupta, A., Hayes, T.P., Pettie, S.: Wake up and join me! An energy-efficient algorithm for maximal matching in radio networks. In: DISC 2021, pp. 19:1–19:14 (2021)
Dani, V., Hayes, T.P.: How to wake up your neighbors: safe and nearly optimal generic energy conservation in radio networks. In: DISC 2022. LIPIcs, vol. 246, pp. 16:1–16:22 (2021). https://doi.org/10.4230/LIPIcs.DISC.2022.16
Das Sarma, A., et al.: Distributed verification and hardness of distributed approximation. In: STOC 2011, pp. 363–372 (2011)
Das Sarma, A., et al.: Distributed verification and hardness of distributed approximation. SIAM J. Comput. 41(5), 1235–1265 (2012)
Dufoulon, F., Moses Jr., W.K., Pandurangan, G.: Distributed MIS in o(log log n) awake complexity. In: PODC 2023 (2023)
Dufoulon, F., Pai, S., Pandurangan, G., Pemmaraju, S.V., Robinson, P.: The message complexity of distributed graph optimization. ITCS 2024
Elkin, M.: Unconditional lower bounds on the time-approximation tradeoffs for the distributed minimum spanning tree problem. In: STOC 2004, pp. 331–340 (2004)
Elkin, M.: A simple deterministic distributed MST algorithm, with near-optimal time and message complexities. PODC 2017, pp. 157–163
Gallager, R., Humblet, P., Spira, P.: A distributed algorithm for minimum-weight spanning trees. TOPLAS 5(1), 66–77 (1983)
Garay, J.A., Kutten, S., Peleg, D.: A sublinear time distributed algorithm for minimum-weight spanning trees. SICOMP 27(1), 302–316 (1998)
Ghaffari, M., Haeupler, B.: Distributed algorithms for planar networks II: low-congestion shortcuts, MST, and min-cut. In: SODA 2016, pp. 202–219 (2016)
Ghaffari, M., Portmann, J.: Average awake complexity of MIS and matching. In: SPAA 2022, pp. 45–55 (2022)
Haeupler, B., Wajc, D., Zuzic, G.: Universally-optimal distributed algorithms for known topologies. In: STOC 2021, pp. 1166–1179 (2021)
Jurdzinski, T., Kutylowski, M., Zatopianski, J.: Efficient algorithms for leader election in radio networks. In: PODC 2002, pp. 51–57 (2002)
Kardas, M., Klonowski, M., Pajak, D.: Energy-efficient leader election protocols for single-hop radio networks. In: ICPP 2013, pp. 399–408 (2013)
Khan, M., Pandurangan, G., Kumar, V.S.A.: Distributed algorithms for constructing approximate minimum spanning trees in wireless sensor networks. IEEE Trans. Parallel Distrib. Syst. 20(1), 124–139 (2009)
King, V., Phillips, C.A., Saia, J., Young, M.: Sleeping on the job: energy-efficient and robust broadcast for radio networks. Algorithmica 61(3), 518–554 (2011). https://doi.org/10.1007/s00453-010-9422-0
Kutten, S., Pandurangan, G., Peleg, D., Robinson, P., Trehan, A.: On the complexity of universal leader election. J. ACM 62(1) (2015)
Kutten, S., Peleg, D.: Fast distributed construction of small \(k\)-dominating sets and applications. J. Algorithms 28(1), 40–66 (1998)
Maimon, T.: Sleeping model: local and dynamic algorithms (2021)
Nakano, K., Olariu, S.: Randomized leader election protocols in radio networks with no collision detection. In: Goos, G., Hartmanis, J., van Leeuwen, J., Lee, D.T., Teng, S.-H. (eds.) ISAAC 2000. LNCS, vol. 1969, pp. 362–373. Springer, Heidelberg (2000). https://doi.org/10.1007/3-540-40996-3_31
Pandurangan, G., Peleg, D., Scquizzato, M.: Message lower bounds via efficient network synchronization. Theor. Comput. Sci. 810, 82–95 (2020). https://doi.org/10.1016/J.TCS.2018.11.017
Pandurangan, G., Robinson, P., Scquizzato, M.: A time- and message-optimal distributed algorithm for minimum spanning trees. In: STOC 2017, pp. 743–756 (2017)
Pandurangan, G., Robinson, P., Scquizzato, M.: The distributed minimum spanning tree problem. Bull. EATCS 125 (2018)
Peleg, D.: Distributed Computing: A Locality Sensitive Approach. SIAM, USA (2000)
Peleg, D., Rubinovich, V.: A near-tight lower bound on the time complexity of distributed minimum-weight spanning tree construction. SIAM J. Comput. 30(5), 1427–1442 (2000)
Razborov, A.A.: On the distributional complexity of disjointness. Theor. Comput. Sci. 106(2), 385–390 (1992)
Acknowledgments
We thank Orr Fischer for the useful idea that helped to reduce the run time of the deterministic awake-optimal algorithm, in particular, the coloring procedure. We thank Fabien Dufoulon for helpful discussions.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Augustine, J., Moses Jr., W.K., Pandurangan, G. (2024). Awake Complexity of Distributed Minimum Spanning Tree. In: Emek, Y. (eds) Structural Information and Communication Complexity. SIROCCO 2024. Lecture Notes in Computer Science, vol 14662. Springer, Cham. https://doi.org/10.1007/978-3-031-60603-8_3
Download citation
DOI: https://doi.org/10.1007/978-3-031-60603-8_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-60602-1
Online ISBN: 978-3-031-60603-8
eBook Packages: Computer ScienceComputer Science (R0)