[Paper Review] Fast Matrix Multiplication and Symbolic Computation
This paper surveys fast matrix multiplication (MM) techniques with a focus on practical, feasible-sized matrices rather than purely theoretical asymptotic improvements. It emphasizes trilinear aggregation, recursive bilinear algorithms, and symbolic computation, highlighting that algorithms like those in [87], [88], and [118] offer real-world performance gains by combining low recursion depth with efficient memory use, achieving a record exponent of 2.7734 for n ≤ 1,000,000 since 1982.
The complexity of matrix multiplication (hereafter MM) has been intensively studied since 1969, when Strassen surprisingly decreased the exponent 3 in the cubic cost of the straightforward classical MM to log 2 (7) $\approx$ 2.8074. Applications to some fundamental problems of Linear Algebra and Computer Science have been immediately recognized, but the researchers in Computer Algebra keep discovering more and more applications even today, with no sign of slowdown. We survey the unfinished history of decreasing the exponent towards its information lower bound 2, recall some important techniques discovered in this process and linked to other fields of computing, reveal sample surprising applications to fast computation of the inner products of two vectors and summation of integers, and discuss the curse of recursion, which separates the progress in fast MM into its most acclaimed and purely theoretical part and into valuable acceleration of MM of feasible sizes. Then, in the second part of our paper, we cover fast MM in realistic symbolic computations and discuss applications and implementation of fast exact matrix multiplication. We first review how most of exact linear algebra can be reduced to matrix multiplication over small finite fields. Then we highlight the differences in the design of approximate and exact implementations of fast MM, taking into account nowadays processor and memory hierarchies. In the concluding section we comment on current perspectives of the study of fast MM.
Motivation & Objective
- To reframe the research focus of fast matrix multiplication from purely theoretical asymptotic exponent reduction to practical, feasible-sized matrix computations.
- To identify and analyze techniques that enable efficient implementation of fast MM on modern processors with memory hierarchies.
- To compare and contrast approximate and exact implementations of fast MM, emphasizing numerical stability and memory efficiency in symbolic computation.
- To advocate for a shift from the traditional 2×2-based recursive bilinear approach to broader trilinear and aggregation-based methods for future progress.
- To address the 'curse of recursion' that limits the practicality of algorithms with very low exponents but high recursive depth.
Proposed method
- Uses trilinear decomposition and aggregation to represent matrix multiplication via coefficient matrices A, B, and C, enabling efficient implementation with sparse or structured coefficients.
- Employs recursive bilinear algorithms based on fast 2×2 MM, such as those in [87], [88], and [118], to reduce arithmetic cost while maintaining implementability.
- Applies computer search techniques to discover new trilinear decompositions, as in [136], to find efficient algorithms for small matrices (e.g., m,n,p ≤ 6).
- Leverages small finite fields to reduce exact linear algebra problems to matrix multiplication, enabling exact and stable computation.
- Analyzes memory hierarchy and vectorization to optimize performance on modern architectures, favoring algorithms with low recursion depth and high data locality.
- Proposes a 'heliocentric' perspective—moving beyond 2×2 recursion—to explore new Strassen-free techniques like aggregation and APA (asymptotically fast approximate) algorithms.
Experimental results
Research questions
- RQ1Why have recent theoretical advances in reducing the MM exponent below 2.37 had no practical impact on real-world computations?
- RQ2What are the key trade-offs between theoretical exponent reduction and practical implementability in fast MM algorithms?
- RQ3How can trilinear aggregation and sparse coefficient matrices improve the performance and stability of exact matrix multiplication?
- RQ4What role do memory hierarchy and data locality play in the practical efficiency of fast MM algorithms?
- RQ5Can combining techniques from [87], [88], [118], and [136] lead to a breakthrough in achieving a lower exponent than 2.7734 for feasible matrix sizes?
Key findings
- The exponent of 2.7734, achieved by the algorithm in [118], remains unbeaten since 1982 for feasible matrix sizes (n ≤ 1,000,000), despite theoretical progress toward 2.37.
- Algorithms based on trilinear aggregation with supersparse coefficient matrices (e.g., [87], [88]) are more memory-efficient and numerically stable than traditional recursive bilinear methods.
- The recent algorithm in [136], discovered via computer search, achieves exponents below log₂(7) for small matrices (min{m,n,p}=2, max≤6), but suffers from dense coefficient matrices and poor performance in practice.
- Recursive bilinear algorithms based on fast 2×2 MM remain the most practical path to performance gains, especially when optimized for memory hierarchy and vectorization.
- The 'curse of recursion' prevents low-exponent algorithms (e.g., Coppersmith–Winograd) from outperforming classical MM until matrix sizes exceed realistic limits by many orders of magnitude.
- Future progress in practical fast MM is more likely to come from combining human insight with computer search to design hybrid algorithms that merge the efficiency of [87]/[88] with the low exponents of [136], rather than pursuing further theoretical exponent reductions.
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.