Mentatcurated
▸ Concept

Matrix multiplication complexity

How many arithmetic operations it takes to multiply two n×n matrices — a number that governs the cost of almost every large computation in AI.

Learn first

In a nutshell

Two n×n matrices multiplied by the schoolbook method require n³ multiplications. For large n that dominates training and inference cost, so the exponent — call it ω — is what researchers try to shrink. The theoretical floor is ω = 2 (you can't do better than reading all the entries); current algorithms sit around 2.37. Each small drop in ω compounds enormously at scale. The hard part is that lower-ω algorithms trade multiplications for additions in ways that become numerically unstable or only win at sizes no real machine can run.

Where it came from

Year1969
SourceStrassen — "Gaussian Elimination is not Optimal"
Why it matteredFirst algorithm beating n³, reducing ω to roughly 2.807 by replacing one multiplication with additions inside a 2×2 block recursion.

Related players

How this connects

Tap a node to open it