Improving the Leading Constant of Matrix Multiplication
Josh Alman, Hantao Yu
Abstract
Algebraic matrix multiplication algorithms are designed by bounding the rank of matrix multiplication tensors, and then using a recursive method. However, designing algorithms in this way quickly leads to large constant factors: if one proves that the tensor for multiplying n × n matrices has rank ≤ t, then the resulting recurrence shows that M ×M matrices can be multiplied using O(n 2 •M log n t ) operations, where the leading constant scales proportionally to n 2 . Even modest increases in n can blow up the leading constant too much to be worth the slight decrease in the exponent of M . Meanwhile, the asymptotically best algorithms use very large n, such that n 2 is larger than the number of atoms in the visible universe!
In this paper, we give new ways to use tensor rank bounds to design matrix multiplication algorithms, which lead to smaller leading constants than the standard recursive method. Our main result shows that, if the tensor for multiplying n × n matrices has rank ≤ t, then M × M matrices can be multiplied using only n O(1/(log n) 0.33 ) • M log n t operations. In other words, we improve the leading constant in general from O(n 2 ) to n O(1/(log n) 0.33 ) < n o(1) .
We then apply this and further improve the leading constant in a number of situations of interest. We show that, in the popularly-conjectured case where ω = 2, a new, different recursive approach can lead to an improvement. We also show that the leading constant of the current asymptotically fastest matrix multiplication algorithm, and any algorithm designed using the group-theoretic method, can be further improved by taking advantage of additional structure of the underlying tensor identities.
Our algorithms use new ways to manipulate linear transforms defined by Kronecker powers of matrices, as well as a new algorithm for very rectangular matrix multiplication. In many cases, we entirely avoid applying a large tensor rank identity by instead manipulating it implicitly or decomposing it into smaller, more manageable tensors.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 33da4a1a-8efb-4383-bbdc-cc7e80141bc1Builds on9
- A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
- New Bounds for Matrix Multiplication: from Alpha to OmegaVirginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, Renfei ZhouSODA 2024 · 90 citations
- Faster Matrix Multiplication via Asymmetric HashingRan Duan, Hongxun Wu, Renfei ZhouFOCS 2023 · 54 citations
- Strong Bounds for 3-ProgressionsZander Kelley, Raghu MekaFOCS 2023 · 24 citations
- Faster Deterministic and Las Vegas Algorithms for Offline Approximate Nearest Neighbors in High DimensionsJosh Alman, Timothy M. Chan, R. Ryan WilliamsSODA 2020 · 9 citations
Related papers
- More Asymmetry Yields Faster Matrix MultiplicationJosh Alman, Ran Duan, Virginia Vassilevska Williams, Yinzhan Xu et al.SODA 2025 · 35 citations
- The Time Complexity of Fully Sparse Matrix MultiplicationAmir Abboud, Karl Bringmann, Nick Fischer, Marvin KünnemannSODA 2024 · 6 citations
- Overcomplete Tensor Decomposition via Koszul-Young FlatteningsPravesh K. Kothari, Ankur Moitra, Alexander S. WeinFOCS 2025 · 1 citation
- Faster Rectangular Matrix Multiplication by Combination Loss AnalysisFrançois Le GallSODA 2024 · 8 citations
- Approximating Iterated Multiplication of Stochastic Matrices in Small SpaceGil Cohen, Dean Doron, Ori Sberlo, Amnon Ta-ShmaSTOC 2023 · 4 citations
