arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.05630math.NAcs.NAcs.SC
收藏

Strassen 算法并非最优精确

Strassen's algorithm is not optimally accurate

Jean-Guillaume Dumas, Clément Pernet, Alexandre Sedoglavic

AI总结:

本文提出一种新的 2x2 矩阵乘法非交换算法,在保持 7 次系数乘积和最优首项时间复杂度的同时,通过范数界优化、启发式运算约简和交替基稀疏化显著提升了实际数值精度。

摘要:

我们提出一种使用 7 个系数乘积进行 2x2 矩阵乘法的非交换算法。与先前已知的此类快速算法相比,该算法在实践中同时达到了更好的精度,并具有当前已知最佳首项的时间复杂度界(通过交替基稀疏化获得)。为构建该算法,我们考虑了控制数值矩阵乘法稳定性和精度的矩阵与张量范数界。首先,我们通过沿 Strassen 2x2 矩阵乘法张量分解的唯一轨道最小化增长因子来降低这些界。其次,我们开发启发式方法,以最小化实现给定双线性公式所需的运算次数,同时进一步提高其精度。第三,我们执行交替基稀疏化,改进了时间复杂度常数,并在很大程度上保持了整体精度。

英文摘要:

We propose a non-commutative algorithm for multiplying 2x2 matrices using 7 coefficient products. This algorithm reaches simultaneously a better accuracy in practice compared to previously known such fast algorithms, and a time complexity bound with the best currently known leading term (obtained via alternate basis sparsification). To build this algorithm, we consider matrix and tensor norms bounds governing the stability and accuracy of numerical matrix multiplication. First, we reduce those bounds by minimizing a growth factor along the unique orbit of Strassen's 2x2-matrix multiplication tensor decomposition. Second, we develop heuristics for minimizing the number of operations required to realize a given bilinear formula, while further improving its accuracy. Third, we perform an alternate basis sparsification that improves on the time complexity constant and mostly preserves the overall accuracy.

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

↑