Approximate Multiplication of Sparse Matrices with Limited Space

09/08/2020
by   Yuanyu Wan, et al.
0

Approximate matrix multiplication with limited space has received ever-increasing attention due to the emergence of large-scale applications. Recently, based on a popular matrix sketching algorithm—frequent directions, previous work has introduced co-occuring directions (COD) to reduce the approximation error for this problem. Although it enjoys the space complexity of O((m_x+m_y)ℓ) for two input matrices X∈ℝ^m_x× n and Y∈ℝ^m_y× n where ℓ is the sketch size, its time complexity is O(n(m_x+m_y+ℓ)ℓ), which is still very high for large input matrices. In this paper, we propose to reduce the time complexity by exploiting the sparsity of the input matrices. The key idea is to employ an approximate singular value decomposition (SVD) method which can utilize the sparsity, to reduce the number of QR decompositions required by COD. In this way, we develop sparse co-occuring directions, which reduces the time complexity to O(((X)+(Y))ℓ+nℓ^2) in expectation while keeps the same space complexity as O((m_x+m_y)ℓ), where (X) denotes the number of non-zero entries in X. Theoretical analysis reveals that the approximation error of our algorithm is almost the same as that of COD. Furthermore, we empirically verify the efficiency and effectiveness of our algorithm.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/12/2023

The Time Complexity of Fully Sparse Matrix Multiplication

What is the time complexity of matrix multiplication of sparse integer m...
research
09/05/2020

Revisiting Co-Occurring Directions: Sharper Analysis and Efficient Algorithm for Sparse Matrices

We study the streaming model for approximate matrix multiplication (AMM)...
research
06/19/2019

Sparse approximate matrix multiplication in a fully recursive distributed task-based parallel framework

In this paper we consider parallel implementations of approximate multip...
research
07/21/2023

Sparse Cholesky factorization by greedy conditional selection

Dense kernel matrices resulting from pairwise evaluations of a kernel fu...
research
02/13/2018

Sparse Matrix Multiplication with Bandwidth Restricted All-to-All Communication

We show how to multiply two n × n matrices over semirings in the Congest...
research
02/10/2020

Efficient Matrix Multiplication: The Sparse Power-of-2 Factorization

We present an algorithm to reduce the computational effort for the multi...
research
02/09/2023

NeuKron: Constant-Size Lossy Compression of Sparse Reorderable Matrices and Tensors

Many real-world data are naturally represented as a sparse reorderable m...

Please sign up or login with your details

Forgot password? Click here to reset