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 (5)

  1. Practical algorithms that ar being used are worse than n^2.25. So this is wrong, we may get practical algorithmic improvements in the future.
    Replies (2)
    1. What's the current state of the art like on real hardware? Like, how big of a matrix would you need before even the original improvement to n^(log2(7)) is relevant?
      Replies (1)
      1. Not current (2016) but with plots for results on page 9, looks like you need matrices with size length 2000-4000 for it to pay off, or something like that.

        "Our implementation demonstrates speedup over conventional DGEMM even on an Intel(R) Xeon Phi(TM) coprocessor utilizing 240 threads." (Just funny, a modest 240 threads dedicated to mmul..)

        Replies (1)
        1. FWIW, I found https://pldi26.sigplan.org/details/pldi-2026-papers/24/Compi... which seems to confirm that; frontier LLMs are somewhat above that size threshold from what I can figure out, and apparently it has been confirmed practical.
    2. (in the usual asymptotic since) (i.e. for large enough matrices)