Abstract
We show how to multiply two n x n matrices S and T over semirings in the Congested Clique model, where n nodes communicate in a fully connected synchronous network using O(log{n})bit messages, within O(nz(S)^{1/3} nz(T)^{1/3}/n + 1) rounds of communication, where nz(S) and nz(T) denote the number of nonzero elements in S and T, respectively. By leveraging the sparsity of the input matrices, our algorithm greatly reduces communication costs compared with general multiplication algorithms [CensorHillel et al., PODC 2015], and thus improves upon the stateoftheart for matrices with o(n^2) nonzero elements. Moreover, our algorithm exhibits the additional strength of surpassing previous solutions also in the case where only one of the two matrices is such. Particularly, this allows to efficiently raise a sparse matrix to a power greater than 2. As applications, we show how to speed up the computation on nondense graphs of 4cycle counting and allpairsshortestpaths.
Our algorithmic contribution is a new deterministic method of restructuring the input matrices in a sparsityaware manner, which assigns each node with elementwise multiplication tasks that are not necessarily consecutive but guarantee a balanced element distribution, providing for communicationefficient multiplication.
Moreover, this new deterministic method for restructuring matrices may be used to restructure the adjacency matrix of input graphs, enabling faster deterministic solutions for graph related problems. As an example, we present a new sparsity aware, deterministic algorithm which solves the triangle listing problem in O(m/n^{5/3} + 1) rounds, a complexity that was previously obtained by a randomized algorithm [Pandurangan et al., SPAA 2018], and that matches the known lower bound of Omega~(n^{1/3}) when m=n^2 of [Izumi and Le Gall, PODC 2017, Pandurangan et al., SPAA 2018]. Naturally, our triangle listing algorithm also implies triangle counting within the same complexity of O(m/n^{5/3} + 1) rounds, which is (possibly more than) a cubic improvement over the previously known deterministic O(m^2/n^3)round algorithm [Dolev et al., DISC 2012].
BibTeX  Entry
@InProceedings{censorhillel_et_al:LIPIcs:2018:10064,
author = {Keren CensorHillel and Dean Leitersdorf and Elia Turner},
title = {{Sparse Matrix Multiplication and Triangle Listing in the Congested Clique Model}},
booktitle = {22nd International Conference on Principles of Distributed Systems (OPODIS 2018)},
pages = {4:14:17},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {9783959770989},
ISSN = {18688969},
year = {2018},
volume = {125},
editor = {Jiannong Cao and Faith Ellen and Luis Rodrigues and Bernardo Ferreira},
publisher = {Schloss DagstuhlLeibnizZentrum fuer Informatik},
address = {Dagstuhl, Germany},
URL = {http://drops.dagstuhl.de/opus/volltexte/2018/10064},
URN = {urn:nbn:de:0030drops100645},
doi = {10.4230/LIPIcs.OPODIS.2018.4},
annote = {Keywords: congested clique, matrix multiplication, triangle listing}
}
Keywords: 

congested clique, matrix multiplication, triangle listing 
Collection: 

22nd International Conference on Principles of Distributed Systems (OPODIS 2018) 
Issue Date: 

2018 
Date of publication: 

15.01.2019 