The I/O complexity of hybrid algorithms for square matrix multiplication

04/29/2019
by   Lorenzo De Stefani, et al.
0

Asymptotically tight lower bounds are derived for the I/O complexity of a general class of hybrid algorithms computing the product of n × n square matrices combining "Strassen-like" fast matrix multiplication approach with computational complexity Θn^_2 7, and "standard" matrix multiplication algorithms with computational complexity Ω(n^3). We present a novel and tight Ω((n/{√(M),n_0})^_2 7({1,n_0/M})^3M) lower bound for the I/O complexity a class of "uniform, non-stationary" hybrid algorithms when executed in a two-level storage hierarchy with M words of fast memory, where n_0 denotes the threshold size of sub-problems which are computed using standard algorithms with algebraic complexity Ω(n^3). The lower bound is actually derived for the more general class of "non-uniform, non-stationary" hybrid algorithms which allow recursive calls to have a different structure, even when they refer to the multiplication of matrices of the same size and in the same recursive level, although the quantitative expressions become more involved. Our results are the first I/O lower bounds for these classes of hybrid algorithms. All presented lower bounds apply even if the recomputation of partial results is allowed and are asymptotically tight. The proof technique combines the analysis of the Grigoriev's flow of the matrix multiplication function, combinatorial properties of the encoding functions used by fast Strassen-like algorithms, and an application of the Loomis-Whitney geometric theorem for the analysis of standard matrix multiplication algorithms. Extensions of the lower bounds for a parallel model with P processors are also discussed.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/15/2019

On the I/O complexity of hybrid algorithms for Integer Multiplication

Almost asymptotically tight lower bounds are derived for the I/O complex...
research
05/26/2022

Tight Memory-Independent Parallel Matrix Multiplication Communication Lower Bounds

Communication lower bounds have long been established for matrix multipl...
research
01/16/2018

Lower bounds for Combinatorial Algorithms for Boolean Matrix Multiplication

In this paper we propose models of combinatorial algorithms for the Bool...
research
01/29/2018

Which NP-Hard SAT and CSP Problems Admit Exponentially Improved Algorithms?

We study the complexity of SAT(Γ) problems for potentially infinite lang...
research
07/21/2021

Communication Lower Bounds for Nested Bilinear Algorithms

We develop lower bounds on communication in the memory hierarchy or betw...
research
05/13/2019

Dynamic Matrix Inverse: Improved Algorithms and Matching Conditional Lower Bounds

The dynamic matrix inverse problem is to maintain the inverse of a matri...
research
11/15/2019

Automated Derivation of Parametric Data Movement Lower Bounds for Affine Programs

For most relevant computation, the energy and time needed for data movem...

Please sign up or login with your details

Forgot password? Click here to reset