Matrix Multiplication is O(n^2.25) [pdf]

(github.com)

87 points | by E-Reverance an hour ago ago

19 comments

  • orlp 27 minutes ago

    Title is incorrect (it says O(n^2.25) at the time of writing), we already knew that, and that's not what this result describes. It should be ฮ˜(n^2.25), or the original title "The matrix multiplication exponent is nine fourths".

    • pxx 15 minutes ago

      This should be fixed. The title of the submission is neither the title of the page it links to nor the correct statement.

    • krackers 26 minutes ago

      >we already knew that

      Annoyingly the wikipedia page doesn't even mention the previous improved upper bound from their October results.

  • brandonb 10 minutes ago

    This result proves a lower bound of Omega(n^2.25); the upper bound of 2.25 was already known.

    An actual algorithm that achieves O(n^2.25) was published recently, although it's far from practical: https://eccc.weizmann.ac.il/report/2026/281/

  • gyrovagueGeist 2 minutes ago

    The fact that with their model they developed a new tensor geometry framework / machinery underlying all these new proofs today is crazy. This one hits much closer to home for me than Riemann

  • anlsh 32 minutes ago

    Damn, would have been really cool if it had been 2 :/

  • int32_64 20 minutes ago

    It would be nice if there was a table showing all these recent proofs and whether or not they diverge from field consensus.

    What percentage of results so far have been upsets against the consensus?

  • SideQuark 11 minutes ago

    The proof is for division free circuits evaluation polynomial expressions.

  • free_bip 22 minutes ago

    Is this proof constructive? Can we construct optimal algorithms for multiplying different sizes of matrices?

    • qnleigh 10 minutes ago

      Based on the abstract, it looks like no:

      > The proof shows that a smaller exponent would compress tensor networks enough to violate a lower bound for testing whether the entries in each of several independent lists are distinct.

      In other words, it sounds like if the exponent were lower, than you could use that to check if two lists were the same without looking at all the entries (or something like that), which is logically absurd.

  • aabhay 23 minutes ago

    Note that this improves on the prior bound of roughly 2.371

    • orlp 16 minutes ago

      No it doesn't, it proves a lower bound of 2.25.

      The upper bound of 2.25 was found earlier https://github.com/openai/math/blob/main/preprints/Matrix-Mu....

    • jcelerier 16 minutes ago

      the paper is much bigger than this. The previous things were upper bounds with the assumption (hope) that the actual lower bound was 2 and that quadratic matmul was possible. This is the exact lower bound (and, sadly > 2).

    • hinkley 17 minutes ago

      That bound is determined empirically as I recall. Every few years someone shaves a hundredth off of the best algorithm known at the time.

  • protortyp 22 minutes ago

    curious whether the techniques behind the upper bound can be turned into practical GPU kernels. I would assume the economic implications would be enormous

  • vlovich123 34 minutes ago

    The abstract says this is for square matrices - does it also extend to rectangular matrices?

    • SideQuark 15 minutes ago

      Embed them in square matrices with zeroes, then subdivide. So yes.

  • mmoskal an hour ago

    ...and 8 other results: https://github.com/openai/math/blob/3344da59991ed94f9ba71121...

    The matmul result is that omega is exactly 2.25, not just lower bound.