An unofficial, read-only Hacker News reader.

The matrix multiplication exponent is nine fourths [pdf] (opens external site)

1072 points by E-Reverance 4 days ago | github.com | 615 comments on HN

View full thread · View on Hacker News

Comment thread (16)

  1. Note that this improves on the prior bound of roughly 2.371
    Replies (3)
    1. That bound is determined empirically as I recall. Every few years someone shaves a hundredth off of the best algorithm known at the time.
      Replies (1)
      1. (Inspector Clouseau voice) Not any more.
        Replies (1)
        1. Someone else said there's only one solution known that reaches this level but that it's impractical. So while the bound is known, we are still practically around n^0.1 above the theoretical limit.
    2. 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).
      Replies (3)
      1. Given the constants for the known algorithms this is of little practical difference. And even if we find a practical n^2.25 algorithm one day, you would still need pretty large matrices for it to make any difference (i. e. billion rows matrices are only ~200x slower with n^2.25 than with quadratic).
        Replies (3)
        1. “Only 200x slower.” Ok, I guess. Sounds bad to me, though.
        2. "Pretty large matrices". Hmm, wonder where we have large matrices that need multiplication.
        3. The point isn't how far from quadratic we're forced to settle for; the point is how far from cubic we could be. So really we're interested in an exponent difference of .75 rather than .25, enough to be quite relevant even at the size of matrices that frontier LLMs deal with.

          (I looked around a bit and apparently the old Strassen algorithm from 1969 has been tested out — https://pldi26.sigplan.org/details/pldi-2026-papers/24/Compi... — and found practical; the constants can be good enough to show an improvement on frontier LLMs.)

      2. N^2 would have been prettier, ah well, another square packing result...
        Replies (1)
        1. All things considered, an exponent of exactly 9/4 is actually an extremely pretty result.
      3. maybe, hopefully, there's a useful subset of matrices with specific properties that can be matmul'd in quadratic time?
    3. 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....

      Replies (1)
      1. I'm assuming the upper bound paper also gives an algorithm right?
        Replies (1)
        1. https://eccc.weizmann.ac.il/report/2026/281/

          > Exposition of OpenAI’s Matrix Multiplication in Exponent 9/4 (and an explicit algorithm)

          Replies (1)
          1. Ohh so the original openai paper was non constructive. Interesting.