arXiv:2609.05590cs.DSSep 2026

Manuscript Offprint

arXiv:2609.05590

Size-Sensitive Padded Decompositions for Faster Deterministic Negative-Weight Shortest Paths

Khoi Duong

Abstract

We give a deterministic algorithm for single-source shortest paths in directed graphs with integral edge weights at least −W-W. Its running time is

O((m+nlog⁡log⁡n)log⁡(nW)log⁡2nlog⁡log⁡n).\mathrm{O}\big((m+n\log\log n)\log(nW)\log^2 n\log\log n\big).

This improves the previous fastest deterministic bound of Li [Li26] by a factor of log⁡n/log⁡log⁡n\log n/\log \log n.

1 Introduction

The negative-weight single-source shortest-path problem admits randomized near-linear-time algorithms through the scaling framework of Bernstein, Nanongkai, and Wulff-Nilsen [BNWN25]. Bringmann, Cassis, and Fischer [BCF23] reduced the polylogarithmic overhead, and Li, Mowry, and Rao [LMR26] obtained

O((m+nlog⁡log⁡n)log⁡(nW)log⁡nlog⁡log⁡n).\mathrm{O}\big((m+n\log\log n)\log(nW)\log n\log\log n\big).

These algorithms rely on randomized directed low-diameter decompositions (LDDs). Deterministic near-linear-time algorithms were later obtained by Haeupler, Jiang, and Saranurak [HJS26] and by Li [Li26]. Li's faster algorithm uses overlapping padded decompositions and runs in

O((m+nlog⁡log⁡n)log⁡(nW)log⁡3n).\mathrm{O}\big((m+n\log\log n)\log(nW)\log^3 n\big).

We improve on this bound.

Theorem 1.1. Let G=(V,E,w)G=(V,E,w) be a directed graph with nn vertices and mm edges and integral edge weights satisfying w(e)≥−Ww(e)\geq -W. There is a deterministic algorithm that either reports a negative-weight cycle or computes single-source shortest paths in

O((m+nlog⁡log⁡n)log⁡(nW)log⁡2nlog⁡log⁡n)\mathrm{O}\big((m+n\log\log n)\log(nW)\log^2 n\log\log n\big)

time.

Our algorithm follows the usual scaling framework [Gol95, BNWN25]. Each scale is solved with BF-DIJKSTRA [DI17, BCF23]; our contribution is a padded decomposition whose overlap budget depends on the size of each recursive piece.