无向单源最短路径与近似距离预言机的无损去随机化
Lossless Derandomization for Undirected Single-Source Shortest Paths and Approximate Distance Oracles
AI总结:
针对无向图最短路径算法去随机化时因集合覆盖近似引入的额外对数因子开销问题,提出一种自适应选择球体大小的确定性算法,实现了最优平均球体大小,无损地去随机化了单源最短路径算法和近似距离预言机。
摘要:
在与无向图最短路径相关的算法中,一个常见步骤是选取一部分顶点作为中心,然后围绕每个顶点扩展球体直到触及某个中心。我们希望球体尽可能小。随机算法可以均匀采样 $r$ 个中心,以达到最优的(期望)球体大小 $Θ(n/r)$。一种众所周知的去随机化方法是使用集合覆盖问题的 $O(\log n)$ 近似来处理击中集版本,即用中心击中所有球体。然而,额外的 $O(\log n)$ 因子有时过于昂贵。例如,最近的 $O(m\sqrt{\log n\log\log n})$ 无向单源最短路径算法 [DMSY23] 在稀疏图中优于 Dijkstra 算法,但传统的去随机化会使其被 Dijkstra 算法支配。在本文中,我们利用了这些球体的大小可以由算法自适应选择而非由输入固定这一事实。我们提出了一种简单的确定性算法,平均达到最优球体大小 $Θ(n/r)$。此外,给定关于球体大小的任意多项式级代价函数,我们仍能平均达到最优代价。这使我们能够对 [DMSY23] 进行去随机化,从而得到一个确定性的 $O(m\sqrt{\log n\log\log n})$ 无向单源最短路径算法。此外,我们展示了相同技术也可用于对开创性的 Thorup-Zwick 近似距离预言机 [TZ05] 进行去随机化,且在时间/空间复杂度上没有任何损失。
英文摘要:
A common step in algorithms related to shortest paths in undirected graphs is that, we select a subset of vertices as centers, then grow a ball around each vertex until a center is reached. We want the balls to be as small as possible. A randomized algorithm can uniformly sample $r$ centers to achieve the optimal (expected) ball size of $Θ(n/r)$. A folklore derandomization is to use the $O(\log n)$ approximation for the set cover problem in the hitting set version where we want to hit all the balls with the centers. However, the extra $O(\log n)$ factor is sometimes too expensive. For example, the recent $O(m\sqrt{\log n\log\log n})$ undirected single-source shortest path algorithm [DMSY23] beats Dijkstra's algorithm in sparse graphs, but the folklore derandomization would make it dominated by Dijkstra's. In this paper, we exploit the fact that the sizes of these balls can be adaptively chosen by the algorithm instead of fixed by the input. We propose a simple deterministic algorithm achieving the optimal ball size of $Θ(n/r)$ on average. Furthermore, given any polynomially large cost function of the ball size, we can still achieve the optimal cost on average. It allows us to derandomize [DMSY23], resulting in a deterministic $O(m\sqrt{\log n\log\log n})$ algorithm for undirected single-source shortest path. In addition, we show that the same technique can also be used to derandomize the seminal Thorup-Zwick approximate distance oracle [TZ05], also without any loss in the time/space complexity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。