A forward-backward single-source shortest paths algorithm
David B. Wilson, Uri Zwick

TL;DR
This paper introduces a novel forward-backward SSSP algorithm that outperforms traditional forward-only methods on complete graphs with exponential edge weights, achieving optimal or near-optimal expected running times.
Contribution
The paper presents a new forward-backward SSSP algorithm that improves the worst-case and expected running times, demonstrating a separation from forward-only algorithms and providing a new all-pairs shortest paths method.
Findings
Achieves $O(n)$ time on complete graphs with high probability
Expected $O(n^2)$ running time matching recent algorithms
Probability of exceeding $O(n^2)$ time is exponentially small
Abstract
We describe a new forward-backward variant of Dijkstra's and Spira's Single-Source Shortest Paths (SSSP) algorithms. While essentially all SSSP algorithm only scan edges forward, the new algorithm scans some edges backward. The new algorithm assumes that edges in the outgoing and incoming adjacency lists of the vertices appear in non-decreasing order of weight. (Spira's algorithm makes the same assumption about the outgoing adjacency lists, but does not use incoming adjacency lists.) The running time of the algorithm on a complete directed graph on vertices with independent exponential edge weights is , with very high probability. This improves on the previously best result of , which is best possible if only forward scans are allowed, exhibiting an interesting separation between forward-only and forward-backward SSSP algorithms. As a consequence, we also get a new…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComplexity and Algorithms in Graphs · Machine Learning and Algorithms · Digital Image Processing Techniques
