Exact k-way sparse matrix partitioning

Publication date

2022

Authors

Jenneskens, Engelina L.
Bisseling, RobISNI 0000000384208994

Editors

Advisors

Supervisors

Document Type

Part of book
Open Access logo

License

taverne

Abstract

To minimize the communication in parallel sparse matrix-vector multiplication while maintaining load balance, we need to partition the sparse matrix optimally into k disjoint parts, which is an NP-complete problem. We present an exact algorithm based on the branch and bound (BB) method which partitions a matrix for any k, and we explore exact sparse matrix partitioning beyond bipartitioning. The algorithm has been implemented in a software package General Matrix Partitioner (GMP). We also present an integer linear programming (ILP) model for the same problem, based on a hypergraph formulation. We used both methods to determine optimal 2,3,4-way partitionings for a subset of small matrices from the SuiteSparse Matrix Collection. For k=2, BB outperforms ILP, whereas for larger k, ILP is superior. We used the results found by these exact methods for k=4 to analyse the performance of recursive bipartitioning (RB) with exact bipartitioning. For 46 matrices of the 89 matrices in our test set of matrices with less than 250 nonzeros, the communication volume determined by RB was optimal. For the other matrices, RB is able to find 4-way partitionings with communication volume close to the optimal volume.

Keywords

branch-and-bound, exact algorithm, hypergraph, integer linear programming, parallel computing, sparse matrix-vector multiplication, Taverne, Artificial Intelligence, Computer Networks and Communications, Hardware and Architecture, Information Systems, Software, Control and Optimization

Citation

Jenneskens, E L & Bisseling, R H 2022, Exact k-way sparse matrix partitioning. in Proceedings - 2022 IEEE 36th International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2022. Proceedings - 2022 IEEE 36th International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2022, IEEE, pp. 754-763, 36th IEEE International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2022, Virtual, Online, France, 30/05/22. https://doi.org/10.1109/IPDPSW55747.2022.00129, conference