[Paper Review] A non-commutative algorithm for multiplying (7 $\ imes$ 7) matrices using 250 multiplications
This paper presents a non-commutative algorithm for multiplying 7×7 matrices using only 250 scalar multiplications, improving upon the previous upper bound of 258. The method combines Strassen's divide-and-conquer technique with known fast algorithms for rectangular matrix multiplication, specifically leveraging Smirnov's results for 4×4 and 3×4 subproblems to reduce the total number of multiplications.
We present a non-commutative algorithm for multiplying (7x7) matrices using 250 multiplications and a non-commutative algorithm for multiplying (9x9) matrices using 520 multiplications. These algorithms are obtained using the same divide-and-conquer technique.
Motivation & Objective
- To develop a new upper bound for the number of multiplications required in 7×7 matrix multiplication.
- To extend the divide-and-conquer approach using non-commutative matrix algebra to reduce computational complexity.
- To improve upon the previously known upper bound of 258 multiplications for 7×7 matrix multiplication.
- To explore the limitations of this method when applied to larger matrices, such as 9×9.
- To demonstrate that the method's effectiveness is constrained by the current knowledge of fast algorithms for rectangular matrices.
Proposed method
- The algorithm applies Strassen's 2×2 matrix multiplication formula recursively to decompose a 7×7 matrix multiplication into smaller subproblems.
- It uses a block matrix decomposition where 7×7 matrices are padded to 8×8 matrices with zero rows and columns to enable recursive application of the 4×4 block structure.
- The method relies on a key inequality (Proposition 1) that bounds the complexity of multiplying (u+v)×(u+v) matrices in terms of smaller u×u and v×v subproblems.
- It combines known fast algorithms for rectangular matrices—specifically Smirnov’s algorithms for (2×3)×(3×4), (2×4)×(4×3), and (2×3)×(3×5) multiplications—to minimize total multiplications.
- The tensor formulation and trace equivalence are used to interpret the bilinear form of matrix multiplication, enabling the decomposition into trace terms that correspond to sub-multiplications.
- The final algorithm is constructed by aggregating the results of these sub-multiplications, ensuring the correct reconstruction of the 7×7 product matrix with only 250 multiplications.
Experimental results
Research questions
- RQ1Can a non-commutative matrix multiplication algorithm for 7×7 matrices be constructed using fewer than 258 multiplications?
- RQ2How does the combination of Strassen’s method and rectangular matrix algorithms affect the total number of multiplications in square matrix multiplication?
- RQ3What is the theoretical limit of this divide-and-conquer approach when applied to 9×9 matrices?
- RQ4To what extent is the performance of this method constrained by the availability of fast algorithms for rectangular matrices?
- RQ5Can this framework be generalized to other matrix sizes beyond 7×7 and 9×9?
Key findings
- The paper achieves a new upper bound of 250 multiplications for 7×7 matrix multiplication, improving upon the prior known bound of 258.
- The algorithm is constructed using Strassen’s method for 2×2 blocks and optimized rectangular subproblems, particularly leveraging Smirnov’s fast algorithms for (4×4)×(4×3) and similar sizes.
- For 9×9 matrix multiplication, the method yields a bound of 520 multiplications, which is two more than the known 514-multiplication algorithm but still represents a significant improvement over earlier bounds.
- The method’s performance is limited by the current state of knowledge on fast rectangular matrix multiplication algorithms, as demonstrated by the gap between 520 and the 514-multiplication result.
- The framework is generalizable and can be applied to other matrix sizes, as shown by the derivation of bounds for (8×8), (9×9), and (10×10) matrices using similar recursive decomposition.
- The algorithm’s success depends critically on the availability of efficient rectangular matrix multiplication algorithms, which currently restrict the achievable improvements.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.