Parallelizing Complex Matrix Multiplication: The 3M Solution
Yuval Spiizer
Key points
From the paper's conclusion- We further generalize to Toom-Cook-$k$, giving a closed-form condition, increasing in $k$, under which higher-order splits rescue 3D layouts entirely: for instance, $k=3$ already makes 3D favorable for classical matrix multiplication, where the ordinary $k=2$ split never does.
Abstract
We consider the problem of computing the product of two matrices with complex entries, a kernel used in quantum chemistry, electromagnetic simulation, quantum circuit simulation, and FFT-based methods. Standard practice already restructures the local computation using the classical \emph{3M} (Gauss/Karatsuba) identity, computing the product from three real matrix multiplications instead of four, dropping arithmetic by $25\%$ unconditionally but leaving communication unchanged. We show that whether 3M is worth doing at all, and whether it is additionally worth restructuring communication to get more of it by computing the three products \emph{in parallel} on disjoint processor groups, are independent questions, and we answer each in closed form under a standard $\alpha$-$\beta$-$\gamma$ communication model. Under this model, for 2D layouts, in the large-$P$ limit, parallelizing the split reduces bandwidth by $13.4\%$ and latency by $1-1/\sqrt3\approx42.3\%$, the latter independent of the underlying algorithm's arithmetic exponent; neither reduction is achieved for 3D. For Strassen's algorithm the arithmetic picture reverses: restructuring locally is $7.1\%$ \emph{worse}, not better. We further generalize to Toom-Cook-$k$, giving a closed-form condition, increasing in $k$, under which higher-order splits rescue 3D layouts entirely: for instance, $k=3$ already makes 3D favorable for classical matrix multiplication, where the ordinary $k=2$ split never does.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The 2M Multiplication Algorithm for Complex MatricesACM Transactions on Mathematical Software · 2026
- Matrix Multiplication from Polynomial Packings: A Constructive and Elementary Proof of $\omega\le9/4$arXiv · 2026
- Simultaneous Matrix Multiplication by Tensor Contraction AggregationarXiv · 2026
- Exposing Embedded Matrix Multiplication with polyhedral transformations for CGRA compilationACM Transactions on Architecture and Code Optimization · 2026
- A faster matrix multiplication algorithm through structured optimizationarXiv · 2026
- Multiplying matrices via polynomials: exposition and barriersarXiv · 2026