arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2008.03759cs.DS
收藏

快速矩阵乘法运算的稀疏化

Sparsifying the Operators of Fast Matrix Multiplication Algorithms

Gal Beniamini, Nathan Cheng, Olga Holtz, Elaye Karstadt, Oded Schwartz

摘要:

快速矩阵乘法算法可能是有用的,只要它们的运行时间在实践中是好的。特别地,它们的算术复杂度的前导系数需要小。许多次立方算法具有大的前导系数,使得它们不切实际。Karstadt和Schwartz(SPAA'17,JACM'20)演示了如何通过稀疏化算法的双线性算子来减少这些系数。不幸的是,寻找最佳稀疏化的问题是NP-难的。为此,我们得到了三个新的方法,并将其应用到现有的快速矩阵乘法算法,从而提高其领先系数。这些方法在最坏情况下的运行时间是指数级的,但在实际中运行速度很快,并提高了许多快速矩阵乘法算法的性能。其中两种方法保证产生领先系数,在某些假设下,是最佳的。

英文摘要:

Fast matrix multiplication algorithms may be useful, provided that their running time is good in practice. Particularly, the leading coefficient of their arithmetic complexity needs to be small. Many sub-cubic algorithms have large leading coefficients, rendering them impractical. Karstadt and Schwartz (SPAA'17, JACM'20) demonstrated how to reduce these coefficients by sparsifying an algorithm's bilinear operator. Unfortunately, the problem of finding optimal sparsifications is NP-Hard. We obtain three new methods to this end, and apply them to existing fast matrix multiplication algorithms, thus improving their leading coefficients. These methods have an exponential worst case running time, but run fast in practice and improve the performance of many fast matrix multiplication algorithms. Two of the methods are guaranteed to produce leading coefficients that, under some assumptions, are optimal.

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

↑