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

近似线性在理论和实践中是一样的吗?一个组合Laplacian解算器的实例研究

Is Nearly-linear the same in Theory and Practice? A Case Study with a Combinatorial Laplacian Solver

Daniel Hoske, Dimitar Lukarski, Henning Meyerhenke, Michael Wegner

摘要:

线性方程组的求解是应用数学中的一项重要工作。最近,理论计算机科学家已经贡献了复杂的算法,用于在可证明的近线性时间内解决具有对称对角占优矩阵(拉普拉斯矩阵所属的一类)的线性系统。虽然这些算法从理论的角度来看非常有趣,但它们在实践中的表现还没有发表结果。在本文中,我们解决了这一差距。我们提供了组合求解器的第一个实现[Kelner等人,STOC 2013],由于其概念上的简单性,它特别适合于实施。该算法利用拉普拉斯矩阵对应于一个图;求解拉普拉斯线性系统相当于在具有低拉伸特性的生成树诱导的循环的帮助下找到该图中的电流。我们的综合实验研究的结果是矛盾的。它们确认了一个接近线性的运行时间,但对于合理的输入,常数因子使求解器比具有更高渐近复杂性的方法慢得多。理论预测的另一个方面被我们的发现所证实:具有较低拉伸的生成树确实减少了求解器的运行时间。然而,简单的生成树算法在实践中比那些保证低拉伸的算法表现得更好。

英文摘要:

Linear system solving is one of the main workhorses in applied mathematics. Recently, theoretical computer scientists have contributed sophisticated algorithms for solving linear systems with symmetric diagonally dominant matrices (a class to which Laplacian matrices belong) in provably nearly-linear time. While these algorithms are highly interesting from a theoretical perspective, there are no published results how they perform in practice. With this paper we address this gap. We provide the first implementation of the combinatorial solver by [Kelner et al., STOC 2013], which is particularly appealing for implementation due to its conceptual simplicity. The algorithm exploits that a Laplacian matrix corresponds to a graph; solving Laplacian linear systems amounts to finding an electrical flow in this graph with the help of cycles induced by a spanning tree with the low-stretch property. The results of our comprehensive experimental study are ambivalent. They confirm a nearly-linear running time, but for reasonable inputs the constant factors make the solver much slower than methods with higher asymptotic complexity. One other aspect predicted by theory is confirmed by our findings, though: Spanning trees with lower stretch indeed reduce the solver's running time. Yet, simple spanning tree algorithms perform in practice better than those with a guaranteed low stretch.

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

↑