arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.11304cs.DC
收藏

对称矩阵计算的通信下界与最优算法

Communication Lower Bounds and Optimal Algorithms for Symmetric Matrix Computations

Hussam Al Daas, Grey Ballard, Laura Grigori, Suraj Kumar, Kathryn Rouse, Mathieu Verite

AI总结:

该研究针对三类对称矩阵计算(SYRK、SYR2K、SYMM),在串行与分布式内存并行模型下建立通信下界,提出基于三角块划分的通信最优算法证明下界紧性,为对称矩阵计算的通信优化提供理论支撑。

摘要:

本文聚焦三类对称矩阵计算的通信开销:其一,矩阵与其转置相乘,即对称秩k更新(SYRK);其二,将某矩阵与另一矩阵转置的相乘结果同该结果的转置相加,即对称秩2k更新(SYR2K);其三,以对称矩阵为输入执行矩阵乘法(SYMM)。这三类计算均属于第三级基本线性代数子程序(BLAS),在涉及对称矩阵的应用中被广泛使用。我们利用串行计算模型和分布式内存并行计算模型,为这些计算核建立了通信下界,并通过给出每种场景下的通信最优算法,证明了我们提出的下界是紧的。我们的下界证明依托于对对称计算应用几何不等式,以及解析求解带约束的非线性优化问题。在最优算法中,对称矩阵及其对应计算按照三角块划分方案进行访问和执行。

英文摘要:

In this article, we focus on the communication costs of three symmetric matrix computations: i) multiplying a matrix with its transpose, known as a symmetric rank-k update (SYRK) ii) adding the result of the multiplication of a matrix with the transpose of another matrix and the transpose of that result, known as a symmetric rank-2k update (SYR2K) iii) performing matrix multiplication with a symmetric input matrix (SYMM). All three computations appear in the Level 3 Basic Linear Algebra Subroutines (BLAS) and have wide use in applications involving symmetric matrices. We establish communication lower bounds for these kernels using sequential and distributed-memory parallel computational models, and we show that our bounds are tight by presenting communication-optimal algorithms for each setting. Our lower bound proofs rely on applying a geometric inequality for symmetric computations and analytically solving constrained nonlinear optimization problems. The symmetric matrix and its corresponding computations are accessed and performed according to a triangular block partitioning scheme in the optimal algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑