arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.06194math.NAcs.MScs.NA
收藏

分块低秩矩阵的并行QR分解

Parallel QR Factorization of Block Low-Rank Matrices

M. Ridwan Apriansyah, Rio Yokota

摘要:

我们提出了两个新的算法的Householder QR分解块低秩(BLR)矩阵:一个是执行块列的QR,另一个是基于平铺QR。我们展示了块列算法如何利用BLR结构来实现$\mathcal{O}(mn)$的算术复杂性,而平铺的BLR-QR表现出$\mathcal{O}(mn^{1.5})$复杂性。然而,区块化BLR-QR具有更精细的任务粒度,允许在共享存储器系统上基于并行任务的执行。我们比较块列明智的BLR-QR使用fork-join并行与平铺BLR-QR使用基于任务的并行。我们还比较了Householder BLR-QR的这两种实现,一种是使用fork-join并行的逐块列修改的Gram-Schmidt(MGS)BLR-QR,另一种是英特尔MKL中最先进的供应商优化的密集Householder QR。对于大小为131 k $\times$ 65 k的矩阵,所有BLR方法都比MKL中的密集QR快数量级以上。我们的方法也是强大的病态和产生更好的正交因子比现有的基于MGS的方法。在一个64核的CPU上,我们的并行平铺Householder和块列式Householder算法分别显示出50倍和37倍的加速比。

英文摘要:

We present two new algorithms for Householder QR factorization of Block Low-Rank (BLR) matrices: one that performs block-column-wise QR, and another that is based on tiled QR. We show how the block-column-wise algorithm exploits BLR structure to achieve arithmetic complexity of $\mathcal{O}(mn)$, while the tiled BLR-QR exhibits $\mathcal{O}(mn^{1.5})$ complexity. However, the tiled BLR-QR has finer task granularity that allows parallel task-based execution on shared memory systems. We compare the block-column-wise BLR-QR using fork-join parallelism with tiled BLR-QR using task-based parallelism. We also compare these two implementations of Householder BLR-QR with a block-column-wise Modified Gram-Schmidt (MGS) BLR-QR using fork-join parallelism, and a state-of-the-art vendor-optimized dense Householder QR in Intel MKL. For a matrix of size 131k $\times$ 65k, all BLR methods are more than an order of magnitude faster than the dense QR in MKL. Our methods are also robust to ill-conditioning and produce better orthogonal factors than the existing MGS-based method. On a CPU with 64 cores, our parallel tiled Householder and block-column-wise Householder algorithms show a speedup of 50 and 37 times, respectively.

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

↑