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

矩阵乘法问题的一种新的二次数论算法

A new quadratic-time number-theoretic algorithm to solve matrix multiplication problem

Shrohan Mohapatra

摘要:

已经有几种算法被设计来优化矩阵乘法。从具有复杂性$O(n^3)$的教科书方法到具有时间复杂度性$O(n^{2.3728639})$(实现的最低可能界限)的高级基于张量的工具,已经做了大量工作来减少递归版本中使用的步骤。一些群论和计算机代数估计也推测存在一个$O(n^2)$算法。本文讨论了一种二次数论方法,该方法将操作数中的大向量转换为单个大实体,并将它们组合成点积。对于两个$n \times n$矩阵,该点积被迭代地用于每个这样的向量。预处理和计算使其成为具有相当比例常数的二次时间算法。本文还讨论了整数、浮点数和复数的特殊策略,并对时间和空间复杂度进行了理论估计。

英文摘要:

There have been several algorithms designed to optimise matrix multiplication. From schoolbook method with complexity $O(n^3)$ to advanced tensor-based tools with time complexity $O(n^{2.3728639})$ (lowest possible bound achieved), a lot of work has been done to reduce the steps used in the recursive version. Some group-theoretic and computer algebraic estimations also conjecture the existence of an $O(n^2)$ algorithm. This article discusses a quadratic-time number-theoretic approach that converts large vectors in the operands to a single large entity and combines them to make the dot-product. For two $n \times n$ matrices, this dot-product is iteratively used for each such vector. Preprocessing and computation makes it a quadratic time algorithm with a considerable constant of proportionality. Special strategies for integers, floating point numbers and complex numbers are also discussed, with a theoretical estimation of time and space complexity.

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

↑