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

12/15/2019
by   Lorenzo De Stefani, et al.
0

Almost asymptotically tight lower bounds are derived for the I/O complexity IO(n,M) of a general class of hybrid algorithms computing the product of two integers, each represented with n digits in a given base s, in a two-level storage hierarchy with M words of fast memory, with different digits stored in different memory words. The considered hybrid algorithm combine the Toom-Cook-k (or Toom-k) fast integer multiplication approach with computational complexity Θ(c_kn^log_k (2k-1)), and "standard" integer multiplication algorithms which compute Ω(n^2) digit multiplications. We present an Ω((n/max{M,n_0})^log_k (2k-1)(max{1,n_0/M})^2M) 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^2). The lower bound is 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 integers of the same size and in the same recursive level including those where the value of k is allowed to vary with the level of recursion. As some hybrid algorithms from this class execute a number of I/O operations that is within a O(k^2) multiplicative term of the corresponding lower bounds, the proposed lower bounds are almost asymptotically tight and indeed tight for constant values of k. Extensions of the lower bounds for a parallel model with P processors are also discussed.

READ FULL TEXT
research
04/29/2019

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

Asymptotically tight lower bounds are derived for the I/O complexity of ...
research
09/30/2020

Communication-Optimal Parallel Standard and Karatsuba Integer Multiplication in the Distributed Memory Model

We present COPSIM a parallel implementation of standard integer multipli...
research
07/21/2021

Communication Lower Bounds for Nested Bilinear Algorithms

We develop lower bounds on communication in the memory hierarchy or betw...
research
10/07/2020

Episodic Reinforcement Learning in Finite MDPs: Minimax Lower Bounds Revisited

In this paper, we propose new problem-independent lower bounds on the sa...
research
02/28/2020

Communication-Optimal Tilings for Projective Nested Loops with Arbitrary Bounds

Reducing communication - either between levels of a memory hierarchy or ...
research
05/16/2018

Integrated Bounds for Disintegrated Storage

We point out a somewhat surprising similarity between non-authenticated ...
research
04/20/2021

Upper and Lower Bounds for Deterministic Approximate Objects

Relaxing the sequential specification of shared objects has been propose...

Please sign up or login with your details

Forgot password? Click here to reset