arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.16638cs.DS
收藏

一个运行时间为$ n^{2+o(1)} $的单源负权最短路径算法

An $n^{2+o(1)}$ Time Algorithm for Single-Source Negative Weight Shortest Paths

New York University(纽约大学)

Sanjeev Khanna, Junkai Song

AI总结:

本文提出了一种新的算法,通过引入辅助Steiner顶点压缩技术,实现了单源负权最短路径问题在密集图中的几乎线性时间复杂度。

摘要:

我们提出了一种随机算法,用于解决具有任意实数边权的有向图的单源最短路径(SSSP)问题,该算法以高概率在$ n^{2+o(1)} $时间内运行。这一结果为密集图($ m = Θ(n^2) $)问题提供了首个几乎线性时间的算法,并在中等密度图($ m = ω(n^{1.306}) $)上改进了已知的最佳界。我们的方法基于Li、Li、Rao和Zhang(2025)引入的跳减via快捷方式框架,该框架通过迭代地在图中添加快捷方式边来减少最短路径的负跳数。先前工作的核心计算瓶颈是显式构建这些快捷方式在密集区域的成本。我们通过引入一种新的压缩技术来克服这一问题,使用辅助Steiner顶点。具体来说,我们构造这些顶点以结构化的方式紧凑地表示大规模区域,使我们能够高效地生成和传播快捷方式,同时严格控制顶点度数和图大小的增长。

英文摘要:

We present a randomized algorithm for the single-source shortest paths (SSSP) problem on directed graphs with arbitrary real-valued edge weights that runs in $n^{2+o(1)}$ time with high probability. This result yields the first almost linear-time algorithm for the problem on dense graphs ($m = Θ(n^2)$) and improves upon the best previously known bounds for moderately dense graphs ($m = ω(n^{1.306})$). Our approach builds on the hop-reduction via shortcutting framework introduced by Li, Li, Rao, and Zhang (2025), which iteratively augments the graph with shortcut edges to reduce the negative hop count of shortest paths. The central computational bottleneck in prior work is the cost of explicitly constructing these shortcuts in dense regions. We overcome this by introducing a new compression technique using auxiliary Steiner vertices. Specifically, we construct these vertices to represent large neighborhoods compactly in a structured manner, allowing us to efficiently generate and propagate shortcuts while strictly controlling the growth of vertex degrees and graph size.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑