LIVEJoin the current RTAI Connect sessionJoin now

38
5

Sparse Matrix Multiplication in the Low-Bandwidth Model

Abstract

We study matrix multiplication in the low-bandwidth model: There are nn computers, and we need to compute the product of two n×nn \times n matrices. Initially computer ii knows row ii of each input matrix. In one communication round each computer can send and receive one O(logn)O(\log n)-bit message. Eventually computer ii has to output row ii of the product matrix. We seek to understand the complexity of this problem in the uniformly sparse case: each row and column of each input matrix has at most dd non-zeros and in the product matrix we only need to know the values of at most dd elements in each row or column. This is exactly the setting that we have, e.g., when we apply matrix multiplication for triangle detection in graphs of maximum degree dd. We focus on the supported setting: the structure of the matrices is known in advance; only the numerical values of nonzero elements are unknown. There is a trivial algorithm that solves the problem in O(d2)O(d^2) rounds, but for a large dd, better algorithms are known to exist; in the moderately dense regime the problem can be solved in O(dn1/3)O(dn^{1/3}) communication rounds, and for very large dd, the dominant solution is the fast matrix multiplication algorithm using O(n1.158)O(n^{1.158}) communication rounds (for matrix multiplication over fields and rings supporting fast matrix multiplication). In this work we show that it is possible to overcome quadratic barrier for all values of dd: we present an algorithm that solves the problem in O(d1.907)O(d^{1.907}) rounds for fields and rings supporting fast matrix multiplication and O(d1.927)O(d^{1.927}) rounds for semirings, independent of nn.

View on arXiv
Comments on this paper

We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from. See our policy.