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:
-
- Sandia National Lab. (SNL-CA), Livermore, CA (United States)
- Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
- Univ. of California, Berkeley, CA (United States)
- 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}
}
Web of Science
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
Hypergraph Partitioning for Automatic Memory Hierarchy Management
conference, November 2006
- Krishnamoorthy, Sriram; Catalyurek, Umit; Nieplocha, Jarek
- ACM/IEEE SC 2006 Conference (SC'06)
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
Reducing Communication Costs for Sparse Matrix Multiplication within Algebraic Multigrid
report, September 2015
- Ballard, Grey Malone; Hu, Jonathan Joseph; Siefert, Christopher
Graph Algorithms
book, January 1990
- Lengauer, Thomas
- Combinatorial Algorithms for Integrated Circuit Layout
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
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
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
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
Distributed-Memory Tensor Completion for Generalized Loss Functions in Python using New Sparse Tensor Kernels
preprint, January 2019
- Singh, Navjot; Zhang, Zecheng; Wu, Xiaoxiao
- arXiv
Optimizing High Performance Markov Clustering for Pre-Exascale Architectures
text, January 2020
- Selvitopi, Oguz; Hussain, Md Taufique; Azad, Ariful
- arXiv
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
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
Privacy-Preserving Data Analytics
book, January 2018
- Quoc, Do Le; Beck, Martin; Bhatotia, Pramod
- Encyclopedia of Big Data Technologies
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
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
A novel robust on-line protocol for load-balancing in structured peer-to-peer systems
journal, July 2012
- Tsatsanifos, George; Samoladas, Vasilis
- Computing, Vol. 94, Issue 8-10
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
Hypergraph Partitioning for Sparse Matrix-Matrix Multiplication
preprint, January 2016
- Ballard, Grey; Druinsky, Alex; Knight, Nicholas
- arXiv
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
An Analysis Framework for Distributed Hierarchical Directories
journal, June 2013
- Sharma, Gokarna; Busch, Costas
- Algorithmica, Vol. 71, Issue 2
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
Reducing Communication Costs for Sparse Matrix Multiplication within Algebraic Multigrid
report, September 2015
- Ballard, Grey Malone; Hu, Jonathan Joseph; Siefert, Christopher
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