Saved in:
Bibliographic Details
Main Authors: Gupta, Chetan, Korhonen, Janne H., Studený, Jan, Suomela, Jukka, Vahidi, Hossein
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2404.15559
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913359251636224
author Gupta, Chetan
Korhonen, Janne H.
Studený, Jan
Suomela, Jukka
Vahidi, Hossein
author_facet Gupta, Chetan
Korhonen, Janne H.
Studený, Jan
Suomela, Jukka
Vahidi, Hossein
contents In prior work, Gupta et al. (SPAA 2022) presented a distributed algorithm for multiplying sparse $n \times n$ matrices, using $n$ computers. They assumed that the input matrices are uniformly sparse--there are at most $d$ non-zeros in each row and column--and the task is to compute a uniformly sparse part of the product matrix. The sparsity structure is globally known in advance (this is the supported setting). As input, each computer receives one row of each input matrix, and each computer needs to output one row of the product matrix. In each communication round each computer can send and receive one $O(\log n)$-bit message. Their algorithm solves this task in $O(d^{1.907})$ rounds, while the trivial bound is $O(d^2)$. We improve on the prior work in two dimensions: First, we show that we can solve the same task faster, in only $O(d^{1.832})$ rounds. Second, we explore what happens when matrices are not uniformly sparse. We consider the following alternative notions of sparsity: row-sparse matrices (at most $d$ non-zeros per row), column-sparse matrices, matrices with bounded degeneracy (we can recursively delete a row or column with at most $d$ non-zeros), average-sparse matrices (at most $dn$ non-zeros in total), and general matrices.
format Preprint
id arxiv_https___arxiv_org_abs_2404_15559
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Low-Bandwidth Matrix Multiplication: Faster Algorithms and More General Forms of Sparsity
Gupta, Chetan
Korhonen, Janne H.
Studený, Jan
Suomela, Jukka
Vahidi, Hossein
Distributed, Parallel, and Cluster Computing
F.2.1; F.2.2
In prior work, Gupta et al. (SPAA 2022) presented a distributed algorithm for multiplying sparse $n \times n$ matrices, using $n$ computers. They assumed that the input matrices are uniformly sparse--there are at most $d$ non-zeros in each row and column--and the task is to compute a uniformly sparse part of the product matrix. The sparsity structure is globally known in advance (this is the supported setting). As input, each computer receives one row of each input matrix, and each computer needs to output one row of the product matrix. In each communication round each computer can send and receive one $O(\log n)$-bit message. Their algorithm solves this task in $O(d^{1.907})$ rounds, while the trivial bound is $O(d^2)$. We improve on the prior work in two dimensions: First, we show that we can solve the same task faster, in only $O(d^{1.832})$ rounds. Second, we explore what happens when matrices are not uniformly sparse. We consider the following alternative notions of sparsity: row-sparse matrices (at most $d$ non-zeros per row), column-sparse matrices, matrices with bounded degeneracy (we can recursively delete a row or column with at most $d$ non-zeros), average-sparse matrices (at most $dn$ non-zeros in total), and general matrices.
title Low-Bandwidth Matrix Multiplication: Faster Algorithms and More General Forms of Sparsity
topic Distributed, Parallel, and Cluster Computing
F.2.1; F.2.2
url https://arxiv.org/abs/2404.15559