Negative-Weight Single-Source Shortest Paths in Near-linear Time
Aaron Bernstein, Danupon Nanongkai, Christian Wulff-Nilsen
Abstract
We present a randomized algorithm that computes single-source shortest paths (SSSP) in time when edge weights are integral and can be negative.1This essentially resolves the classic negative-weight SSSP problem. The previous bounds are [BLNPSSSW FOCS’20] and [AMV FOCS’20]. Near-linear time algorithms were known previously only for the special case of planar directed graphs [Fakcharoenphol and Rao FOCS’01]. In contrast to all recent developments that rely on sophisticated continuous optimization methods and dynamic algorithms, our algorithm is simple: it requires only a simple graph decomposition and elementary combinatorial tools. In fact, ours is the first combinatorial algorithm for negative-weight SSSP to break through the classic bound from over three decades ago [Gabow and Tarjan SICOMP’89].
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
35 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Solving tall dense linear programs in nearly linear time cites A Deterministic Linear Program Solver in Current Matrix Multiplication Time
- Breaking the Sorting Barrier for Directed Single-Source Shortest Paths cites Negative-Weight Single-Source Shortest Paths in Near-Linear Time: Now Faster!
- Bipartite Matching in Nearly-linear Time on Moderately Dense Graphs cites Solving tall dense linear programs in nearly linear time
- Bipartite Matching in Nearly-linear Time on Moderately Dense Graphs cites A Deterministic Algorithm for Balanced Cut with Applications to Dynamic Connectivity, Flows, and Beyond
- Bipartite Matching in Nearly-linear Time on Moderately Dense Graphs cites A Deterministic Linear Program Solver in Current Matrix Multiplication Time
- Negative-Weight Single-Source Shortest Paths in Near-Linear Time: Now Faster! cites Bipartite Matching in Nearly-linear Time on Moderately Dense Graphs
- Negative-Weight Single-Source Shortest Paths in Near-Linear Time: Now Faster! cites Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances
- Negative-Weight Single-Source Shortest Paths in Near-Linear Time: Now Faster! cites Maximum Flow and Minimum-Cost Flow in Almost-Linear Time
- Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances cites Solving tall dense linear programs in nearly linear time
- Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances cites Bipartite Matching in Nearly-linear Time on Moderately Dense Graphs
- Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances cites A Deterministic Linear Program Solver in Current Matrix Multiplication Time
- Maximum Flow and Minimum-Cost Flow in Almost-Linear Time cites Solving tall dense linear programs in nearly linear time
- Maximum Flow and Minimum-Cost Flow in Almost-Linear Time cites Bipartite Matching in Nearly-linear Time on Moderately Dense Graphs
- Maximum Flow and Minimum-Cost Flow in Almost-Linear Time cites Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances
Cited by top-tier papers35
- Maximum Flow and Minimum-Cost Flow in Almost-Linear TimeLi Chen, Rasmus Kyng, Yang P. Liu, Richard Peng et al.FOCS 2022 · 135 citations
- Speeding Up Bellman Ford via Minimum Violation PermutationsSilvio Lattanzi, Ola Svensson, Sergei VassilvitskiiICML 2023 · 15 citations
- Breaking the Sorting Barrier for Directed Single-Source Shortest PathsRan Duan, Jiayi Mao, Xiao Mao, Xinkai Shu et al.STOC 2025 · 8 citations
- Negative-Weight Single-Source Shortest Paths in Near-Linear Time: Now Faster!Karl Bringmann, Alejandro Cassis, Nick FischerFOCS 2023 · 7 citations
- Efficient Algorithm for Region-Disjoint Survivable Routing in Backbone NetworksErika R. Bérczi-Kovács, Péter Gyimesi, Balázs Vass, János TapolcaiINFOCOM 2024 · 7 citations
Builds on10
- A Deterministic Linear Program Solver in Current Matrix Multiplication TimeJan van den BrandSODA 2020 · 107 citations
- A Deterministic Algorithm for Balanced Cut with Applications to Dynamic Connectivity, Flows, and BeyondJulia Chuzhoy, Yu Gao, Jason Li, Danupon Nanongkai et al.FOCS 2020 · 76 citations
- Bipartite Matching in Nearly-linear Time on Moderately Dense GraphsJan van den Brand, Yin Tat Lee, Danupon Nanongkai, Richard Peng et al.FOCS 2020 · 72 citations
- Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instancesJan van den Brand, Yin Tat Lee, Yang P. Liu, Thatchaphol Saranurak et al.STOC 2021 · 61 citations
- Solving tall dense linear programs in nearly linear timeJan van den Brand, Yin Tat Lee, Aaron Sidford, Zhao SongSTOC 2020 · 59 citations
Related papers
- A Randomized Algorithm for Single-Source Shortest Path on Undirected Real-Weighted GraphsRan Duan, Jiayi Mao, Xinkai Shu, Longhui YinFOCS 2023 · 6 citations
- Single-Source Shortest Paths with Negative Real Weights in Õ(mn8/9) TimeJeremy T. FinemanSTOC 2024 · 3 citations
- Deterministic Padded Decompositions and Negative-Weight Shortest PathsJason LiSTOC 2026 · 6 citations
- Deterministic Negative-Weight Shortest Paths in Nearly Linear Time via Path CoversBernhard Haeupler, Yonggang Jiang, Thatchaphol SaranurakSTOC 2026 · 5 citations
- Parallel Exact Shortest Paths in Almost Linear Work and Square Root DepthNairen Cao, Jeremy T. FinemanSODA 2023 · 4 citations
