arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.10343cs.DSmath.CO
收藏

非自适应 Bellman-Ford:Yen 的改进是最优的

Non-adaptive Bellman-Ford: Yen's improvement is optimal

TU Munich(慕尼黑工业大学);TU Dresden(德累斯顿工业大学)

Jialu Hu, László Kozma

AI总结:

本文证明了在非自适应单源最短路径算法中,Yen 对 Bellman-Ford 算法的改进已达到最优常数因子,确立了确定性算法的松弛次数下界,并揭示了确定性与随机化策略间的严格分离,同时证明判定松弛序列正确性是 NP 困难的。

摘要:

用于单源最短路径的 Bellman-Ford 算法在一个称为松弛边的操作中反复更新暂定距离。在几个重要应用中,倾向于使用非自适应(oblivious)实现,这意味着预先固定整个松弛序列,且独立于边权重。这种实现在具有 $n$ 个顶点的稠密图中执行 $(1 + o(1))n^3$ 次松弛。Yen 于 1970 年提出的改进将松弛次数减少了二分之一。我们证明不可能有进一步的常数因子改进,并且每个基于松弛的非自适应确定性算法都必须执行 $(\frac{1}{2} - o(1))n^3$ 步。这改进了 Eppstein 早期 $(\frac{1}{6} - o(1))n^3$ 的下界。鉴于已知一种非自适应随机化版本的 Bellman-Ford 最多执行 $(\frac{1}{3} + o(1))n^3$ 次松弛(以高概率),我们的结果意味着确定性和随机化策略之间的严格分离,回答了 Eppstein 的一个开放问题。在复杂度方面,我们证明判定给定的松弛序列是否保证产生正确距离是 NP 困难的,即使以完全图作为输入也是如此。

英文摘要:

The Bellman-Ford algorithm for single-source shortest paths repeatedly updates tentative distances in an operation called {relaxing an edge}. In several important applications a {non-adaptive} (oblivious) implementation is preferred, which means fixing the entire sequence of relaxations upfront, independently of the edge-weights. The original implementation of the algorithm performs, in a dense graph on $n$ vertices, $(1+o(1))n^3 $ relaxations. An improvement by Yen from 1970 reduces the number of relaxations by a factor of two. We show that no further constant-factor improvements are possible, and every {non-adaptive deterministic} algorithm based on relaxations must perform $(\frac{1}{2} - o(1))n^3$ steps. This improves an earlier lower bound of Eppstein of $(\frac{1}{6} - o(1))n^3$. Given that a {non-adaptive randomized} variant of Bellman-Ford with at most $(\frac{1}{3} + o(1))n^3$ relaxations (with high probability) is known, our result implies a strict separation between deterministic and randomized strategies, answering an open question of Eppstein. We also address the complexity of finding {short} relaxation sequences for a given input graph on $n$ vertices, answering a question of Eppstein. We show that the problem is co-NP-hard, and moreover essentially inapproximable: While an $n$-approximation is easily obtained, for every $ε> 0$, no polynomial-time $n^{1-ε}$-approximation exists, unless P = NP. We further show that {deciding} whether a given relaxation sequence is valid is co-NP-complete, even when the input is the complete graph.

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

↑