English

Matrix Multiplication with Less Arithmetic Complexity and IO Complexity

Symbolic Computation 2022-03-31 v1 Discrete Mathematics

Abstract

After Strassen presented the first sub-cubic matrix multiplication algorithm, many Strassen-like algorithms are presented. Most of them with low asymptotic cost have large hidden leading coefficient which are thus impractical. To reduce the leading coefficient, Cenk and Hasan give a general approach reducing the leading coefficient of <2,2,2;7><2,2,2;7>-algorithm to 55 but increasing IO complexity. In 2017, Karstadt and Schwartz also reduce the leading coefficient of <2,2,2;7><2,2,2;7>-algorithm to 55 by the Alternative Basis Matrix Multiplication method. Meanwhile, their method reduces the IO complexity and low-order monomials in arithmetic complexity. In 2019, Beniamini and Schwartz generalize Alternative Basis Matrix Multiplication method reducing leading coefficient in arithmetic complexity but increasing IO complexity. In this paper, we propose a new matrix multiplication algorithm which reduces leading coefficient both in arithmetic complexity and IO complexity. We apply our method to Strassen-like algorithms improving arithmetic complexity and IO complexity (the comparison with previous results are shown in Tables 1 and 2). Surprisingly, our IO complexity of <3,3,3;23><3,3,3;23>-algorithm is 14nlog323M12+o(nlog323)14n^{\log_323}M^{-\frac{1}{2}} + o(n^{\log_323}) which breaks Ballard's IO complexity low bound (Ω(nlog323M1log3232)\Omega(n^{\log_323}M^{1-\frac{\log_323}{2}})) for recursive Strassen-like algorithms.

Keywords

Cite

@article{arxiv.2203.16053,
  title  = {Matrix Multiplication with Less Arithmetic Complexity and IO Complexity},
  author = {Pu Wu and Huiqing Jiang and Zehui Shao and Jin Xu},
  journal= {arXiv preprint arXiv:2203.16053},
  year   = {2022}
}

Comments

24 pages and one figure

R2 v1 2026-06-24T10:31:17.517Z