Skip to content

Improved Massively Parallel Shortest Path Computation

Yi-Jun Chang, Shaun Quek

cs.DCarXiv:2610.16787

Abstract

We present new algorithms for approximate shortest path computation in weighted undirected graphs within the Massively Parallel Computation (MPC) model. Specifically, we construct an a-approximate Single-Source Shortest Path (SSSP) oracle: Given a query consisting of a source vertex u ∈ V, the oracle returns a-approximate distances δ(u,v) for all v ∈ V. Fix an n-vertex weighted undirected graph. We consider two regimes of the MPC model: the near-linear regime, where each machine has Θ(n) memory, and the heterogeneous regime, where all machines have Θ(nγ) memory for some constant γ∈ (0,1], except for a single machine with Θ(n) memory. We develop randomised algorithms that construct O(1)-approximate SSSP oracles in O( n) rounds in the near-linear regime and in O(2 n) rounds in the heterogeneous regime. These oracles answer distance queries in O(1) rounds. Our results improve upon the recent work of Dory and Matar (SPAA 2024) which, for the same total memory, requires ( n)2+O(1/γ) rounds and applies only to unweighted graphs in the heterogeneous setting. We say that Nk(u) is the approximate k-nearest neighbourhood of a vertex u if there exists an approximate distance estimate δ such that Nk(u) consists of the k vertices closest to u according to δ, breaking ties by vertex ID. The main technical ingredient is a new method for efficiently computing approximate nO(γ)-nearest neighbourhoods in the heterogeneous MPC model in O(2 n) rounds.

Create a lesson