A Shared-Memory Algorithm for Updating Single-Source Shortest Paths in Large Weighted Dynamic Networks
Computing the single-source shortest path (SSSP) is one of the fundamental graph algorithms, and is used in many applications. Here, we focus on computing SSSP on large dynamic graphs, i.e. graphs whose structure evolves with time. We posit that instead of recomputing the SSSP for each set of changes on the dynamic graphs, it is more efficient to update the results based only on the region of change. To this end, we present a novel two-step shared-memory algorithm for updating SSSP on weighted large-scale graphs. The key idea of our algorithm is to identify changes, such as vertex/edge addition and deletion, that affect the shortest path computations and update only the parts of the graphs affected by the change. We provide the proof of correctness of our proposed algorithm. Our experiments on real and synthetic networks demonstrate that our algorithm is as much as 4X faster compared to computing SSSP with Galois, a state-of-the-art parallel graph analysis software for shared memory architectures. We also demonstrate how increasing the asynchrony can lead to even faster updates. To the best of our knowledge, this is one of the first practical parallel algorithms for updating networks on shared-memory systems, that is also scalable to large networks.
S. Srinivasan et al., "A Shared-Memory Algorithm for Updating Single-Source Shortest Paths in Large Weighted Dynamic Networks," Proceedings of the 25th IEEE International Conference on High Performance Computing (2018, Bengaluru, India), pp. 245-254, Institute of Electrical and Electronics Engineers (IEEE), Dec 2019.
The definitive version is available at https://doi.org/10.1109/HiPC.2018.00035
25th IEEE International Conference on High Performance Computing, HiPC 2018 (2018: Dec. 17-20, Bengaluru, India)
Intelligent Systems Center
Second Research Center/Lab
Center for Research in Energy and Environment (CREE)
Third Research Center/Lab
Center for High Performance Computing Research
Keywords and Phrases
Dynamic Networks; parallel graph algorithms; Shared Memory; Single-Source Shortest Path
International Standard Book Number (ISBN)
Article - Conference proceedings
© 2019 Institute of Electrical and Electronics Engineers (IEEE), All rights reserved.
01 Dec 2019