Bilinear algorithms and tensor rank
Multiplying two matrices is a bilinear map. Every way of computing it with r multiplications writes one fixed tensor as a sum of r rank-one tensors; the fewest possible is the rank of that tensor.
Figure 1 · Strassen’s algorithm, 2×2 with 7 products
Figure 1. (a) The problem and its tensor T, (b) the seven products, (c) the outputs, (d) T as a 4×4×4 array written as the sum of seven rank-one arrays. Hover a product to trace it through (b), (c) and (d).
From products to a tensor
Each output entry is a sum of products of an entry of A and an entry of B: ck = Σ Tijkaibj. The numbers Tijk form a three-dimensional array. An algorithm multiplies one linear combination of the a’s by one of the b’s, several times, and adds the results; that is exactly a decomposition T = Σ ur ⊗ vr ⊗ wr, one rank-one array per product.
Applied recursively to blocks, 7 products for 2×2 give an n×n algorithm in about n2.81 operations instead of n3. That is why fewer products for small sizes matter.
Structured products and octonions
The same picture holds when A and B are symmetric, triangular or skew-symmetric, or when the bilinear map is the octonion product on ℝ⁸. The tensor changes, and so does the number of products needed. Khoruzhii, Gelß and Pokutta catalogue the best known schemes for structured products up to n = 5 (the flip-cpd catalog).
Our results
- Records: thirteen products where our schemes use fewer multiplications than any published scheme, among them octonion multiplication with 25.
- Live catalog: all nineteen structured matrix multiplication families across n = 4..10, updated live from our active search repository.
- Scheme gallery: every published scheme drawn as in Figure 1 and re-checked in the page.
- Structured 6×6, Octonions, rank 25 and Octonions, rank 24: the figures of the three papers. The rank-24 decomposition is not explicit, so it is not in the gallery.
Further reading
- V. Strassen, “Gaussian elimination is not optimal”, Numerische Mathematik 13 (1969) 354–356. doi:10.1007/BF02165411
- Wikipedia: Strassen algorithm, Matrix multiplication algorithm, Tensor rank decomposition, Octonion
- M. Bläser, “Fast matrix multiplication”, Theory of Computing Graduate Surveys 5 (2013). theoryofcomputing.org
- A. Fawzi et al., “Discovering faster matrix multiplication algorithms with reinforcement learning”, Nature 610 (2022) 47–53. doi:10.1038/s41586-022-05172-4
- K. Khoruzhii, P. Gelß, S. Pokutta, “Faster algorithms for structured matrix multiplication via flip graph search”, ISSAC 2026, 227–236. arXiv:2511.10786