Is Matrix Multiplication Ugly?
mathenchant.wordpress.com
Is Matrix Multiplication Ugly?
1–10 of 113 posts
Re: Is Matrix Multiplication Ugly?
#2Re: Is Matrix Multiplication Ugly?
#3Re: Is Matrix Multiplication Ugly?
#4> But matrix multiplication, to which our civilization is now devoting so many of its marginal resources, has all the elegance of a man hammering a nail into a board.
is the most interesting one.
A man hammering a nail into a board can be both beautiful and elegant! If you've ever seen someone effortlessly hammer nail after nail into wood without having to think hardly at all about what they're doing, you've seen a master craftsman at work. Speaking as a numerical analyst, I'd say a well multiplied matrix is much the same. There is much that goes into how deftly a matrix might be multiplied. And just as someone can hammer a nail poorly, so too can a matrix be multiplied poorly. I would say the matrices being multiplied in service of training LLMs are not a particularly beautiful example of what matrix multiplication has to offer. The fast Fourier transform viewed as a sparse matrix factorization of the DFT and its concomitant properties of numerical stability might be a better candidate.
Re: Is Matrix Multiplication Ugly?
#5Do you disagree with my take or think I’m missing Witt’s point? I’d be happy to hear from people who disagree with me.
You can have very beautiful algorithms when you assume the matrices involved have a certain structure. You can even have that A*B == B*A, if A and B have a certain structure.
Re: Is Matrix Multiplication Ugly?
#6Do you disagree with my take or think I’m missing Witt’s point? I’d be happy to hear from people who disagree with me.
Re: Is Matrix Multiplication Ugly?
#7Do you disagree with my take or think I’m missing Witt’s point? I’d be happy to hear from people who disagree with me.
Re: Is Matrix Multiplication Ugly?
#8Do you disagree with my take or think I’m missing Witt’s point? I’d be happy to hear from people who disagree with me.
I know linear algebra, but this part seems profoundly unclear. What does "send" mean? Following with different examples in 2 by 2 notation only makes it worse. It seems like you're changing referents constantly.
Re: Is Matrix Multiplication Ugly?
#9I think this sentence: > But matrix multiplication, to which our civilization is now devoting so many of its marginal resources, has all the elegance of a man hammering a nail into a board. is the most interesting one. A man hammering a nail into a board can be both beautiful and elegant! If you've ever seen someone effortlessly hammer nail after nail into wood without having to think hardly at all about what they're…
Re: Is Matrix Multiplication Ugly?
#10Do you disagree with my take or think I’m missing Witt’s point? I’d be happy to hear from people who disagree with me.
> sends the pair (x, y) to the pair (−x, y) I know linear algebra, but this part seems profoundly unclear. What does "send" mean? Following with different examples in 2 by 2 notation only makes it worse. It seems like you're changing referents constantly.