Optimal Deterministic Massively Parallel Connectivity on Forests
Alkida Balliu, Rustam Latypov, Yannic Maus, Dennis Olivetti, Jara Uitto
Abstract
We show fast deterministic algorithms for fundamental problems on forests in the challenging low-space regime of the well-known Massive Parallel Computation (MPC) model. A recent breakthrough result by Coy and Czumaj [STOC'22] shows that, in this setting, it is possible to deterministically identify connected components on graphs in O(log D + log log n) rounds, where D is the diameter of the graph and n the number of nodes. The authors left open a major question: is it possible to get rid of the additive log log n factor and deterministically identify connected components in a runtime that is completely independent of n?
We answer the above question in the affirmative in the case of forests. We give an algorithm that identifies connected components in O(log D) deterministic rounds. The total memory required is O(n + m) words, where m is the number of edges in the input graph, which is optimal as it is only enough to store the input graph. We complement our upper bound results by showing that Ω(log D) time is necessary even for component-unstable algorithms, conditioned on the widely believed 1 vs. 2 cycles conjecture. Our techniques also yield a deterministic forest-rooting algorithm with the same runtime and memory bounds. Furthermore, we consider Locally Checkable Labeling problems (LCLs), whose solution can be verified by checking the O(1)-radius neighborhood of each node. We show that any LCL problem on forests can be solved in O(log D) rounds with a canonical deterministic algorithm, improving over the O(log n) runtime of Brandt, Latypov and Uitto [DISC'21]. We also show that there is no algorithm that solves all LCL problems on trees asymptotically faster.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ba9e96d6-9d8e-49d7-bb5c-2769dc1829acCited by top-tier papers1
Ask how each one uses itBuilds on3
- Distributed Lower Bounds for Ruling SetsAlkida Balliu, Sebastian Brandt, Dennis OlivettiFOCS 2020 · 28 citations
- Distributed ∆-coloring plays hide-and-seekAlkida Balliu, Sebastian Brandt, Fabian Kuhn, Dennis OlivettiSTOC 2022 · 18 citations
- Deterministic massively parallel connectivitySam Coy, Artur CzumajSTOC 2022 · 10 citations
Related papers
- Massively Parallel Minimum Spanning Tree in General Metric SpacesAmir Azarmehr, Soheil Behnezhad, Rajesh Jayaram, Jakub Lacki et al.SODA 2025 · 4 citations
- Online Locality Meets Distributed Quantum ComputingAmirreza Akbari, Xavier Coiteux-Roy, Francesco d'Amore, François Le Gall et al.STOC 2025 · 2 citations
- A deterministic algorithm for the MST problem in constant rounds of congested cliqueKrzysztof NowickiSTOC 2021 · 10 citations
- Deterministic Low-Diameter Decompositions for Weighted Graphs and Distributed and Parallel ApplicationsVáclav Rozhon, Michael Elkin, Christoph Grunau, Bernhard HaeuplerFOCS 2022 · 5 citations
- Massively Parallel Computation on Embedded Planar GraphsJacob Holm, Jakub TetekSODA 2023
