Deterministic Negative-Weight Shortest Paths in Nearly Linear Time via Path Covers
Abstract
We present the first deterministic nearly-linear time algorithm for single-source shortest paths with negative edge weights on directed graphs: given a directed graph with vertices, edges whose weights are integer in , our algorithm either computes all distances from a source or reports a negative cycle in time time. All known near-linear time algorithms for this problem have been inherently randomized, as they crucially rely on low-diameter decompositions. To overcome this barrier, we introduce a new structural primitive for directed graphs called the path cover. This plays a role analogous to neighborhood covers in undirected graphs, which have long been central to derandomizing algorithms that use low-diameter decomposition in the undirected setting. We believe that path covers will serve as a fundamental tool for the design of future deterministic algorithms on directed graphs.
Cite
@article{arxiv.2511.08551,
title = {Deterministic Negative-Weight Shortest Paths in Nearly Linear Time via Path Covers},
author = {Bernhard Haeupler and Yonggang Jiang and Thatchaphol Saranurak},
journal= {arXiv preprint arXiv:2511.08551},
year = {2025}
}