Lune

PPoPP2020顶会

A supernodal all-pairs shortest path algorithm

Piyush Sao, Ramakrishnan Kannan, Prasun Gera, Richard W. Vuduc

摘要

We show how to exploit graph sparsity in the Floyd-Warshall algorithm for the all-pairs shortest path (Apsp) problem. Floyd-Warshall is an attractive choice for Apsp on high-performing systems due to its structural similarity to solving dense linear systems and matrix multiplication. However, if sparsity of the input graph is not properly exploited, Floyd-Warshall will perform unnecessary asymptotic work and thus may not be a suitable choice for many input graphs. To overcome this limitation, the key idea in our approach is to use the known algebraic relationship between Floyd-Warshall and Gaussian elimination, and import several algorithmic techniques from sparse Cholesky factorization, namely, fill-in reducing ordering, symbolic analysis, supernodal traversal, and elimination tree parallelism. When combined, these techniques reduce computation, improve locality and enhance parallelism. We implement these ideas in an efficient shared memory parallel prototype that is orders of magnitude faster than an efficient multi-threaded baseline Floyd-Warshall that does not exploit sparsity. Our experiments suggest that the Floyd-Warshall algorithm can compete with Dijkstra's algorithm (the algorithmic core of Johnson's algorithm) for several classes sparse graphs.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Scalable All-pairs Shortest Paths for Huge Graphs on Multi-GPU ClustersPiyush Sao, Hao Lu, Ramakrishnan Kannan, Vijay Thakkar 等HPDC 2021 · 6 次引用
  2. Compiling Recurrences over Dense and Sparse ArraysShiv Sundram, Muhammad Usman Tariq, Fredrik KjolstadOOPSLA 2024 · 2 次引用

相关 Paper

  1. Fast Sparse Matrix Permutation for Mesh-Based Direct SolversBehrooz Zarebavani, Ahmed H. Mahmoud, Ana Dodik, Changcheng Yuan 等SIGGRAPH 2026
  2. Improved Additive Approximation Algorithms for APSPCe Jin, Yael Kirkpatrick, Michal Stawarz, Virginia Vassilevska WilliamsSODA 2026
  3. Wasp: Efficient Asynchronous Single-Source Shortest Path on Multicore Systems via Work StealingMarco D'Antonio, Son Thai Mai, Philippas Tsigas, Hans VandierendonckSC 2025 · 4 次引用
  4. Parallel approximate undirected shortest paths via low hop emulatorsAlexandr Andoni, Clifford Stein, Peilin ZhongSTOC 2020 · 50 次引用
  5. A fast work-efficient SSSP algorithm for GPUsKai Wang, Don Fussell, Calvin LinPPoPP 2021 · 21 次引用
黄昏的海面,两侧是细线勾勒的悬崖