稀疏矩阵与稀疏高瘦矩阵乘法的分布式内存并行算法
Distributed-Memory Parallel Algorithms for Sparse Matrix and Sparse Tall-and-Skinny Matrix Multiplication
AI总结:
针对稀疏矩阵与高瘦矩阵乘法(TS-SpGEMM)的性能瓶颈,提出一种基于定制1D划分和稀疏感知分块的分布式内存算法,结合本地与远程计算降低通信开销,较2D和3D SUMMA平均提升5倍性能,并在512节点上验证了多源广度优先搜索等应用的可扩展性。
摘要:
我们考虑一种稀疏矩阵乘法(SpGEMM)设定,其中一个矩阵为方阵,另一个为高瘦矩阵。这种称为TS-SpGEMM的特殊变体在多源广度优先搜索、影响力最大化、稀疏图嵌入和代数多重网格求解器中有重要应用。遗憾的是,像稀疏SUMMA这样流行的分布式算法在TS-SpGEMM上表现不佳。为解决这一限制,我们开发了一种专为TS-SpGEMM量身定制的新型分布式内存算法。我们的方法对所有涉及的矩阵采用定制的1D划分,并利用稀疏感知分块进行高效数据传输。此外,它通过结合本地和远程计算来最小化通信开销。平均而言,我们的TS-SpGEMM算法比2D和3D SUMMA获得了5倍的性能提升。进一步地,我们使用该算法实现了多源广度优先搜索和稀疏图嵌入算法,并在NERSC Perlmutter上展示了其扩展至512个节点(或65,536个核心)的可扩展性。
英文摘要:
We consider a sparse matrix-matrix multiplication (SpGEMM) setting where one matrix is square and the other is tall and skinny. This special variant, called TS-SpGEMM, has important applications in multi-source breadth-first search, influence maximization, sparse graph embedding, and algebraic multigrid solvers. Unfortunately, popular distributed algorithms like sparse SUMMA deliver suboptimal performance for TS-SpGEMM. To address this limitation, we develop a novel distributed-memory algorithm tailored for TS-SpGEMM. Our approach employs customized 1D partitioning for all matrices involved and leverages sparsity-aware tiling for efficient data transfers. In addition, it minimizes communication overhead by incorporating both local and remote computations. On average, our TS-SpGEMM algorithm attains 5x performance gains over 2D and 3D SUMMA. Furthermore, we use our algorithm to implement multi-source breadth-first search and sparse graph embedding algorithms and demonstrate their scalability up to 512 Nodes (or 65,536 cores) on NERSC Perlmutter.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。