TY - GEN
T1 - Towards Practical Fast Matrix Multiplication based on Trilinear Aggregation
AU - Hadas, Tor
AU - Schwartz, Oded
N1 - Publisher Copyright: © 2023 Owner/Author.
PY - 2023/7/24
Y1 - 2023/7/24
N2 - Pan's four decades old fast matrix multiplication algorithms have the lowest asymptotic complexity of all currently known algorithms applicable to matrices of feasible dimensions. However, the large coefficients in the arithmetic cost of these algorithms make them impractical. We reduce these coefficients by , in some cases to a value of 2, the same leading coefficient as the classical, cubic time algorithm. For this purpose, we utilize fast recursive transformations with sparsification of the linear operators of Pan's algorithms. Existing decomposition methods cannot be applied to Pan's algorithms due to their large base cases. We describe two new methods for finding such decompositions, by utilizing the underlying symmetries of the algorithms, and the linear transformations within the algorithms. With these tools, we obtain algorithms with the same asymptotic complexity as Pan's algorithms, but with small leading coefficients, often the same as that of the cubic time algorithm. In practice, these new algorithms have the potential to outperform the fastest currently known matrix multiplication algorithms on feasible sized inputs. Matched against known lower bounds, we show that our results are optimal or close to being optimal.
AB - Pan's four decades old fast matrix multiplication algorithms have the lowest asymptotic complexity of all currently known algorithms applicable to matrices of feasible dimensions. However, the large coefficients in the arithmetic cost of these algorithms make them impractical. We reduce these coefficients by , in some cases to a value of 2, the same leading coefficient as the classical, cubic time algorithm. For this purpose, we utilize fast recursive transformations with sparsification of the linear operators of Pan's algorithms. Existing decomposition methods cannot be applied to Pan's algorithms due to their large base cases. We describe two new methods for finding such decompositions, by utilizing the underlying symmetries of the algorithms, and the linear transformations within the algorithms. With these tools, we obtain algorithms with the same asymptotic complexity as Pan's algorithms, but with small leading coefficients, often the same as that of the cubic time algorithm. In practice, these new algorithms have the potential to outperform the fastest currently known matrix multiplication algorithms on feasible sized inputs. Matched against known lower bounds, we show that our results are optimal or close to being optimal.
KW - Bilinear Algorithms
KW - Fast Basis Transformation
KW - Fast Recursive Transformation
KW - Matrix Multiplication
KW - Trilinear Aggregation
UR - http://www.scopus.com/inward/record.url?scp=85167785762&partnerID=8YFLogxK
U2 - 10.1145/3597066.3597099
DO - 10.1145/3597066.3597099
M3 - منشور من مؤتمر
T3 - ACM International Conference Proceeding Series
SP - 289
EP - 297
BT - ISSAC 2023 - Proceedings of the 2023 International Symposium on Symbolic and Algebraic Computation
A2 - Jeronimo, Gabriela
T2 - 48th International Symposium on Symbolic and Algebraic Computation, ISSAC 2023
Y2 - 24 July 2023 through 27 July 2023
ER -