Graph expansion and communication costs of fast matrix multiplication
Authors:
Open Access
- 1 December 2012
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 59 (6) , 1-23
Abstract
The communication cost of algorithms (also known as I/O-complexity) is shown to be closely related to the expansion properties of the corresponding computation graphs. We demonstrate this on Strassen's and other fast matrix multiplication algorithms, and obtain the first lower bounds on their communication costs. In the sequential case, where the processor has a fast memory of size M , too small to store three n -by- n matrices, the lower bound on the number of words moved between fast and slow memory is, for a large class of matrix multiplication algorithms, Ω( ( n /√ M ) ω 0 · M ), where ω 0 is the exponent in the arithmetic count (e.g., ω 0 = lg 7 for Strassen, and ω 0 = 3 for conventional matrix multiplication). With p parallel processors, each with fast memory of size M , the lower bound is asymptotically lower by a factor of p . These bounds are attainable both for sequential and for parallel algorithms and hence optimal.Keywords
All Related Versions
Funding Information
- European Research Council (239985)
- U.S. Department of Energy (DE-SC0003959, DE-SC0004938, and DE-FC02-06-ER25786)
- Division of Mathematical Sciences (DMS-0635607)
- Lawrence Berkely National Laboratory (DE-AC02-05CH11231)
This publication has 51 references indexed in Scilit:
- Communication-efficient parallel generic pairwise eliminationFuture Generation Computer Systems, 2007
- QR factorization with Morton-ordered quadtree matrices for memory re-use and parallelismACM SIGPLAN Notices, 2003
- New serial and parallel recursive QR factorization algorithms for SMP systems1998
- GEMMW: A Portable Level 3 BLAS Winograd Variant of Strassen's Matrix-Matrix Multiply AlgorithmJournal of Computational Physics, 1994
- Communication complexity of PRAMsTheoretical Computer Science, 1990
- Matrix multiplication via arithmetic progressionsJournal of Symbolic Computation, 1990
- The input/output complexity of sorting and related problemsCommunications of the ACM, 1988
- Size bounds for superconcentratorsTheoretical Computer Science, 1983
- O(n2.7799) complexity for n × n approximate matrix multiplicationInformation Processing Letters, 1979
- An inequality related to the isoperimetric inequalityBulletin of the American Mathematical Society, 1949