Nope. In fact, this is the exact opposite kind of result: no matter what advances we make, matrix multiplication will never get faster than the best currently known algorithm (in the usual asymptotic sense.)
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?
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..)
One of the issues with translating results like these to the real world is this: we know that the cost (in time) for multiplying matrices is C N^2.25, where C is some constant. Theoretical computer scientists are interested in driving down that exponent as low as possible, independent of what C is.
In this case, and in many others, optimal algorithms have extremely large C's. In fact so large that there is no practical reason to ever use them. My understanding is that all matrices are multiplied in practice naively (O(n^3)) or with Strassen's algorithm (O(n^2.8something)) but that none of the newer (20th century and beyond) algorithms are practical.
I multiply two square matrices in numpy. Will my performance improve?
Replies (2)
Replies (1)
Replies (2)
Replies (1)
"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)
In this case, and in many others, optimal algorithms have extremely large C's. In fact so large that there is no practical reason to ever use them. My understanding is that all matrices are multiplied in practice naively (O(n^3)) or with Strassen's algorithm (O(n^2.8something)) but that none of the newer (20th century and beyond) algorithms are practical.