arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.08839math.NAcs.NA
收藏

低同步重正交块经典Gram-Schmidt算法中的混合精度

Using Mixed Precision in Low-Synchronization Reorthogonalized Block Classical Gram-Schmidt

Eda Oktay, Erin Carson

摘要:

在算法中使用较低的精度在降低计算和通信成本方面是有益的。受此启发,我们的目标是进一步发展和分析迭代法的混合精度变体的最新技术。在这项工作中,我们专注于低同步经典Gram-Schmidt的块变体与再正交化,我们称之为BCGSI+LS。我们证明,这种正交化方案产生的正交性损失可能超过$O(u)κ(\mathcal{X})$,其中$u$是单位舍入,$κ(\mathcal{X})$是要正交化的矩阵的条件数,因此我们通常不能期望这会导致后向稳定块GMRES实现。然后,我们开发了该算法的混合精度变体,称为BCGSI+LS-MP,它在计算的某些部分使用更高的精度。我们通过实验证明,对于一些具有挑战性的测试问题,我们的混合精度变体成功地保持了低于$O(u)κ(\mathcal{X})$的正交性损失。这表明,我们可以实现一个向后稳定的块GMRES算法,只需要一个同步每次迭代。

英文摘要:

Using lower precision in algorithms can be beneficial in terms of reducing both computation and communication costs. Motivated by this, we aim to further the state-of-the-art in developing and analyzing mixed precision variants of iterative methods. In this work, we focus on the block variant of low-synchronization classical Gram-Schmidt with reorthogonalization, which we call BCGSI+LS. We demonstrate that the loss of orthogonality produced by this orthogonalization scheme can exceed $O(u)κ(\mathcal{X})$, where $u$ is the unit roundoff and $κ(\mathcal{X})$ is the condition number of the matrix to be orthogonalized, and thus we can not in general expect this to result in a backward stable block GMRES implementation. We then develop a mixed precision variant of this algorithm, called BCGSI+LS-MP, which uses higher precision in certain parts of the computation. We demonstrate experimentally that for a number of challenging test problems, our mixed precision variant successfully maintains a loss of orthogonality below $O(u)κ(\mathcal{X})$. This indicates that we can achieve a backward stable block GMRES algorithm that requires only one synchronization per iteration.

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

↑