ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1802.04789
46
34
v1v2v3v4 (latest)

Sparse Matrix Multiplication in the Congested Clique model

13 February 2018
K. Censor-Hillel
Dean Leitersdorf
Elia Turner
ArXiv (abs)PDFHTML
Abstract

We show how to multiply two n×nn \times nn×n matrices SSS and TTT over semirings in the \clique model, where nnn nodes communicate in a fully connected synchronous network using O(log⁡n)O(\log{n})O(logn)-bit messages, within O(nz(S)1/3nz(T)1/3/n)O(nz(S)^{1/3} nz(T)^{1/3}/n)O(nz(S)1/3nz(T)1/3/n) rounds of communication, where nz(S)nz(S)nz(S) and nz(T)nz(T)nz(T) denote the number of non-zero elements in SSS and TTT, respectively. By leveraging the sparsity of the input matrices, our algorithm greatly reduces communication costs compared with general multiplication algorithms [Censor-Hillel et al., PODC 2015], and thus improves upon the state-of-the-art for matrices with o(n2)o(n^2)o(n2) non-zero 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. Our algorithmic contribution is a new \emph{deterministic} method of restructuring the input matrices in a sparsity-aware manner, which assigns each node with element-wise multiplication tasks that are not necessarily consecutive but guarantee a balanced element distribution, providing for communication-efficient multiplication. As applications, we show how to speed up the computation on non-dense graphs of triangle- and 444-cycle counting, as well as of all-pairs-shortest-paths. Our triangle-counting algorithm completes in O(m2/3/n)O(m^{2/3}/n)O(m2/3/n) rounds, which is a \emph{cubic} improvement over the previously known O(m2/n3)O(m^2/n^3)O(m2/n3)-round algorithm [Dolev et al., DISC 2012].

View on arXiv
Comments on this paper