DAWN: Matrix Operation-Optimized Algorithm for Shortest Paths Problem on Unweighted Graphs
Open Access
- 30 May 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-13
Abstract
The shortest paths problem is a fundamental challenge in graph theory, with a broad range of potential applications. The algorithms based on matrix multiplication exhibits excellent parallelism and scalability, but is constrained by high memory consumption and algorithmic complexity. Traditional shortest paths algorithms are limited by priority queues, such as BFS and Dijkstra algorithm, making the improvement of their parallelism a focal issue. We propose a matrix operation-optimized algorithm, which offers improved parallelism, reduced time complexity, and lower memory consumption. The novel algorithm requires O(Ewcc(i)) and O(Swcc · Ewcc) times for single-source and all-pairs shortest paths problems, respectively, where Swcc and Ewcc denote the number of nodes and edges included in the largest weakly connected component in graph. To evaluate the effectiveness of the novel algorithm, we tested it using graphs from SuiteSparse Matrix Collection and Gunrock benchmark dataset. Our algorithm outperformed the BFS implementations from Gunrock and GAP (the previous state-of-the-art solution), achieving an average speedup of 3.769 × and 9.410 ×, respectively.Keywords
All Related Versions
This publication has 40 references indexed in Scilit:
- Essentials of Parallel Graph Analytics2022
- An Efficient Implementation of the Bellman-Ford Algorithm for Kepler GPU ArchitecturesIEEE Transactions on Parallel and Distributed Systems, 2015
- Work-Efficient Parallel GPU Methods for Single-Source Shortest Paths2014
- Direction-optimizing Breadth-First Search2012
- The Diameter of a Scale-Free Random GraphCombinatorica, 2004
- Δ-stepping: a parallelizable shortest path algorithmJournal of Algorithms, 2003
- Scale-Free Networks Are UltrasmallPhysical Review Letters, 2003
- Subcubic Cost Algorithms for the All Pairs Shortest Path ProblemAlgorithmica, 1998
- All Pairs Shortest Distances for Graphs with Small Integer Length EdgesInformation and Computation, 1997
- On the All-Pairs-Shortest-Path Problem in Unweighted Undirected GraphsJournal of Computer and System Sciences, 1995