arXiv:2611.06092cs.DSNov 2026

Manuscript Offprint

arXiv:2611.06092

Constant-Round Massively Parallel Algorithms for Approximate MSTs in Metric Spaces

Eunjin Oh, Hyeonjun Shin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We develop a unified algorithmic framework for computing approximate minimum spanning trees (MSTs) in metric spaces in the fully scalable Massively Parallel Computation (MPC) model. Using this framework, we obtain the following results for any fixed constant σ∈(0,1)\sigma \in (0,1):

  • General metrics. Given all pairwise distances, we compute a (1+ε)(1+\varepsilon)-approximate MST in O(log⁡(1/ε))O(\log(1/\varepsilon)) rounds using nσn^\sigma local space per machine and O~(n2)\widetilde{O}(n^2) total space.

  • Euclidean spaces. Given nn points in Rd\mathbb{R}^d, we compute an O(1/σ4)O(1/\sigma^4)-approximate MST in O(1)O(1) rounds using (nd)σ(nd)^\sigma local space per machine and O(nd+n1+σ)O(nd + n^{1+\sigma}) total space.

  • Doubling metrics. Given nn points in a metric of doubling dimension ddim=O(σlog⁡n)ddim = O(\sigma \log n), we compute an O(1/σ)O(1/\sigma)-approximate MST in O(ddim/σ4)O(ddim/\sigma^4) rounds using nσn^\sigma local space per machine and O~(n1+σ)⋅2O(ddim)\widetilde{O}(n^{1+\sigma}) \cdot 2^{O(ddim)} total space.

For any fixed constant ε∈(0,1)\varepsilon \in (0,1), these results give the first constant-round MPC algorithms achieving (1+ε)(1+\varepsilon)-approximation in general metrics and O(1)O(1)-approximation in a high-dimensional Euclidean space, respectively. They improve upon the O(log⁡log⁡n+log⁡(1/ε))O(\log \log n + \log(1/\varepsilon))-round algorithm for general metrics [SODA'25] and the O(log⁡log⁡n⋅log⁡log⁡log⁡n)O(\log \log n \cdot \log \log \log n)-round algorithm for Euclidean spaces [SODA'24], respectively. Moreover, our round complexity for general metrics is asymptotically optimal in its dependence on ε\varepsilon, matching the Ω(log⁡(1/ε))\Omega(\log(1/\varepsilon)) lower bound of [SODA'25] under the 1-vs-2-cycles conjecture. Our result also answers an open question raised by [STOC'23].

*POSTECH, South Korea. Email: eunjin.oh@postech.ac.kr. This work is supported by Institute of Information & Communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No. RS-2024-00440239, Sublinear Scalable Algorithms for Large-Scale Data Analysis) and the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. RS-2024-00358505).

†POSTECH, South Korea. Email: hyeonjun.shin@postech.ac.kr.

Contents

1 Introduction 1
2 Preliminaries 5
3 Technical overview 6
3.1 Forest cutting (for the first iteration) ..... 8
3.2 Forest merging (for the first iteration) ..... 10
3.3 Completing the algorithms ..... 11
4 Key ingredients: Truncated Prim and forest cutting 12
4.1 Truncated Prim's algorithm ..... 12
4.2 Forest cutting algorithm ..... 13
4.2.1 Step 1. Giving orientations to edges ..... 15
4.2.2 Step 2. Cutting additional edges from the oriented forest ..... 16
4.2.3 MPC implementation ..... 18
5 (1 + ε)-approximate MST in general metrics 19
5.1 Overall algorithm ..... 20
5.2 Proof of Lemma 5.2: Computing a light contraction ..... 21
5.2.1 Forest cutting ..... 21
5.2.2 Forest merging ..... 23
6 Constant approximate MST in Euclidean and doubling spaces 25
6.1 Overall algorithm ..... 25
6.2 Proof of Lemma 6.2 and Lemma 6.3: Computing a light partition ..... 27
6.2.1 Forest cutting ..... 28
6.2.2 Forest merging ..... 29
6.2.3 MPC implementation using consistent hashing ..... 30
7 Approximate TSP in constant rounds 32
8 Conclusion 34
A Getting rid of the assumption on bounded spread 40
A.1 Euclidean space ..... 40
A.2 Doubling space ..... 40
B Proof of Theorem 1.3 assuming Lemma 6.3 41
C Proof of Lemma 6.5 42

References (61)