DOE PAGES title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Brief announcement: Hypergraph parititioning for parallel sparse matrix-matrix multiplication

Abstract

The performance of parallel algorithms for sparse matrix-matrix multiplication is typically determined by the amount of interprocessor communication performed, which in turn depends on the nonzero structure of the input matrices. In this paper, we characterize the communication cost of a sparse matrix-matrix multiplication algorithm in terms of the size of a cut of an associated hypergraph that encodes the computation for a given input nonzero structure. Obtaining an optimal algorithm corresponds to solving a hypergraph partitioning problem. Furthermore, our hypergraph model generalizes several existing models for sparse matrix-vector multiplication, and we can leverage hypergraph partitioners developed for that computation to improve application-specific algorithms for multiplying sparse matrices.

Authors:
 [1];  [2];  [3];  [4]
  1. Sandia National Lab. (SNL-CA), Livermore, CA (United States)
  2. Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
  3. Univ. of California, Berkeley, CA (United States)
  4. Hebrew Univ., Jerusalem (Israel)
Publication Date:
Research Org.:
Sandia National Lab. (SNL-CA), Livermore, CA (United States)
Sponsoring Org.:
USDOE National Nuclear Security Administration (NNSA)
OSTI Identifier:
1303161
Report Number(s):
SAND-2016-4718J
640462
Grant/Contract Number:  
AC04-94AL85000
Resource Type:
Accepted Manuscript
Journal Name:
ACM Transactions on Parallel Computing
Additional Journal Information:
Journal Name: ACM Transactions on Parallel Computing
Country of Publication:
United States
Language:
English
Subject:
97 MATHEMATICS AND COMPUTING

Citation Formats

Ballard, Grey, Druinsky, Alex, Knight, Nicholas, and Schwartz, Oded. Brief announcement: Hypergraph parititioning for parallel sparse matrix-matrix multiplication. United States: N. p., 2015. Web. doi:10.1145/2755573.2755613.
Ballard, Grey, Druinsky, Alex, Knight, Nicholas, & Schwartz, Oded. Brief announcement: Hypergraph parititioning for parallel sparse matrix-matrix multiplication. United States. https://doi.org/10.1145/2755573.2755613
Ballard, Grey, Druinsky, Alex, Knight, Nicholas, and Schwartz, Oded. Thu . "Brief announcement: Hypergraph parititioning for parallel sparse matrix-matrix multiplication". United States. https://doi.org/10.1145/2755573.2755613. https://www.osti.gov/servlets/purl/1303161.
@article{osti_1303161,
title = {Brief announcement: Hypergraph parititioning for parallel sparse matrix-matrix multiplication},
author = {Ballard, Grey and Druinsky, Alex and Knight, Nicholas and Schwartz, Oded},
abstractNote = {The performance of parallel algorithms for sparse matrix-matrix multiplication is typically determined by the amount of interprocessor communication performed, which in turn depends on the nonzero structure of the input matrices. In this paper, we characterize the communication cost of a sparse matrix-matrix multiplication algorithm in terms of the size of a cut of an associated hypergraph that encodes the computation for a given input nonzero structure. Obtaining an optimal algorithm corresponds to solving a hypergraph partitioning problem. Furthermore, our hypergraph model generalizes several existing models for sparse matrix-vector multiplication, and we can leverage hypergraph partitioners developed for that computation to improve application-specific algorithms for multiplying sparse matrices.},
doi = {10.1145/2755573.2755613},
journal = {ACM Transactions on Parallel Computing},
number = ,
volume = ,
place = {United States},
year = {Thu Jan 01 00:00:00 EST 2015},
month = {Thu Jan 01 00:00:00 EST 2015}
}

Journal Article:
Free Publicly Available Full Text
Publisher's Version of Record

Citation Metrics:
Cited by: 12 works
Citation information provided by
Web of Science

Save / Share:

Works referenced in this record:

Communication optimal parallel multiplication of sparse random matrices
conference, January 2013

  • Ballard, Grey; Buluc, Aydin; Demmel, James
  • Proceedings of the 25th ACM symposium on Parallelism in algorithms and architectures - SPAA '13
  • DOI: 10.1145/2486159.2486196

Hypergraph Partitioning for Automatic Memory Hierarchy Management
conference, November 2006

  • Krishnamoorthy, Sriram; Catalyurek, Umit; Nieplocha, Jarek
  • ACM/IEEE SC 2006 Conference (SC'06)
  • DOI: 10.1109/SC.2006.36

Simultaneous Input and Output Matrix Partitioning for Outer-Product--Parallel Sparse Matrix-Matrix Multiplication
journal, January 2014

  • Akbudak, Kadir; Aykanat, Cevdet
  • SIAM Journal on Scientific Computing, Vol. 36, Issue 5
  • DOI: 10.1137/13092589X

Reducing Communication Costs for Sparse Matrix Multiplication within Algebraic Multigrid
report, September 2015

  • Ballard, Grey Malone; Hu, Jonathan Joseph; Siefert, Christopher
  • DOI: 10.2172/1504845

Graph Algorithms
book, January 1990


Parallel Sparse Matrix-Matrix Multiplication and Indexing: Implementation and Experiments
journal, January 2012

  • Buluç, Aydin; Gilbert, John R.
  • SIAM Journal on Scientific Computing, Vol. 34, Issue 4
  • DOI: 10.1137/110848244

On Two-Dimensional Sparse Matrix Partitioning: Models, Methods, and a Recipe
journal, January 2010

  • Çatalyürek, Ümt V.; Aykanat, Cevdet; Uçar, Bora
  • SIAM Journal on Scientific Computing, Vol. 32, Issue 2
  • DOI: 10.1137/080737770

Data management and query---Hypergraph partitioning for automatic memory hierarchy management
conference, January 2006

  • Krishnamoorthy, Sriram; Catalyurek, Umit; Nieplocha, Jarek
  • Proceedings of the 2006 ACM/IEEE conference on Supercomputing - SC '06
  • DOI: 10.1145/1188455.1188558

Works referencing / citing this record:

Embedded pattern formation by asynchronous robots without chirality
journal, May 2018

  • Cicerone, Serafino; Di Stefano, Gabriele; Navarra, Alfredo
  • Distributed Computing, Vol. 32, Issue 4
  • DOI: 10.1007/s00446-018-0333-7

Optimizing High Performance Markov Clustering for Pre-Exascale Architectures
text, January 2020


Simulating Population Protocols in Sub-Constant Time per Interaction
text, January 2020

  • Berenbrink, Petra; Hammer, David; Kaaser, Dominik
  • Schloss Dagstuhl - Leibniz-Zentrum für Informatik
  • DOI: 10.4230/lipics.esa.2020.16

Optimizing partitioned CSR-based SpGEMM on the Sunway TaihuLight
journal, March 2019

  • Chen, Yuedan; Xiao, Guoqing; Yang, Wangdong
  • Neural Computing and Applications, Vol. 32, Issue 10
  • DOI: 10.1007/s00521-019-04121-z

Privacy-Preserving Data Analytics
book, January 2018


A study on using uncertain time series matching algorithms for MapReduce applications: STATISTICAL PATTERN MATCHING ALGORITHMS FOR MAPREDUCE APPLICATIONS
journal, July 2012

  • Rizvandi, Nikzad Babaii; Taheri, Javid; Moraveji, Reza
  • Concurrency and Computation: Practice and Experience, Vol. 25, Issue 12
  • DOI: 10.1002/cpe.2895

Large-Scale Indexing, Discovery, and Ranking for the Internet of Things (IoT)
journal, June 2018

  • Fathy, Yasmin; Barnaghi, Payam; Tafazolli, Rahim
  • ACM Computing Surveys, Vol. 51, Issue 2
  • DOI: 10.1145/3154525

A novel robust on-line protocol for load-balancing in structured peer-to-peer systems
journal, July 2012


Distributed MST and Routing in Almost Mixing Time
conference, July 2017

  • Ghaffari, Mohsen; Kuhn, Fabian; Su, Hsin-Hao
  • PODC '17: ACM Symposium on Principles of Distributed Computing, Proceedings of the ACM Symposium on Principles of Distributed Computing
  • DOI: 10.1145/3087801.3087827

Hypergraph Partitioning for Sparse Matrix-Matrix Multiplication
preprint, January 2016


Partitioning Models for Scaling Parallel Sparse Matrix-Matrix Multiplication
journal, April 2018

  • Akbudak, Kadir; Selvitopi, Oguz; Aykanat, Cevdet
  • ACM Transactions on Parallel Computing, Vol. 4, Issue 3
  • DOI: 10.1145/3155292

An Analysis Framework for Distributed Hierarchical Directories
journal, June 2013


On Counting the Population Size
conference, July 2019

  • Berenbrink, Petra; Kaaser, Dominik; Radzik, Tomasz
  • PODC '19: ACM Symposium on Principles of Distributed Computing, Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing
  • DOI: 10.1145/3293611.3331631

Reducing Communication Costs for Sparse Matrix Multiplication within Algebraic Multigrid
report, September 2015

  • Ballard, Grey Malone; Hu, Jonathan Joseph; Siefert, Christopher
  • DOI: 10.2172/1504845

Numerical algorithms for high-performance computational science
journal, January 2020

  • Dongarra, Jack; Grigori, Laura; Higham, Nicholas J.
  • Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, Vol. 378, Issue 2166
  • DOI: 10.1098/rsta.2019.0066