ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2412.06952
99
1

Massively Parallel Algorithms for Approximate Shortest Paths

9 December 2024
Michal Dory
Shaked Matar
ArXiv (abs)PDFHTML
Abstract

We present fast algorithms for approximate shortest paths in the massively parallel computation (MPC) model. We provide randomized algorithms that take poly(log⁡log⁡n)poly(\log{\log{n}})poly(loglogn) rounds in the near-linear memory MPC model. Our results are for unweighted undirected graphs with nnn vertices and mmm edges. Our first contribution is a (1+ϵ)(1+\epsilon)(1+ϵ)-approximation algorithm for Single-Source Shortest Paths (SSSP) that takes poly(log⁡log⁡n)poly(\log{\log{n}})poly(loglogn) rounds in the near-linear MPC model, where the memory per machine is O~(n)\tilde{O}(n)O~(n) and the total memory is O~(mnρ)\tilde{O}(mn^{\rho})O~(mnρ), where ρ\rhoρ is a small constant. Our second contribution is a distance oracle that allows to approximate the distance between any pair of vertices. The distance oracle is constructed in poly(log⁡log⁡n)poly(\log{\log{n}})poly(loglogn) rounds and allows to query a (1+ϵ)(2k−1)(1+\epsilon)(2k-1)(1+ϵ)(2k−1)-approximate distance between any pair of vertices uuu and vvv in O(1)O(1)O(1) additional rounds. The algorithm is for the near-linear memory MPC model with total memory of size O~((m+n1+ρ)n1/k)\tilde{O}((m+n^{1+\rho})n^{1/k})O~((m+n1+ρ)n1/k), where ρ\rhoρ is a small constant. While our algorithms are for the near-linear MPC model, in fact they only use one machine with O~(n)\tilde{O}(n)O~(n) memory, where the rest of machines can have sublinear memory of size O(nγ)O(n^{\gamma})O(nγ) for a small constant γ<1\gamma < 1γ<1. All previous algorithms for approximate shortest paths in the near-linear MPC model either required Ω(log⁡n)\Omega(\log{n})Ω(logn) rounds or had an Ω(log⁡n)\Omega(\log{n})Ω(logn) approximation. Our approach is based on fast construction of near-additive emulators, limited-scale hopsets and limited-scale distance sketches that are tailored for the MPC model. While our end-results are for the near-linear MPC model, many of the tools we construct such as hopsets and emulators are constructed in the more restricted sublinear MPC model.

View on arXiv
Comments on this paper