Massively Parallel Minimum Spanning Tree in General Metric Spaces
Amir Azarmehr, Soheil Behnezhad, Rajesh Jayaram, Jakub Lacki, Vahab Mirrokni, Peilin Zhong
Abstract
We study the minimum spanning tree (MST) problem in the massively parallel computation (MPC) model. Our focus is particularly on the strictly sublinear regime of MPC where the space per machine is O(n δ ). Here n is the number of vertices and constant δ ∈ (0, 1) can be made arbitrarily small. The MST problem admits a simple and folklore O(log n)-round algorithm in the MPC model. When the weights can be arbitrary, this matches a conditional lower bound of Ω(log n) which follows from a well-known 1vs2-Cycle conjecture. As such, much of the literature focuses on breaking the logarithmic barrier in more structured variants of the problem, such as when the vertices correspond to points in low-[ANOY14, STOC'14] or high-dimensional Euclidean spaces [JMNZ24, SODA'24].
In this work, we focus more generally on metric spaces. Namely, all pairwise weights are provided and guaranteed to satisfy the triangle inequality, but are otherwise unconstrained. We show that for any ε > 0, a (1 + ε)-approximate MST can be found in O(log 1 ε + log log n) rounds, which is the first o(log n)-round algorithm for finding any constant approximation in this setting. Other than being applicable to more general weight functions, our algorithm also slightly improves the O(log log n • log log log n) round-complexity of [JMNZ24, SODA'24] and significantly improves its approximation from a large constant to 1 + ε.
On the lower bound side, we prove that under the 1vs2-Cycle conjecture, Ω(log 1 ε ) rounds are needed for finding a (1 + ε)-approximate MST in general metrics. This implies that (i) the ε-dependency of our algorithm is optimal, (ii) it is necessary to approximate MST in order to beat Ω(log n) rounds in the metric case, and (iii) computing metric MST is strictly harder than computing MST in low-dimensional Euclidean spaces.
It is also worth noting that while many existing lower bounds in the MPC model under the 1vs2-Cycle conjecture only hold against "component-stable" algorithms, our lower bound applies to all algorithms. Indeed, a conceptual contribution of our paper is to provide a natural way of lifting the component stability assumption which we hope to have other applications.
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 d1c0de4a-29c0-4ac0-a8f8-cdacd313d29eCited by top-tier papers4
- PiPNN: Ultra-Scalable Graph-Based Nearest Neighbor IndexingTobias Rubel, Richard Wen, Laxman Dhulipala, Lars Gottesbüren et al.KDD 2026 · 2 citations
- Tree Embedding in High Dimensions: Dynamic and Massively ParallelGramoz Goranci, Shaofeng H.-C. Jiang, Peter Kiss, Qihao Kong et al.SODA 2026
- Streaming and Massively Parallel Algorithms for Euclidean Max-CutNicolas Menand, Erik WaingartenSODA 2026
- Approximate Forest Completion and Learning-Augmented Algorithms for Metric Minimum Spanning TreesNate Veldt, Thomas Stanley, Benjamin W. Priest, Trevor Steil et al.ICML 2025
Builds on4
- New streaming algorithms for high dimensional EMD and MSTXi Chen, Rajesh Jayaram, Amit Levi, Erik WaingartenSTOC 2022 · 11 citations
- A deterministic algorithm for the MST problem in constant rounds of congested cliqueKrzysztof NowickiSTOC 2021 · 10 citations
- Deterministic massively parallel connectivitySam Coy, Artur CzumajSTOC 2022 · 10 citations
- Massively Parallel Algorithms for High-Dimensional Euclidean Minimum Spanning TreeRajesh Jayaram, Vahab Mirrokni, Shyam Narayanan, Peilin ZhongSODA 2024 · 4 citations
Related papers
- Streaming Euclidean MST to a Constant FactorXi Chen, Vincent Cohen-Addad, Rajesh Jayaram, Amit Levi et al.STOC 2023 · 5 citations
- Massively Parallel Computation on Embedded Planar GraphsJacob Holm, Jakub TetekSODA 2023
- Fully Scalable Massively Parallel Algorithms for Embedded Planar GraphsYi-Jun Chang, Da Wei ZhengSODA 2024
- Optimal Deterministic Massively Parallel Connectivity on ForestsAlkida Balliu, Rustam Latypov, Yannic Maus, Dennis Olivetti et al.SODA 2023 · 4 citations
- An Efficient Massively Parallel Constant-Factor Approximation Algorithm for the k-Means ProblemVincent Cohen-Addad, Fabian Kuhn, Zahra ParsaeianSODA 2026
