English

$O(1)$-Round MPC Algorithms for Multi-dimensional Grid Graph Connectivity, EMST and DBSCAN

Data Structures and Algorithms 2025-01-22 v1 Computational Complexity Computational Geometry Distributed, Parallel, and Cluster Computing

Abstract

In this paper, we investigate three fundamental problems in the Massively Parallel Computation (MPC) model: (i) grid graph connectivity, (ii) approximate Euclidean Minimum Spanning Tree (EMST), and (iii) approximate DBSCAN. Our first result is a O(1)O(1)-round Las Vegas (i.e., succeeding with high probability) MPC algorithm for computing the connected components on a dd-dimensional cc-penetration grid graph ((d,c)(d,c)-grid graph), where both dd and cc are positive integer constants. In such a grid graph, each vertex is a point with integer coordinates in Nd\mathbb{N}^d, and an edge can only exist between two distinct vertices with \ell_\infty-norm at most cc. To our knowledge, the current best existing result for computing the connected components (CC's) on (d,c)(d,c)-grid graphs in the MPC model is to run the state-of-the-art MPC CC algorithms that are designed for general graphs: they achieve O(loglogn+logD)O(\log \log n + \log D)[FOCS19] and O(loglogn+log1λ)O(\log \log n + \log \frac{1}{\lambda})[PODC19] rounds, respectively, where DD is the {\em diameter} and λ\lambda is the {\em spectral gap} of the graph. With our grid graph connectivity technique, our second main result is a O(1)O(1)-round Las Vegas MPC algorithm for computing approximate Euclidean MST. The existing state-of-the-art result on this problem is the O(1)O(1)-round MPC algorithm proposed by Andoni et al.[STOC14], which only guarantees an approximation on the overall weight in expectation. In contrast, our algorithm not only guarantees a deterministic overall weight approximation, but also achieves a deterministic edge-wise weight approximation.The latter property is crucial to many applications, such as finding the Bichromatic Closest Pair and DBSCAN clustering. Last but not the least, our third main result is a O(1)O(1)-round Las Vegas MPC algorithm for computing an approximate DBSCAN clustering in O(1)O(1)-dimensional space.

Keywords

Cite

@article{arxiv.2501.12044,
  title  = {$O(1)$-Round MPC Algorithms for Multi-dimensional Grid Graph Connectivity, EMST and DBSCAN},
  author = {Junhao Gan and Anthony Wirth and Zhuo Zhang},
  journal= {arXiv preprint arXiv:2501.12044},
  year   = {2025}
}
R2 v1 2026-06-28T21:12:18.259Z