[论文解读] Efficient Parameterized Algorithms for Computing All-Pairs Shortest Paths
本文提出了一种基于团宽(cw)和模块宽(mw)作为参数的顶点加权全源最短路径(APSP)的高效参数化算法。采用组合算法时时间复杂度为 O(mw²n + n²),使用快速矩阵乘法时为 O(mw¹.⁸⁴²n + n²),其中模块宽算法具有自适应性——当 mw ∈ O(n¹⁻ε) 对任意 ε > 0 时,其性能优于无参数化方法。
Computing all-pairs shortest paths is a fundamental and much-studied problem with many applications. Unfortunately, despite intense study, there are still no significantly faster algorithms for it than the $\mathcal{O}(n^3)$ time algorithm due to Floyd and Warshall (1962). Somewhat faster algorithms exist for the vertex-weighted version if fast matrix multiplication may be used. Yuster (SODA 2009) gave an algorithm running in time $\mathcal{O}(n^{2.842})$, but no combinatorial, truly subcubic algorithm is known. Motivated by the recent framework of efficient parameterized algorithms (or "FPT in P"), we investigate the influence of the graph parameters clique-width ($cw$) and modular-width ($mw$) on the running times of algorithms for solving All-Pairs Shortest Paths. We obtain efficient (and combinatorial) parameterized algorithms on non-negative vertex-weighted graphs of times $\mathcal{O}(cw^2n^2)$, resp. $\mathcal{O}(mw^2n + n^2)$. If fast matrix multiplication is allowed then the latter can be improved to $\mathcal{O}(mw^{1.842}n + n^2)$ using the algorithm of Yuster as a black box. The algorithm relative to modular-width is adaptive, meaning that the running time matches the best unparameterized algorithm for parameter value $mw$ equal to $n$, and they outperform them already for $mw \in \mathcal{O}(n^{1 - \varepsilon})$ for any $\varepsilon > 0$.
研究动机与目标
- 通过利用图的结构参数,开发顶点加权全源最短路径(APSP)的更快算法。
- 研究团宽(cw)和模块宽(mw)对 APSP 计算时间的影响。
- 设计自适应算法,在参数值较小时可匹配或超越最优无参数化算法。
- 实现团宽较小时的真正亚立方时间复杂度,并在 mw < n 时提升性能。
- 为可解图类中 APSP 的高效参数化计算提供一个框架。
提出的方法
- 使用模块分解,递归地将图分解为模块,并自顶向下进行处理。
- 为每个模块划分构造加权商图 G*/P,以抽象表示模块间的距离。
- 在商图上应用 Yuster 的基于 O(n².⁸⁴²) 快速矩阵乘法的 APSP 算法,以提升运行时间性能。
- 使用 k-截断 APSP 公式以限制递归深度,并在递归处理过程中确保正确性。
- 利用引理 28 在预处理后以常数时间计算模块间的最短路径。
- 在每个模块上递归求解 k-截断 APSP,其中 k 值根据相邻模块的权重进行缩减。
实验结果
研究问题
- RQ1是否可以利用模块宽设计一种自适应的参数化算法,用于顶点加权 APSP,使其在参数值较小时优于无参数化方法?
- RQ2顶点加权 APSP 参数化为团宽时,最佳可能的运行时间是多少?能否实现真正的亚立方性能?
- RQ3快速矩阵乘法与模块宽结合时,如何进一步改善运行时间?
- RQ4尽管存在结构挑战,是否仍可实现参数化为团宽的 APSP 运行时间 O(cw·n²)?
- RQ5该框架能否扩展至低团宽或低模块宽的边加权图?
主要发现
- 基于模块宽的算法使用组合方法时运行时间为 O(mw²n + n²),使用快速矩阵乘法时为 O(mw¹.⁸⁴²n + n²)。
- 模块宽算法具有自适应性:当 mw = n 时,其性能与最优无参数化算法相当;当 mw ∈ O(n¹⁻ε) 对任意 ε > 0 时,其性能更优。
- 对于团宽,该算法实现 O(cw²n²) 的时间复杂度,当 cw ∈ O(n⁰.⁵⁻ε) 对任意 ε > 0 时,为真正亚立方时间。
- 模块宽算法在实践中高效,因为模块分解可在线性时间内完成。
- 该方法与 Coudert 等人提出的条件下界相辅相成,后者排除了直径计算在 O(2^o(cw)·n²⁻ε) 时间内完成的可能性。
- 研究结果仅限于顶点加权图;由于结构退化,低团宽或低模块宽的边加权图无法被高效处理。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。