arXiv:2610.21371cs.DSOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.21371

Geometric Hashing in MPC with Applications to Clustering and Stochastic Embeddings

Sujoy Bhore, Arnold Filter, Eunjin Oh, Hyeonjun Shin, Himanshi Singh

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

Abstract

In this paper we study consistent hashing (a.k.a. sparse partitions) for doubling metrics in the Massively Parallel Computation (MPC) model. A ( Γ\Gamma, Λ\Lambda)-hash with diameter bound Δ\Delta partitions a metric space into clusters of diameter at most Δ\Delta such that every ball of radius Δ/Γ\Delta/\Gamma intersects at most Λ\Lambda clusters in expectation. Consistent hashing has emerged as a central tool in geometric MPC algorithms. However, so far it has been solely used in Euclidean spaces, where it can be pre-computed. On the other hand, in cases where the metric space is received as input and unknown in advance, no previous parallel construction was known.

We present the first fully scalable MPC algorithm over machines with local space nσn^\sigma, that given an nn-point metric space with doubling dimension ddim≤O(σlog⁡n)\text{ddim} \leq O(\sigma \log n), samples a randomized (Γ,2O(ddim/Γ))(\Gamma, 2^{O(\text{ddim}/\Gamma)})-hash in O(ddim/σ3)O(\text{ddim}/\sigma^3) rounds. There is a dichotomy: if the doubling dimension is ddim=Ω(σ⋅log⁡n)\text{ddim} = \Omega(\sigma \cdot \log n), a polynomial number of rounds is required to compute such a hash.

We conclude by showing that this MPC primitive yields O(ddim/σ3)O(\text{ddim}/\sigma^3)-round fully scalable MPC algorithms for a broad class of fundamental geometric problems in doubling metrics, including stochastic tree embeddings with O(log⁡n)O(\log n) expected distortion, constant factor approximation for facility location, bicriteria (O(ε−2),1+ε)(O(\varepsilon^{-2}), 1+\varepsilon)-approximation for k-median and k-means.

*Department of Computer Science & Engineering, Indian Institute of Technology Bombay, Mumbai, India. Email: sujoy@cse.iitb.ac.in. This work is supported in part by ANRF ARG-MATRICS, Grant 002465

†^{\dagger}Bar Ilan University, Ramat Gan, Israel. Email: arnold.filtser@biu.ac.il. This research was supported by the Israel Science Foundation (grant Nos. 1042/22 and 2021/26) and the European Research Council (ERC), grant No. 101301875 (NonMetEmbed). Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.

†^{\dagger}POSTECH, 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, Korea. Email: hyeonjun.shin@postech.ac.kr

1^{1}Department of Computer Science & Engineering, Indian Institute of Technology Bombay, Mumbai, India. Email: himanshi@cse.iitb.ac.in

Contents

1 Introduction 3
1.1 Our contributions 5
1.2 Related work 7
2 Preliminaries 8
3 Consistent hashing for doubling metrics 10
3.1 Sparse partition for doubling metrics 10
3.2 MPC construction of sparse partition 12
3.3 Neighborhood oracles for consistent hashing 16
4 Applications 20
4.1 Stochastic tree embeddings 20
4.2 Facility location 21
4.3 k-median and k-means 22
4.4 Minimum-size clustering 23
5 Lower bounds 25
5.1 Stochastic tree embeddings 25
5.2 Consistent hashing 28
A Comparison with Filtser (2024) 34
B MPC implementation details for EMD 35

References (71)