Lune

SODA2025Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Faster Matrix Multiplication via Asymmetric Hashing cites A Refined Laser Method and Faster Matrix Multiplication
  • A Refined Laser Method and Faster Matrix Multiplication cites Faster Matrix Multiplication via Asymmetric Hashing
  • New Bounds for Matrix Multiplication: from Alpha to Omega cites Faster Matrix Multiplication via Asymmetric Hashing
  • New Bounds for Matrix Multiplication: from Alpha to Omega cites A Refined Laser Method and Faster Matrix Multiplication
  • A Refined Laser Method and Faster Matrix Multiplication cites New Bounds for Matrix Multiplication: from Alpha to Omega
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
  2. New Bounds for Matrix Multiplication: from Alpha to OmegaVirginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, Renfei ZhouSODA 2024 · 90 citations
  3. Faster Matrix Multiplication via Asymmetric HashingRan Duan, Hongxun Wu, Renfei ZhouFOCS 2023 · 54 citations
  4. Strong Bounds for 3-ProgressionsZander Kelley, Raghu MekaFOCS 2023 · 24 citations
  5. 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

  1. More Asymmetry Yields Faster Matrix MultiplicationJosh Alman, Ran Duan, Virginia Vassilevska Williams, Yinzhan Xu et al.SODA 2025 · 35 citations
  2. The Time Complexity of Fully Sparse Matrix MultiplicationAmir Abboud, Karl Bringmann, Nick Fischer, Marvin KünnemannSODA 2024 · 6 citations
  3. Overcomplete Tensor Decomposition via Koszul-Young FlatteningsPravesh K. Kothari, Ankur Moitra, Alexander S. WeinFOCS 2025 · 1 citation
  4. Faster Rectangular Matrix Multiplication by Combination Loss AnalysisFrançois Le GallSODA 2024 · 8 citations
  5. Approximating Iterated Multiplication of Stochastic Matrices in Small SpaceGil Cohen, Dean Doron, Ori Sberlo, Amnon Ta-ShmaSTOC 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines