arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1312.6680cs.DScs.CCmath.CO
收藏

基于电路复杂性的快速全对最短路径

Faster all-pairs shortest paths via circuit complexity

Ryan Williams

摘要:

我们提出了一种新的随机化方法来计算最小加乘积(又名,热带产品)的两个$n \times n$矩阵,产生一个更快的算法求解所有对最短路径问题(APSP)在密集$n$节点有向图与任意边权重。在实数RAM上,实数的加法和比较是单位成本(但所有其他操作都有典型的对数成本),算法在时间上运行\[\frac{n^3}{2^{Ω(\log n)^{1/2}}}\],并且以高概率正确。在字RAM上,对于$([0,M] \cap {\mathbb Z})\cup\{\infty\}$中的边权重,算法在$n^3/2^{Ω(\log n)^{1/2}} + n^{2+o(1)}\log M$时间内运行。现有算法使用用于各种$c \leq 2$的$n^3/(\log^c n)$时间,或用于各种$α> 0$和$β> 2$的$O(M^αn^β)$时间。新的算法适用于从电路复杂性的工具,即Razborov-Smolensky多项式近似表示${\sf AC}^0[p]$电路,有效地减少矩阵产品的$(\min,+)$代数上的相对较少数量的矩形矩阵产品的${\mathbb F}_2$,其中每一个都是可计算的使用一个特别有效的方法,由于铜史密斯。我们还给出了一个确定性版本的算法运行在$n^3/2^{\log^δ n}$时间的一些$δ> 0$,它利用姚Beigel Tarui翻译的${\sf AC}^0[m]$电路到“好”的深度2电路。

英文摘要:

We present a new randomized method for computing the min-plus product (a.k.a., tropical product) of two $n \times n$ matrices, yielding a faster algorithm for solving the all-pairs shortest path problem (APSP) in dense $n$-node directed graphs with arbitrary edge weights. On the real RAM, where additions and comparisons of reals are unit cost (but all other operations have typical logarithmic cost), the algorithm runs in time \[\frac{n^3}{2^{Ω(\log n)^{1/2}}}\] and is correct with high probability. On the word RAM, the algorithm runs in $n^3/2^{Ω(\log n)^{1/2}} + n^{2+o(1)}\log M$ time for edge weights in $([0,M] \cap {\mathbb Z})\cup\{\infty\}$. Prior algorithms used either $n^3/(\log^c n)$ time for various $c \leq 2$, or $O(M^αn^β)$ time for various $α> 0$ and $β> 2$. The new algorithm applies a tool from circuit complexity, namely the Razborov-Smolensky polynomials for approximately representing ${\sf AC}^0[p]$ circuits, to efficiently reduce a matrix product over the $(\min,+)$ algebra to a relatively small number of rectangular matrix products over ${\mathbb F}_2$, each of which are computable using a particularly efficient method due to Coppersmith. We also give a deterministic version of the algorithm running in $n^3/2^{\log^δ n}$ time for some $δ> 0$, which utilizes the Yao-Beigel-Tarui translation of ${\sf AC}^0[m]$ circuits into "nice" depth-two circuits.

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

↑