WorksComputer Science
Parallelizing Complex Matrix Multiplication: The 3M Solution
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 3M (Gauss/Karatsuba) identity, computing the product from three real matrix multiplications instead of four, dropping arithmetic by 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 in parallel on disjoint processor groups, are independent questions, and we answer each in closed form under a standard -- communication model. Under this model, for 2D layouts, in the large- limit, parallelizing the split reduces bandwidth by and latency by , 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 worse, not better. We further generalize to Toom-Cook-, giving a closed-form condition, increasing in , under which higher-order splits rescue 3D layouts entirely: for instance, already makes 3D favorable for classical matrix multiplication, where the ordinary split never does.
Introduction
Complex-valued matrix multiplication is a core kernel in quantum chemistry [49, 55], electromagnetic simulation [27, 50], quantum circuit simulation [37, 3], and any FFT-based method operating on complex data [19].
As matrix dimensions grow, computing such a product requires distributing , , and across processors. This raises the general problem of parallel matrix multiplication, studied extensively over the past four decades [15, 56, 17, 12, 22, 1, 38, 47, 32, 2, 30, 54, 20, 6]: how the matrices should be laid out, and how the necessary arithmetic and data movement should be scheduled, to minimize total running time on a distributed-memory machine.
Three quantities govern this running time. The arithmetic cost is the number of scalar multiplications and additions each processor performs, as tallied for the dense matrix kernels underlying libraries such as the Level 3 BLAS [24]. The communication cost, or bandwidth, is the number of words each processor sends and receives. The latency is the number of messages exchanged, which matters independently of message size, since every message carries a fixed overhead regardless of how much data it holds. This distinction underlies cost models such as BSP [54] and LogP [20]. A parallel algorithm’s total running time is governed by all three simultaneously, and reducing one can come at the expense of another. For instance, replicating data across more processors can reduce communication at the cost of extra memory and redundant arithmetic. This paper studies how these three costs interact when a complex matrix product is computed in parallel.
Reducing communication is not a concern specific to matrix multiplication. It has been a central goal across numerical linear algebra for decades, with communication-optimal algorithms developed for QR and LU factorization [23, 26], eigenvalue and singular value problems [4], and Krylov subspace methods [29]. Matching communication lower bounds have been established across this body of work [6]. Toom-Cook [51, 18] (§ 2.4) generalizes Karatsuba to -way splitting. Nissim et al. gave Toom-Cook- algorithms that jointly optimize arithmetic and I/O [40]. Nissim and Spiizer later adapted this technique to inner-product Toom-Cook, obtaining a trade-off between arithmetic and communication costs [43]. Bilardi and De Stefani establish a tight lower bound for the I/O complexity of Toom-Cook integer multiplication [9], and De Stefani analyzes the I/O complexity of sequential and parallel hybrid integer multiplication algorithms [21], whose parallel setting has also been separately analyzed in the fault-tolerant Toom-Cook literature [42, 41].
Throughout, we compare three strategies for parallelizing the 3M identity, named once in full in §1.2 below and formally defined in §3: V1, our proposed split into concurrent processor groups; V2, an in-place restructuring that keeps the standard communication schedule; and V3, the standard four-multiplication approach. Table 1.1 previews the resulting comparison.
Table 1.1. Arithmetic (V2 vs. V3) and communication (V1 vs. V2).
Previous Work.
The common way to compute a complex product applies the trivial formula
entry-by-entry, at a cost of four real multiplications and two real additions per entry. A classical alternative needs only three multiplications: Gauss’s identity for multiplying two Gaussian integers, the same identity underlying Karatsuba’s algorithm [33]. It generalizes directly from scalars to matrix blocks , , , , giving the 3M identity
at a cost of four real additions per entry instead. Entry-wise, 4M is therefore preferable, since it needs fewer total operations; 3M’s advantage only appears once , , are themselves large matrix products, where the multiplication it saves is a full operation rather than a single scalar one.
This 3M/4M trade-off is well studied at the single-node level. Van Zee et al. build both into BLIS, restructuring only the local, in-place computation [57, 58]; Kouya extends this to arbitrary-precision arithmetic [35]; the identity’s mildly worse numerical stability has been separately characterized [28]. A structurally identical reduction appears in the Ozaki scheme for emulating FP64 (64-bit floating-point) matrix multiplication on low-precision (FP8, 8-bit floating-point; INT8, 8-bit integer) tensor-core hardware [45, 39], exposed through vendor libraries such as NVIDIA’s cuBLAS [44], where Uchino et al. recently proposed the same 4-to-3 reduction [52]. Neither line of work considers a distributed-memory setting.
On the distributed side, communication-avoiding matrix multiplication traces back to the I/O (input/output) lower bound of Hong and Kung [30], generalized to distributed memory by Aggarwal et al. [2] and Irony et al. [32] and surveyed by Ballard et al. (BDHS) [6]. The 2D, 2.5D, and 3D algorithms of §2.2 realize this bound at varying memory budgets [15, 56, 17, 12, 22, 1, 38, 47], alongside the BSP and LogP cost models [54, 20]. In practice, 2D is used when memory is limited, since it stores only one copy of each matrix per processor; 3D is used when memory is abundant, replicating the input -fold to cut communication substantially, and 2.5D interpolates between the two whenever partial replication fits in the available memory. Strassen’s algorithm and its descendants have communication-optimal distributed implementations (CAPS, §2.5) [48, 59, 34, 8, 7, 36, 5].
The distinction we draw is between the inner real-matrix-multiplication primitive and the outer 3M (or Toom-Cook-) identity composed on top of it. The communication-avoiding and communication-optimal literature above [7, 36, 5, 6], including CAPS, optimizes the inner primitive itself, for real- or Strassen-valued inputs; it does not address what happens when that primitive is called three (or ) times by an outer identity, since no complex/Gaussian composition is in view. The single-node literature on 3M/4M [57, 52] does consider the outer identity, but only ever restructures its local computation (V2 in our terms), implicitly assuming the inner primitive’s own communication schedule is fixed and shared; it does not consider restructuring communication around the outer identity itself, i.e., our V1. No prior work we are aware of analyzes this second, outer-level question, which is the gap this paper fills.
Our Contributions.
What we obtained.
Our main contribution is a closed-form decomposition of the three-way comparison among V1, V2, and V3 (§1) under the standard -- communication model; all percentages below are predictions of that model, not measurements, and we return to what the model omits and what calibrating it would require in §9. For computing the product of two complex matrices in 2D matrix-multiplication settings compared to standard practice, the model predicts an asymptotic reduction of 13.4% in bandwidth and 42.3% in latency (Corollary 4.6). At any practically achievable scale, this extends up to a critical replication factor (Corollary 4.8), roughly 79% of the way from 2D to full 3D replication, past which in-place restructuring (V2) becomes the better choice; at astronomically large, not practically achievable , splitting instead remains favorable throughout the entire 2.5D range short of full 3D replication itself (Corollary 4.9).
Our second result concerns Strassen’s algorithm. In 2D, splitting (V1) still reduces communication, but now at the cost of increased arithmetic: Strassen’s recombination phase is taxed three times under any 3-channel split, so in-place restructuring (V2) is 7.1% worse in arithmetic than standard (V3), a penalty V1 inherits. The communication saving still wins at scale: bandwidth drops by 3.7% and latency by the same 42.3% as classical, since the latency reduction does , . Negative = reduction, positive = increase. Bandwidth and latency are the asymptotic () V1-vs-V2 ratios of each term, from Theorem 4.4 and Lemma 4.5. Preview: this decomposition, and the two theorems behind it, are derived in §4.
not depend on the arithmetic exponent, but Strassen’s window is narrower (critical replication factor , about a third of classical’s); past that, and for 3D outright, standard (V3) is the best of all three strategies at every scale we evaluated.
We generalize our technique to multi-precision matrix multiplication: applied to Karatsuba’s high/low-digit split for emulating high precision on low-precision hardware, our theorems transfer unmodified, correctly predicting a classical-like (not Strassen-like) ranking. Generalizing further to -digit splits (Toom-Cook-), the same benefits grow with and, unlike the two-digit case, can rescue 3D layouts entirely.
Two further results round out the picture. Splitting into more pieces can rescue 3D layouts: Toom-Cook-3 suffices asymptotically for every arithmetic exponent, classical and Strassen alike, though Strassen’s crossover requires a larger since its bandwidth term alone still favors standard practice at . The same threshold generalizes to any similar splitting technique, governed by memory rather than communication for size-reducing algorithms like Strassen’s own recursive step, which explains CAPS’s BFS/DFS choice. We also checked whether V2’s extra product forces it to use more local memory than V3: it does not. A careful choice of buffer reuse lets V2 match V3’s memory footprint exactly, using only ordinary calls to an existing real-matrix-multiplication routine. We explain how we obtained all of these results next.
How we obtained it.
Once , , , are distributed across processors (2D, 2.5D, or 3D, §2.2), identity (1.2) admits more than one parallelization, and it is not obvious which is best. We propose parallelizing 3M by splitting processors into concurrent groups (V1 below), and compare this against the two existing alternatives (V2, V3). Three concrete strategies are possible:
V1 3M-split (our proposal). Partition the processors into three groups of ; each group computes one of concurrently.
V2 In-place 3M. Keep the standard communication schedule; apply the 3M decomposition only to the local, in-place computation (as in BLIS’s 3m kernel [57]).
V3 Standard. The common approach above: the same schedule as V2, with local computation done via the direct 4-multiplication formula.
All five results above follow from decomposing the three-way comparison into two independent sub-questions, each answered by a single theorem. V2 vs. V3 is a pure arithmetic question, since in-place restructuring (V2) and standard (V3) share, by construction, an identical communication schedule (Proposition 4.1), so their comparison reduces to comparing two leading coefficients, against (§2.3 and §2.4), independent of , , or the communication model. V1 vs. V2 is a communication question, since splitting into concurrent processor groups (V1) and in-place restructuring (V2) share, by a flop-time-invariance argument (Theorem 4.3), an identical compute time, so their comparison reduces to how bandwidth and latency scale under processor-splitting. governs the bandwidth term alone, and hence how quickly V1 catches up to V2 as grows; the eventual winner, as , is decided by latency, which for 2D gives a universal, algorithm-independent advantage to V1 regardless of (Corollary 4.6). Table 1.1 makes the two decomposed questions concrete: is 3M worth doing at all (already answered by existing practice), and is it additionally worth splitting into groups (the question this paper answers). This analysis is model-based; we also provide a consistency-check simulator as supplementary material1, which cross-checks our closed-form predictions against an independent, discrete accounting of each layout’s communication pattern under the same cost model, catching algebraic or off-by-constant errors in the closed forms; it does not substitute for measurement on a real distributed implementation (§6, §9).
Preliminaries
Notation and Model.
An algorithm has arithmetic exponent if its multiplication and addition counts satisfy , with leading coefficients ; we call the pair its arithmetic profile. Every algorithm here has (classical), (Strassen), or a -dependent exponent (Toom-Cook-). On the communication side, (bandwidth, words/processor) and (latency, messages/processor), up to lower-order terms.
We model the machine as identical processors, connected by a peer-to-peer communication network, the standard distributed-memory model [25, 54, 20, 15, 56, 17, 12, 22, 1, 38, 47, 32, 2, 30, 42, 41]. We adopt the bilinear-algorithm formalism used throughout the communication-avoiding literature [30, 32, 7, 6, 40]. is computed as for encoding matrices , and decoding matrix [34, 40], applied to sub-blocks (Strassen) or evaluation points (Toom-Cook). Time is for machine constants . Our aim is to reduce the leading coefficients and the bandwidth/latency coefficients, not merely the exponents. These exponents are fixed once the algorithm and layout are chosen [13, 34, 8, 40].
Substituting a layout’s memory bound into the BDHS bound [7],
gives every bandwidth exponent used throughout this paper.
2D, 2.5D, and 3D Matrix Multiplication.
All three layouts perform the same total work , differing only in memory budget and hence communication. They span two extremes and everything in between. 2D (Cannon [15], SUMMA [56, 17, 12]) is the limited-memory extreme: processors in a grid, minimal memory , rounds of local multiply-accumulate and shift/broadcast. 3D (Dekel et al. [22], refined by [1, 38, 47]) is the unlimited-memory extreme: -fold replication, maximal memory , local 2D multiply on each of layers plus a final reduction. These give , from the BDHS bound, matching the known communication-optimal results [32, 47]. 2.5D [47] interpolates via replication factor , , representing whatever memory is available between the two extremes; and recover 2D and 3D exactly. Substituting this into the BDHS bound (2.1) gives for classical matrix multiplication, which correctly recovers both endpoints: at and at . Table 2.1 gives all three leading coefficients; replication changes only communication, never .
| Layout | ||
| 2D (limited ) | ||
| 2.5D () | ||
| 3D (unlimited ) |
Table 2.1. Communication profiles, classical matrix multiplication. ; throughout, only vary. Established results [15, 56, 22, 1, 47], re-derived here from the BDHS bound (2.1) for consistency.
4M and 3M Gaussian Product.
For real , the Gaussian product has two forms. 4M: the common approach (Eq. (1.1)), applying the trivial complex-multiplication formula entry-by-entry within a single matrix-multiplication pass. Each of the scalar multiply-accumulate steps forms one complex product (4 real multiplications, 2 real additions) and accumulates it into the running complex sum (2 more real additions): 4 multiplications and 4 additions per step, giving , i.e. .
3M (Gauss/Karatsuba): for scalars , the same product can instead be computed as , , , giving and , using only three real multiplications instead of four. The same distributive expansion holds whether are scalars or matrix blocks, so this identity generalizes directly to (Eq. (1.2)): three products plus overhead, giving , i.e. .
Toom-Cook-.
Toom-Cook- [51, 18] generalizes Karatsuba () to -way splitting, originally for multiplying long integers: write each input as a degree- polynomial over digit blocks, ; the exact product is a length- convolution. The schoolbook algorithm multiplies two -digit integers entry-wise, at a cost of single-digit multiplications (compared to only operations to add two -digit integers). Toom-Cook instead evaluates both inputs at points, multiplies pointwise products of the reduced-size evaluations, and interpolates, using additions for the evaluation and interpolation steps combined. Karatsuba is (3 products instead of 4); Toom-3 is (5 instead of 9); Toom-4 is (7 instead of 16).
Strassen and CAPS.
Strassen [48] multiplies block matrices with 7 recursive multiplications instead of 8, at matrix additions per level (encoding + decoding), giving , . Solving (verified via recursive simulation in §5) gives , , . Three
Algorithm 3.1 V1: 3M-Split
Require: , , , distributed over processors; group id
Partition the processors into 3 disjoint groups of size
Scatter to group 1, to group 2, to group 3
concurrently: each group computes using its processors
Gather ; combine ,
Algorithm 3.2 V2: In-place 3M
Require: Local blocks , , , , resident identically on every one of the processors (no scatter or gather needed)
Ensure: Local blocks ,
▷ 1st of 3 real matrix products
▷ 2nd of 3 real matrix products
▷ 3rd, on the two summed operands
▷ combine via the 3M identity (1.2)
variants of are used throughout (Table 5.1): classical, [48]; Winograd, [59]; Karstadt-Schwartz, [34], split as 6+6 encoding/decoding. This gives , , both larger than classical’s, since pushes toward the limit at .
CAPS [36, 5] realizes Strassen in distributed memory by nesting its 7-way split inside a 2.5D-style layout: as many Strassen levels as memory allows, replicating across processors, before falling back to classical 2.5D. Its arithmetic profile is exactly , regardless of or replication (only communication changes, as in §2.2); it is proven communication-optimal, achieving the BDHS bound at across the same -to- family as 2.5D. We use this family directly in §5, rather than re-deriving CAPS’s internal engineering constants.
Algorithms
We now formally define V1, V2, V3 (introduced in §1) and prove that each correctly computes . §4 analyzes their arithmetic cost, communication cost, and memory footprint.
V1: 3M-Split (our proposal).
Algorithm 3.1 partitions the processors into three disjoint groups of ; each group computes one of , , concurrently using the real algorithm at reduced processor count.
Lemma 3.1 (V1 is correct). Algorithm 3.1 computes exactly.
Proof. By construction, group 1 computes , group 2 computes , and group 3 computes , each using only the operand blocks scattered to it. Expanding shows and match the direct definition of complex multiplication exactly. Partitioning processors into disjoint groups does not affect this identity, since each depends only on its own two operand blocks, which are fully available to group after the scatter step.
V2: In-place 3M.
Algorithm 3.2 performs a single pass of the real algorithm’s communication schedule, moving complex-valued (twice the bytes of real-valued) data, with the local, in-place computation restructured to use the 3M identity (1.2) instead of the direct 4-multiplication formula: every processor locally forms from its resident blocks of and combines them as , .
Lemma 3.2 (V2 is correct). Algorithm 3.2 computes exactly.
Proof. Identical to Lemma 3.1’s algebraic argument: V2 forms the same three products and combines them the same way, the only difference being that all three are computed locally on each processor’s already-resident data instead of being distributed across three disjoint groups. The combination step is unchanged, so correctness follows from the same expansion of .
V3: Standard.
Algorithm 3.3 uses the identical communication schedule as V2 (no change to what data moves, when, or in what quantity), with local blocks combined via the direct 4-multiplication formula, instead: every processor forms and entry-by-entry from its resident blocks, within a single pass (§1).
Lemma 3.3 (V3 is correct). Algorithm 3.3 computes exactly.
Proof. Immediate from the definition of complex multiplication: expanding gives and directly, with no intermediate identity to verify.
Analysis
We now give closed-form cost expressions for V1, V2, V3 (§3), using the arithmetic and
Algorithm 3.3 V3: Standard
Require: Local blocks (real, imaginary parts of ), resident identically on every one of the processors (same layout as V2, Algorithm 3.2; no scatter or gather needed)
Ensure: Local blocks
▷ initialize local output blocks
for each local output entry do
for each contraction index do ▷ accumulate over : the real algorithm’s own schedule (§1), one matrix multiplication, not 3 or 4 separate ones
▷ real, imaginary parts of
▷ real, imaginary parts of
▷ trivial complex-multiply formula, 4 real mults
end for
end for
communication leading coefficients of §2. For a real-matrix-multiplication primitive of arithmetic exponent , write for the per-processor multiplication count (§2.1). Write for the leading coefficient of one real product’s combined arithmetic ( for classical, by §2.2; for Strassen, by §2.5). Write for the corresponding coefficient of the direct 4M (or -product) formula applied via the standard single-pass schedule, and for the 3M/Toom-Cook- analogue.
where here denotes the combined (mult+add) coefficient of one real product ( classical, §2.2).
approximates the one-time cost of scattering into their respective groups. It also covers gathering and combining at the end, via a direct peer-to-peer exchange between corresponding processors in the three groups.
where is the local-arithmetic (combined mult+add) coefficient of the 3M-decomposed computation. For classical matrix multiplication, (§2.3). For Strassen, is the fused-leaf coefficient derived in §5, which is not simply .
For classical matrix multiplication, (§2.3). carries both the multiplication and addition leading coefficients equally (§2.2), so the total arithmetic coefficient in (4.3) is . We write this as throughout when referring to the combined (mult+add) leading coefficient, consistent with §2.3.
Proposition 4.1 (V2 and V3 share bandwidth and latency). , a pure arithmetic difference with no bandwidth or latency term.
Proof. Immediate from (4.2) and (4.3): both use the identical communication term, since the local restructuring from 4M to 3M changes only which arithmetic is performed on already-resident data, not what is communicated or when.
Communication and arithmetic are not the only place one might expect V2 and V3 to differ. V2’s identity (1.2) introduces a third product, , whose operands are not among the original four input blocks. A naive implementation that materializes both sums as brand-new temporaries before calling an existing real-matrix-multiplication routine three times needs 8 blocks of size at peak (the 4 inputs, 2 outputs, and 2 sum temporaries, all simultaneously resident at the moment is computed), a 33% increase over V3’s 6. This naive ordering is not forced, however.
Proposition 4.2 (V2’s memory footprint need not exceed V3’s). V2 admits an implementation with the same peak local memory footprint as V3: 6 blocks of size (the four input blocks and the two output blocks ), using only calls to an existing real-matrix-multiplication routine and no additional temporary storage.
Proof. The following order computes using only the six buffers , reusing each as its original value becomes unneeded, and no others:
, giving , written directly into the output buffer.
, giving , written directly into the output buffer.
in place: ’s original value is no longer needed, since step 1 already consumed it.
in place: ’s original value is no longer needed, since step 1 already consumed it.
, giving from the now-overwritten sum buffers, written into the now-free buffer; are not needed again.
, giving , the correct .
: since and, at this point, (from step 6) while still holds (unchanged by step 6), this computes , the correct .
No seventh buffer is used at any point, and each of the three real-matrix-multiplication calls (steps 1, 2, 5) is an ordinary call to an unmodified existing routine.
The naive 8-block ordering is therefore an implementation choice, not a consequence of the 3M identity itself or of reusing an existing real-matrix-multiplication routine: the reordering above achieves V3’s footprint exactly, using nothing beyond ordinary buffer management in the calling code.
This decomposes the three-way comparison cleanly: V2 vs. V3 is a comparison of the constants and alone (§4.1), while V1 vs. V2 is governed entirely by how communication scales under processor-splitting (§4.2). Both share the same compute time, by Theorem 4.3.
Theorem 4.3 (Flop-time invariance). and have identical compute-time terms whenever (true for classical matrix multiplication; see §5 for the Strassen case, where it does not hold):
Proof. , so .
For classical matrix multiplication, Theorem 4.3 isolates the V1-vs-V2 comparison to communication alone. Partitioning processors into three concurrent groups of costs exactly as much total processor-time as applying the 3M-restructured local computation to the entire problem at full .
V2 vs. V3: is 3M worth doing at all?
For classical matrix multiplication, (§2.3), so by Proposition 4.1, unconditionally. The margin is a fixed absolute quantity, , that becomes a vanishing fraction of total time as , since the identical communication term comes to dominate, but it never reverses. This matches BLIS’s real-world design choice [57]. Restructuring the local kernel is free with respect to communication, so there is no reason not to do it.
For Strassen, this conclusion reverses (§5): the fused-leaf coefficient exceeds , so unconditionally; in-place 3M is strictly worse than standard, for any .
V1 vs. V2: is splitting worth it?
Theorem 4.4 (Bandwidth crossover). Comparing bandwidth terms alone, V1’s is smaller than V2’s iff the bandwidth-coefficient ratio (V1, from ) is less than (V2, from the complex-data doubling):
Proof. By Theorem 4.3 (when it applies) the compute terms of and are equal, so comparing bandwidth terms in isolation, against , and solving for gives the stated threshold.
This threshold governs the bandwidth terms alone, deliberately set aside from latency. It does not, by itself, determine the eventual winner: bandwidth shrinks with while latency grows, so for large enough latency dominates absolutely in both layouts, regardless of , and the true limit is decided by latency, not bandwidth.
Lemma 4.5 (Latency dominance). Suppose V1 splits processors into groups (so each computes at processors), with a fixed redistribution overhead whose latency contribution is . As , for any layout with bandwidth :
If for some (polynomial growth), latency eventually dominates bandwidth in both and , giving : V1 wins, by a margin independent of .
If (logarithmic growth), latency again eventually dominates, but the finite absolute gap now competes against the redistribution overhead’s fixed cost : , with V1 ahead iff .
Proof. In case 1, while , so for large enough dominates in , and likewise for ; the ratio of latency terms is , giving the stated limit. In case 2, the same domination holds, but exactly, a constant; dividing by gives , from below when and from above otherwise.
Corollary 4.6 (True asymptotic winner). As , for 2D, and for 3D, in both cases independent of . V1 therefore wins asymptotically in 2D for every arithmetic exponent, by exactly ; V2 remains at least as good asymptotically in 3D for every , the gap vanishing as a fraction of total time but never reversing.
Proof. Lemma 4.5 with : for 2D, is case 1 with , giving ;
for 3D, is case 2, and , so V2 remains ahead. This holds even when , where Theorem 4.4’s bandwidth comparison alone would favor V2: bandwidth only delays the point at which V1 begins to win in 2D, since it is eventually dominated by latency regardless of its own sign.
Classical 2D favors V1 at scale, converging to the universal reduction of Corollary 4.6 regardless of ; classical 3D never favors V1, converging instead to a vanishing gap in V2’s favor. Theorem 4.4’s bandwidth threshold still matters in both layouts, not for the sign of the eventual winner in 2D, which is unconditional, but for how large must be before that winner is realized: an algorithm with (classical, Strassen) reaches the 2D asymptote at smaller than one with would, though both converge to the same limit.
Lemma 4.7 (V1 dominates 3M-sequential). A strategy that runs the three products sequentially on all processors, , is dominated by V1 at every : , since the compute terms are equal (Theorem 4.3) while and the latency ratios above are both . We therefore omit 3M-sequential from the main comparison.
The full 2.5D range: a critical replication factor.
Theorem 4.4 compares only the two endpoints, and . The same bandwidth-only argument extends to every intermediate , giving a single number that separates "split" from "don’t split" for a fixed, moderate ; as in §4.2, the true limit is a separate question, taken up below.
Corollary 4.8 (Critical replication factor, bandwidth-only). Write for , so is 2D and is 3D. Substituting into the BDHS bound (3) gives a bandwidth exponent linear in ,
which recovers at and at . Comparing bandwidth terms alone, V1 beats V2 exactly when , where
Proof. Solve for , using the linear form above.
For classical matrix multiplication (), this simplifies to , so : splitting (V1) beats in-place restructuring (V2), comparing bandwidth alone, for any replication up to roughly 79% of the way, in , from 2D to full 3D replication.
Corollary 4.9 (True asymptotic winner, general ). As with fixed, , independent of : V1 wins for every , by a margin shrinking continuously to 0 as . Only at the exact endpoint does this reverse, per Corollary 4.6: there V2 remains asymptotically ahead by a vanishing margin. The bandwidth-only threshold of Corollary 4.8 is therefore not the true asymptotic crossover point; there is none in the interior of , since V1 wins throughout it. instead marks, at finite , where the bandwidth term’s own sign changes, and remains the practically relevant threshold, since the required to observe the true asymptote grows unboundedly as : at , for instance, this requires beyond , far past any physical system, whereas correctly predicts the finite- sign already at .
Proof. For , : Lemma 4.5’s case 1 with , , giving , strictly less than 1. As , , so the at which this term overtakes bandwidth and grows without bound, diverging exactly at , where instead and Corollary 4.6’s case 2 takes over.
Extension to Fast Matrix Multiplication
Applying (3) with gives and , the same qualitative split as classical, with a larger margin on the unfavorable 3D side (0.10 vs. classical’s 0.036).
Corollary 4.8’s critical replication factor makes this margin concrete. Instantiating at gives , so , compared to classical’s : Strassen’s favorable window closes after only about 26% of the way (in ) from 2D to full 3D replication, versus classical’s 79%. This is the limited-memory case sharpened: on any 2.5D layout with even modest replication, splitting for Strassen stops paying off far sooner than it does for classical matrix multiplication, since Strassen’s larger leaves much less room in before crossing . As Corollary 4.9 shows, this narrower window is a finite-, bandwidth-only statement: at astronomically large , splitting remains favorable for Strassen too, throughout the entire interior of the 2.5D range, the same as classical.
The arithmetic constants require more care. Recall from §2.5 that is the number of matrix additions per Strassen recursion level, split as : encoding forms the 7 operand pairs from and ’s quadrants, and decoding recombines the 7 products into ’s quadrants. Solving the standard recursions gives
for one real Strassen product and for direct-complex . The (enc/dec) split for each variant is an established result, cited per row. V1’s coefficient is itself, since each of its three groups computes only one real product; its comparison against V2/V3 depends on and layout, reported in Table 6.2.
| Layout | V2:V3 | BW | Latency | |
| 2D | ||||
| 2D | ||||
| 2D | ||||
| 3D | ||||
| 3D | ||||
| 3D |
Table 6.2. Strassen algorithm: arithmetic (V2:V3), communication (V1:V2 BW, latency).
Strassen, respectively. The latter treats each of the additions per level as a complex operation, a factor-2 cost. Direct-complex Strassen is the natural realization of V3 for a recursive algorithm: it applies Strassen’s own recursion directly to complex-typed data, with a naive complex leaf. Now consider , the coefficient for in-place 3M, or fused-leaf Strassen. This carries two real channels through Strassen’s recursive splitting, applies the Gaussian trick only at the scalar base case, and recombines three channels at every level. The encoding phase is paid twice (once per channel) and the decoding phase three times (once per output channel). This gives the per-level recursion
with leaf value 5 (the Gaussian trick’s 3 multiplies + 2 adds). Solving:
Table 5.1 instantiates , , and for the three Strassen variants introduced in §2.5: classical, Winograd, and Karstadt-Schwartz. It uses the classical split , and the Karstadt-Schwartz split , . In both cases : in-place 3M is worse than standard. The decoding phase’s 3× tax outweighs the multiplication savings, regardless of which variant’s absolute addition count is used.
Table 5.1. Strassen arithmetic coefficients, three variants.
Using the literature-verified split [34], , , : V2 (in-place 3M) is 7.1% worse than V3 (standard) unconditionally, at any , for any layout. This is the opposite ranking from classical matrix multiplication, and it holds regardless of which Strassen variant supplies the addition count; using the correct (rather than the commonly-assumed classical) constants roughly halves the size of the reversal but does not change its direction. CAPS (§2.5) realizes V1’s split-groups strategy at Strassen’s arithmetic exponent, giving communication terms , governed by the same , derived above.
Numerical Results
Throughout this section, all values use , , . Each table reports both memory regimes of §2.2: 2D (limited memory) and 3D (unlimited memory). A negative value denotes a cost reduction (the left-hand strategy is cheaper); a positive value denotes a cost increase. We report V2-vs-V3 (arithmetic) and V1-vs-V2 (communication) as two separate, independent comparisons throughout, never combined into a single figure: a reduction in one is not a reduction in the other, and the two do not add. All values below were cross-checked against a consistency-check simulator provided as supplementary material: it independently derives per-processor flop counts, bytes moved, message counts, and peak memory footprint from each layout’s literal communication pattern, under the same -- model, and checks these against the closed-form model used throughout this paper. This confirms the closed forms are algebraically consistent with the model’s own assumptions; it is not a check of those assumptions against a real distributed implementation (§9).
. From §2.3, Theorem 4.4, Lemma 4.5, and Corollary 4.6.
Classical matrix multiplication.
Table 6.1 confirms the predicted decomposition. V2-vs-V3 holds at exactly its 25% reduction ( at , §2.3) at small-to-moderate for both layouts, decaying toward 0% only once communication dominates, slowly for 3D, quickly for 2D. Bandwidth is a fixed −13.4% for 2D and +4.0% for 3D at every (Theorem 4.4}); latency is a fixed −42.3% for 2D but shrinks toward 0% for 3D as $P$ grows (Corollary 4.6`). Since latency dominates as , it decides the eventual winner: split into groups on top of V2 for 2D at scale, never for 3D.
| Layout | V2 [57]:V3 | BW | Latency | |
| 2D | −25.0% | −13.4% | −42.3% | |
| 2D | −13.0% | −13.4% | −42.3% | |
| 2D | −0.04% | −13.4% | −42.3% | |
| 3D | −25.0% | +4.0% | −25.0% | |
| 3D | −23.5% | +4.0% | −10.0% | |
| 3D | −3.3% | +4.0% | −7.1% |
Table 6.1. Classical matmul: arithmetic (V2:V3), communication (V1:V2 BW, latency).
Strassen (Karstadt-Schwartz split).
Table 6.2 shows the consequence of §5’s reversal: V2-vs-V3 is positive everywhere, so naively adopting in-place 3M is worse than doing nothing; a Strassen implementation built on the classical assumption needs correcting, not merely extending. Bandwidth is a fixed −3.7% . From Table 5.1 and Corollary 4.8.
2D and for 3D at every , larger in magnitude than classical’s since Strassen’s sits further from in both layouts; latency, however, is exactly the same as classical’s in both layouts, -independent (Corollary 4.6): standard (V3) is the best strategy of the three for 3D-Strassen, at every scale we evaluated. Throughout, "Strassen" refers specifically to the Karstadt-Schwartz alternative-basis technique [34], the provably addition-optimal variant instantiated in Table 5.1.
Strassen (Karstadt-Schwartz split).
Generalizing to Multi-Digit Splits: Toom-Cook- and Precision Emulation
Gauss’s identity (§ 2.3) and Karatsuba’s precision split (below) are both the case of Toom-Cook- (§ 2.4). We derive the general V2-vs-V3 and V1-vs-V2 conditions once, as a function of , and instantiate both.
General coefficients and theorems.
Writing for one real product’s combined (mult+add) arithmetic, and (§ 2.4).
Theorem 7.1 (V2 beats V3 for every ). For any and any base algorithm with no deep recursive recombination, , with relative saving .
Proof. for integer .
This generalizes the 25% saving already seen at (§ 2.3, and Karatsuba’s precision split below); the saving grows with : 44% at , 56% at , 64% at , for any algorithm without Strassen-style recursive structure (Strassen is excluded since its own depends on how it is split, § 5).
Theorem 7.2 (Bandwidth crossover, general ). Comparing bandwidth terms alone, V1’s is smaller than V2’s iff , i.e., .
Proof. V2 moves digit matrices (bandwidth coefficient , from the complex-data-style channel doubling generalized to channels); V1 uses processors per group (bandwidth coefficient ). Solve for . (V2 and V3 share bandwidth and latency, Proposition 4.1, so this is equally a comparison against standard, V3.)
is strictly increasing, , as (confirmed numerically: 0.631, 0.683, 0.712, 0.733, 0.747 for ), since higher-order splits push the outer exponent toward the floor. As in §4.2, this threshold governs the bandwidth terms alone: it does not by itself decide the eventual winner, since bandwidth shrinks with while latency grows, so latency eventually dominates absolutely, regardless of .
Corollary 7.3 (True asymptotic winner, general ). As , for 2D, independent of , for every (a reduction of ). For 3D, , with the sign of the vanishing gap governed by against 2, also independent of . V1 remains asymptotically ahead only at (); for every (), V1 is asymptotically ahead instead, however small the margin.
Proof. Lemma 4.5 with replacing 3: for 2D, , giving ; for 3D, V1 is ahead iff .
Corollary 7.4 (Higher-order splits rescue 3D). For every arithmetic exponent , including both classical matrix multiplication and Karstadt-Schwartz Strassen, is asymptotically unfavorable for 3D and is the first to flip it favorable, by Corollary 7.3. This is -independent: it is governed by against 2, not by against . The bandwidth-based threshold of Theorem 7.2 still matters for how large must be before this asymptotic winner is realized, and there it does depend on : for classical, already exceeds , so ’s bandwidth term alone favors V1; for Karstadt-Schwartz Strassen, , so ’s bandwidth term alone still favors V2, and only latency’s asymptotic dominance brings V1 ahead, meaning Strassen’s crossover in happens at a larger than classical’s, even though both eventually cross at the same .
Combining both theorems into one finite- condition (V1 superior to standard iff positive):
with , , and the same ratios at processors. At finite the sign is governed jointly by the arithmetic term (always helps) and the communication term (helps iff ); at asymptotically large , latency, not bandwidth, decides the outcome (Corollary 7.3).
| 2 | −13.4/−42.3 | −13.4/−42.3 | −13.4/−42.3 |
| 3 | −25.5/−55.3 | −25.5/−55.3 | −25.5/−55.3 |
| 4 | −33.9/−62.2 | −33.9/−62.2 | −33.9/−62.2 |
| 5 | −40.0/−66.7 | −40.0/−66.7 | −40.0/−66.7 |
| 6 | −44.7/−69.8 | −44.7/−69.8 | −44.7/−69.8 |
Table 7.2. V1:V2 bandwidth/latency, classical, 2D layout, per and . . Each cell: bandwidth/latency change, in %. Negative = reduction, positive = increase. From Theorem 7.2 and Corollary 7.3. Unlike 3D, both columns are constant across here, since the 2D bandwidth and latency ratios do not depend on (Theorem 7.2, Lemma 4.5).
Table 7.1 confirms Corollary 7.4 directly, showing bandwidth and latency separately: bandwidth is negative (favorable) from onward and grows more favorable with , while stays positive (unfavorable); latency is favorable throughout, for every , but shrinks toward 0% as grows. For classical matrix multiplication specifically, crossing already happens at , so the bandwidth-only and true asymptotic crossovers coincide here; for algorithms where they do not (Strassen, §5), the asymptotic crossover in still occurs at , but only at a larger than the bandwidth-only threshold alone would suggest.
| 2 | +4.0/−23.9 | +4.0/−9.5 | +4.0/−6.0 |
| 3 | −2.5/−35.0 | −2.5/−14.0 | −2.5/−8.7 |
| 4 | −8.5/−42.3 | −8.5/−16.9 | −8.5/−10.6 |
| 5 | −13.5/−47.7 | −13.5/−19.1 | −13.5/−11.9 |
| 6 | −17.6/−52.1 | −17.6/−20.8 | −17.6/−13.0 |
Table 7.1. V1:V2 bandwidth/latency, classical, 3D layout, per and . . Each cell: bandwidth/latency change, in %. Negative = reduction, positive = increase. From Theorem 7.2 and Corollary 7.3.
The Karatsuba precision-emulation instance.
This framework applies unmodified to an unrelated setting: emulating a high-precision (FP64) matrix product from cheap low-precision (FP8/INT8) matrix multiplications, 100 to 500× faster per operation on recent accelerators [52]. Writing , for a base-, two-digit split, Uchino et al. [52] reduce the naive four-product formula to three, exactly the Toom-Cook shape with the complex basis replaced by a base- one: for .
Theorems 7.1 and 7.2 transfer without modification: , , , and splitting is worthwhile at scale for 2D, essentially never for 3D, at the same .
Two caveats apply here: our evaluation uses one shared , though the identity’s actual purpose is accessing a smaller low-precision , so the true crossover likely sits smaller than our numbers suggest; and the recombination carries the same cancellation risk Higham [28] documents for the Gaussian case, not yet checked independently for this instance, though a general error analysis of the broader Ozaki-II scheme has recently appeared [53].
General BFS Placement for Composed Bilinear Algorithms
The V1-vs-V2 question of §4.2 and its Toom-Cook- generalization are instances of a more general one: given two composed bilinear algorithms, an outer one calling an inner one, at which level should the single available processor split (a BFS step, in CAPS’s [36, 5] terminology) be placed? The answer is a closed-form threshold when the outer algorithm is size-preserving, as 3M and Toom-Cook- are, and a different, memory-driven criterion when it is size-reducing, as Strassen is; this is why CAPS’s own BFS/DFS choice is not an instance of our Theorem 7.2, despite the similarity.
Let compute one product via auxiliary bilinear products (its arity), each formed from fixed linear combinations of channel blocks of the original operands, recombined in : Toom-Cook- splits into channels and products, with Gauss’s identity the case (, ). Let realize each auxiliary product, with bandwidth exponent on processors. BFS- partitions into groups of , each computing one product via concurrently (exactly V1 for Toom-Cook-); Fuse-into- keeps all processors together, realizing ’s schedule once and moving all channels together (exactly V2).
Theorem 8.1 (General BFS placement, size-preserving ). For size-preserving of arity , channel count , composed with any of communication exponent , BFS- communicates less than Fuse-into- iff .
Proof. As in Theorem 4.3, both strategies perform identical total arithmetic, so the comparison is bandwidth-only. Fuse-into- moves channels in one pass (coefficient ); BFS- uses processors per group (coefficient ). Solving gives . □
This recovers Theorem 7.2 (, ) and Theorem 4.4 () as special cases, and, instantiated at , , reproduces Table 6.1’s V1-vs-V2 savings exactly.
Theorem 8.1 assumes is size-preserving. Strassen’s recursive step is not: it reduces a size- product to size- products, so the relevant comparison is BFS (7 concurrent groups of ) versus DFS (the 7 subproblems sequentially on the full ). An analogous calculation shows BFS’s bandwidth is times DFS’s, so BFS communicates no more whenever , true for every algorithm here. This explains CAPS’s own BFS/DFS choice [36, 5]: BFS is communication-favorable essentially unconditionally for a size-reducing outer algorithm, so what CAPS trades off is memory, using BFS whenever the budget allows -fold memory and DFS only when memory-constrained, a criterion orthogonal to Theorem 8.1’s.
Combining both cases: place BFS at if it is size-preserving and ; otherwise fuse and ask the identical question one level deeper, of itself. Our outer algorithm (3M or Toom-Cook-) is always size-preserving, composed with an inner one (classical or Strassen) that need not be, so this recursion terminates in one step: the BFS step belongs before the matrix multiplication, not inside it, even when the inner algorithm is Strassen, since §5’s , are exactly the that Theorem 8.1 takes as input.
Discussion
We decompose the question of how to parallelize the 3M complex-matrix-multiplication trick into two independent sub-questions: is 3M worth doing at all (V2 vs. V3, purely arithmetic, since both share an identical communication schedule), and is it worth restructuring communication to get more of it (V1 vs. V2, purely communication, since both share an identical compute time). For classical matrix multiplication, 3M is unconditionally worth doing locally, by a 25% arithmetic margin matching BLIS’s design, and additionally worth splitting into concurrent processor groups for 2D layouts at scale, but never for 3D. This 2D-vs-3D split, however, is governed not by the bandwidth-based critical exponent that first appears to decide it, but by which term, bandwidth or latency, dominates as : bandwidth shrinks with while latency grows, in both layouts, so latency eventually dominates absolutely, regardless of . For 2D, this gives V1 a universal latency advantage for every arithmetic exponent (versus a merely 13.4% bandwidth advantage for classical specifically, which does depend on and is not universal), not just those with ; instead governs how large must be before this advantage appears. For 3D, the same latency-growth argument applies, but the fixed cost of V1’s redistribution step narrowly outweighs latency’s fixed advantage there, so V2 remains asymptotically at least as good, for every , the gap vanishing as rather than reversing. The same mechanism generalizes: for Toom-Cook- (Corollary 7.3), the 2D result generalizes exactly , -independent), and the true 3D crossover moves from to , also -independent; for general replica-tion (Corollary 4.9), the true asymptotic winner is V1 throughout the entire interior of the 2.5D range, not just up to , though the required to observe this grows unboundedly as , so remains the practically relevant threshold at any finite scale.
This analysis is entirely model-based, and we have not validated it against a real distributed implementation. The -- model itself omits effects of the same order of magnitude as the percentages we report: contention among V1’s three concurrent groups sharing one interconnect; load imbalance; the gap between as idealized constants and a real collective-communication implementation (scatter, gather, broadcast-reduce); and the lower-order terms dropped throughout, not separately confirmed to remain lower-order at our crossover scales. in particular is a coarse estimate, not derived from a concrete collective schedule. An MPI-based implementation on an existing 2D/2.5D/3D library, or on CAPS directly, would calibrate these terms and validate the crossover points ((7.1)) against measurement; we leave this to future work. Short of that, our consistency-check simulator (supplementary material, §6) verifies the closed forms are algebraically consistent with an independent, discrete accounting of the same model, which is necessary but not sufficient for the model to be accurate, and does not address the omissions above.
The two kinds of claim this paper makes carry different dependence on . The structural claims, including the sign of every asymptotic crossover (V1 beats V2 in 2D, loses in 3D, for every arithmetic exponent; rescues 3D for Toom-Cook-), are limits of latency-term ratios alone (Lemma 4.5), and cancel out entirely, not appearing in the stated ratios vs. 2) at all; these are robust to the choice of machine constants. What does depend on , via and the bandwidth term, is where the crossover occurs: the finite- threshold (Corollary 4.8) and the exact percentages in Table 1.1 and §6, computed at one representative setting and shifting under another. Treat the asymptotic direction of each crossover as the robust contribution, the percentages as illustrations at one operating point.
Proposition 4.2’s 6-vs-8-block memory comparison is a distributed-memory accounting and does not transfer to BLIS’s single-node implementation [57]: BLIS packs operands into small, cache-blocked workspace buffers rather than holding each as one persistent block, so whatever extra workspace its method needs is transient and cache-block-sized, not a full extra block.
For Strassen’s algorithm, using the Karstadt-Schwartz addition count, this picture inverts: in-place is strictly worse than standard, since its recombination phase cannot be shared across channels the way evaluation can, making standard best for -Strassen at every scale we evaluated. Two assumptions bear on this: the latency exponent for Strassen- and CAPS-based layouts is assumed identical to classical, and ’s known numerical-stability disadvantage [28] is not in the cost model, which may affect V1/V2’s viability for ill-conditioned inputs; error bounds for alternative-basis Strassen [46] could sharpen this. Whether other fast algorithms (Pan-, Schönhage-type) show the same V2-vs-V3 reversal is also worth checking.
The framework generalizes beyond Gauss’s identity: applied to Karatsuba’s high/low-digit split for FP64-via-low-precision emulation, the identical two theorems govern the same comparison, correctly predicting a classical-like ranking, since that identity has no deep recursive recombination. The same stability caveat applies here too, more acutely: this recombination has not, to our knowledge, been separately checked for stability.
Generalizing to Toom-Cook- yields one closed-form superiority condition, combining the arithmetic saving with the critical exponent , both increasing in : where leaves on the wrong side, flips it favorable for every arithmetic exponent asymptotically, though for Strassen, where still falls short of , this only appears at larger than the bandwidth-only threshold suggests (§4.2). A further direction, suggested by Nissim et al.’s alternative-basis and Toom-Graph techniques [40], is optimizing the lower-order terms suppressed throughout, instead of treating them as negligible.
A separate open direction is fault tolerance: how can a fault-tolerant complex matrix multiplication be built on V1, V2, or V3? Fault-tolerant matrix multiplication was already established [31, 14, 16, 11, 10], and fault-tolerant recursive Toom-Cook likewise [42, 41], but neither addresses this composition. Adapting either would mean deciding whether the fault-tolerance layer sits on the outer split, the inner algorithm, or both, and whether V1’s already-disjoint groups can double as the needed redundancy structure.
Acknowledgments
This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 818252, 101113120, 101138056). Research was supported by grant No. 1354/23 of the Israel Science Foundation (founded by the Israel Academy of Sciences and Humanities). This research has been supported by the Science Accelerator and by the Frontiers in Science initiative of the Ministry of Innovation, Science and Technology.
References
- [1]R. C. Agarwal, S. M. Balle, F. G. Gustavson, M. Joshi, and P. Palakkar. A three-dimensional approach to parallel matrix multiplication, IBM J. Res. Dev., 39 (1995), pp. 575–582.DOI
- [2]A. Aggarwal, A. K. Chandra, and M. Snir, Communication complexity of PRAMs, Theoretical Computer Science, 71 (1990), pp. 3–28.
- [3]F. Arute, K. Arya, R. Babbush, et al., Quantum supremacy using a programmable superconducting processor, Nature, 574 (2019), pp. 505–510.DOI
- [4]G. Ballard, J. Demmel, and I. Dumitriu, Communication-optimal parallel and sequential eigenvalue and singular value algorithms, arXiv:1011.3077, (2011).
- [5]G. Ballard, J. Demmel, O. Holtz, B. Lipshitz, and O. Schwartz, Communication-optimal parallel algorithm for Strassen’s matrix multiplication, in Proc. 25th ACM Symp. Parallelism in Algorithms and Architectures (SPAA), 2013.arxiv.org/abs/1202.3173
- [6]G. Ballard, J. Demmel, O. Holtz, and O. Schwartz, Minimizing communication in numerical linear algebra, SIAM J. Matrix Anal. Appl., 32 (2011), pp. 866–901.DOI
- [7]G. Ballard, J. Demmel, O. Holtz, and O. Schwartz, Graph expansion and communication costs of fast matrix multiplication, J. ACM, 59 (2012). article 32.
- [8]G. Beniamini and O. Schwartz, Faster matrix multiplication via sparse decomposition, in Proc. 31st ACM Symp. Parallelism in Algorithms and Architectures (SPAA), 2019.DOI
- [9]G. Bilardi and L. De Stefani, The I/O complexity of Toom-Cook integer multiplication, in Proc. 30th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2019, pp. 2034–2052.DOI
- [10]N. Birnbaum, R. Nissim, and O. Schwartz, Fault tolerance with high performance for fast matrix multiplication, in Proc. SIAM Workshop on Combinatorial Scientific Computing (CSC), 2020, pp. 106–117.
- [11]N. Birnbaum and O. Schwartz, Fault tolerant resource efficient matrix multiplication, in Proc. 8th SIAM Workshop on Combinatorial Scientific Computing (CSC), 2018, pp. 23–34.
- [12]L. S. Blackford, J. Choi, A. Cleary, E. D’Azevedo, J. Demmel, I. Dhillon, J. Dongarra, S. Hammarling, G. Henry, A. Petitet, K. Stanley, D. Walker, and R. C. Whaley, ScaLAPACK Users’ Guide, SIAM, Philadelphia, PA, 1997.DOI
- [13]M. Bodrato and A. Zanoni, What about Toom-Cook matrices optimality, tech. report, Centro “Vito Volterra”, Università di Roma Tor Vergata, 2006.
- [14]G. Bosilca, R. Delmas, J. Dongarra, and J. Langou, Algorithm-based fault tolerance applied to high performance computing, J. Parallel Distrib. Comput., 69 (2009), pp. 410–416.DOI
- [15]L. E. Cannon, A cellular computer to implement the Kalman filter algorithm, PhD thesis, Montana State University, 1969.
- [16]Z. Chen and J. Dongarra, Algorithm-based fault tolerance for fail-stop failures, IEEE Trans. Parallel Distrib. Syst., 19 (2008), pp. 1628–1641.DOI
- [17]J. Choi, J. J. Dongarra, R. Pozo, and D. W. Walker, ScaLAPACK: A scalable linear algebra library for distributed memory concurrent computers, in Proc. 4th Symp. Frontiers of Massively Parallel Computation, 1992.
- [18]S. A. Cook, On the Minimum Computation Time of Functions, PhD thesis, Harvard University, 1966.
- [19]J. W. Cooley and J. W. Tukey, An algorithm for the machine calculation of complex fourier series, Mathematics of Computation, 19 (1965), pp. 297–301.DOI
- [20]D. E. Culler, R. M. Karp, D. A. Patterson, A. Sahai, K. E. Schauser, E. Santos, R. Subramonian, and T. von Eicken, LogP: Towards a realistic model of parallel computation, in Proc. 4th ACM SIGPLAN Symp. Principles and Practice of Parallel Programming (PPoPP), 1993, pp. 1–12.
- [21]L. De Stefani, Brief announcement: On the I/O complexity of sequential and parallel hybrid integer multiplication algorithms, in Proc. 34th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), 2022.DOI
- [22]E. Dekel, D. Nassimi, and S. Sahni, Parallel matrix and graph algorithms, SIAM J. Comput., 10 (1981), pp. 657–675.DOI
- [23]J. Demmel, L. Grigori, M. Hoemmen, and J. Langou, Communication-optimal parallel and sequential QR and LU factorizations, SIAM J. Sci. Comput., 34 (2012), pp. A206–A239.
- [24]J. J. Dongarra, J. D. Croz, I. S. Duff, and S. Hammarling, A set of level 3 basic linear algebra subprograms, ACM Trans. Math. Softw., 16 (1990), pp. 1–17.
- [25]A. Grama, A. Gupta, G. Karypis, and V. Kumar, Introduction to Parallel Computing, Addison-Wesley, Boston, 2nd ed., 2003.
- [26]L. Grigori, J. W. Demmel, and H. Xiang, CALU: A communication optimal LU factorization algorithm, SIAM J. Matrix Anal. Appl., 32 (2011), pp. 1317–1350.
- [27]R. F. Harrington, Field Computation by Moment Methods, MacMillan, New York, 1968.
- [28]N. J. Higham et al., Stability of a method for multiplying complex matrices with three real matrix multiplications, SIAM J. Matrix Anal. Appl., 13 (1992), pp. 681–687.DOI
- [29]M. Hoemmen, Communication-Avoiding Krylov Subspace Methods, PhD thesis, University of California, Berkeley, 2010.
- [30]J.-W. Hong and H. T. Kung, I/O complexity: The red-blue pebble game, in Proc. 13th ACM Symp. Theory of Computing (STOC), 1981, pp. 326–333.DOI
- [31]K.-H. Huang and J. A. Abraham, Algorithm-based fault tolerance for matrix operations, IEEE Trans. Computers, C-33 (1984), pp. 518–528.DOI
- [32]D. Irony, S. Toledo, and A. Tiskin, Communication lower bounds for distributed-memory matrix multiplication, J. Parallel Distrib. Comput., 64 (2004), pp. 1017–1026.DOI
- [33]A. Karatsuba and Y. Ofman, Multiplication of multidigit numbers on automata, Soviet Physics Doklady, 7 (1963), pp. 595–596.
- [34]E. Karstadt and O. Schwartz, Matrix multiplication, a little faster, J. ACM, 67 (2020). article 1.
- [35]T. Kouya, Acceleration of complex matrix multiplication using arbitrary precision floating-point arithmetic, arXiv:2307.06072, (2023).arxiv.org/abs/2307.06072
- [36]B. Lipshitz, G. Ballard, J. Demmel, and O. Schwartz, Communication-avoiding parallel Strassen: Implementation and performance, in Proc. SC12, 2012.
- [37]I. L. Markov and Y. Shi, Simulating quantum computation by contracting tensor networks, SIAM J. Comput., 38 (2008), pp. 963–981.DOI
- [38]W. F. McColl and A. Tiskin, Memory-efficient matrix multiplication in the BSP model, Algorithmica, 24 (1999), pp. 287–297.DOI
- [39]D. Mukunoki, T. Ogita, and K. Ozaki, Accurate and reproducible BLAS routines with Ozaki scheme for many-core architectures, in Proc. Parallel Processing and Applied Mathematics (PPAM), 2020.DOI
- [40]R. Nissim, O. Schwartz, and Y. Spizer, Minimizing I/O in Toom-Cook algorithms, in Euro-Par 2024: Parallel Processing, vol. 14803 of LNCS, Springer, 2024.DOI
- [41]R. Nissim, O. Schwartz, and Y. Spizer, Minimizing processor count for fault tolerant Toom-Cook algorithms, in Proc. 37th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), 2025, pp. 514–524.DOI
- [42]R. Nissim, O. Schwartz, Y. Spizer, K. Agrawal, and E. Petrank, Fault-tolerant parallel integer multiplication, in Proc. 36th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), 2024, pp. 207–218.DOI
- [43]R. Nissim and Y. Spizer, Minimizing communication costs in inner product Toom-Cook algorithms, in Euro-Par 2026: Parallel Processing, vol. 16782 of LNCS, Springer, 2027.DOI
- [44]NVIDIA Corporation, cuBLAS library. NVIDIA CUDA Toolkit Documentation. Available: https://docs.nvidia.com/cuda/cublas/.
- [45]K. Ozaki, T. Ogita, S. Oishi, and S. M. Rump, Error-free transformations of matrix multiplication by using fast routines of matrix multiplication and its applications, Numer. Algorithms, 59 (2012), pp. 95–118.DOI
- [46]O. Schwartz, S. Toledo, N. Vaknin, and G. Wiernik, Alternative basis matrix multiplication is fast and stable, in Proc. IPDPS, 2024, pp. 38–51.
- [47]E. Solomonik and J. Demmel, Communication-optimal parallel 2.5D matrix multiplication and LU factorization algorithms, in Euro-Par 2011, vol. 6853 of LNCS, Springer, 2011, pp. 90–109.DOI
- [48]V. Strassen, Gaussian elimination is not optimal, Numer. Math., 13 (1969), pp. 354–356.DOI
- [49]A. Szabo and N. S. Ostlund, Modern Quantum Chemistry: Introduction to Advanced Electronic Structure Theory, McGraw-Hill, New York, 1989.
- [50]A. Taflove and S. C. Hagness, Computational Electrodynamics: The Finite-Difference Time-Domain Method, Artech House, Norwood, MA, 3rd ed., 2005.
- [51]A. L. Toom, The complexity of a scheme of functional elements realizing the multiplication of integers, Soviet Mathematics Doklady, 3 (1963), pp. 714–716.
- [52]Y. Uchino, K. Ozaki, and T. Imamura, Double-precision matrix multiplication emulation via Ozaki-II scheme with FP8 quantization, arXiv:2603.10634, (2026).arxiv.org/abs/2603.10634
- [53]Y. Uchino, K. Ozaki, and T. Imamura, Error analysis of matrix multiplication emulation using Ozaki-II scheme, arXiv:2602.02549, (2026).arxiv.org/abs/2602.02549
- [54]L. G. Valiant, A bridging model for parallel computation, Commun. ACM, 33 (1990), pp. 103–111.DOI
- [55]M. Valiev, E. J. Bylaska, N. Govind, K. Kowalski, T. P. Straatsma, H. J. J. Van Dam, D. Wang, J. Nieplocha, E. Apra, T. L. Windus, and W. A. de Jong, NWChem: A comprehensive and scalable open-source solution for large scale molecular simulations, Comput. Phys. Commun., 181 (2010), pp. 1477–1489.DOI
- [56]R. A. van de Geijn and J. Watts, SUMMA: Scalable universal matrix multiplication algorithm, Concurrency: Practice and Experience, 9 (1997), pp. 255–274.
- [57]F. G. Van Zee, T. Smith, F. D. Igual, M. Smelyanskiy, X. Zhang, M. Kistler, V. Austel, J. Gunnels, T. M. Low, B. Marker, L. Killough, and R. A. Van de Geijn, Implementing high-performance complex matrix multiplication via the 3m and 4m methods, ACM Trans. Math. Softw., 44 (2017). article 7.
- [58]F. G. Van Zee and R. A. Van de Geijn, BLIS: A framework for rapidly instantiating BLAS functionality, ACM Trans. Math. Softw., 41 (2015). article 14.
- [59]S. Winograd, On multiplication of 2 × 2 matrices, Linear Algebra Appl., 4 (1971), pp. 381–388.DOI