arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1902.03100math.NAcs.NA
收藏

数值稳定的流水线共轭梯度法递推关系

Numerically Stable Recurrence Relations for the Communication Hiding Pipelined Conjugate Gradient Method

University of Antwerp(安特卫普大学)

Siegfried Cools, Jeffrey Cornelis, Wim Vanroose

AI总结:

本文提出了一种数值稳定的流水线共轭梯度算法,通过将多项递推关系替换为两项递推关系,提高了算法的稳定性,同时保持了计算成本,从而在不同流水线长度下都能获得高精度解。

摘要:

流水线Krylov子空间方法(也称为通信隐藏方法)已被提出作为经典Krylov子空间算法的可扩展替代方案,用于并行迭代求解大型线性系统。对于对称正定系统矩阵,流水线共轭梯度方法通过将全局通信与矩阵向量乘法等关键计算重叠,从而在大规模分布式内存硬件上优于经典共轭梯度方法。流水线技术的一个已知缺点是可能显著的数值稳定性损失。本文提出了一种数值稳定的流水线共轭梯度算法变体,该方法避免了在有限精度递推关系中局部舍入误差的传播。基向量的多术语递推关系被替换为两项递推关系,从而在不增加算法总体计算成本的情况下提高了稳定性。所提出的修改确保流水线共轭梯度方法能够独立于流水线长度获得高精度解。数值实验表明,新的流水线共轭梯度算法在并行性能和最大可达到的精度方面都表现出色。这项工作因此解决了流水线Krylov子空间方法在实际应用中的一个主要限制。

英文摘要:

Pipelined Krylov subspace methods (also referred to as communication-hiding methods) have been proposed in the literature as a scalable alternative to classic Krylov subspace algorithms for iteratively computing the solution to a large linear system in parallel. For symmetric and positive definite system matrices the pipelined Conjugate Gradient method outperforms its classic Conjugate Gradient counterpart on large scale distributed memory hardware by overlapping global communication with essential computations like the matrix-vector product, thus hiding global communication. A well-known drawback of the pipelining technique is the (possibly significant) loss of numerical stability. In this work a numerically stable variant of the pipelined Conjugate Gradient algorithm is presented that avoids the propagation of local rounding errors in the finite precision recurrence relations that construct the Krylov subspace basis. The multi-term recurrence relation for the basis vector is replaced by two-term recurrences, improving stability without increasing the overall computational cost of the algorithm. The proposed modification ensures that the pipelined Conjugate Gradient method is able to attain a highly accurate solution independently of the pipeline length. Numerical experiments demonstrate a combination of excellent parallel performance and improved maximal attainable accuracy for the new pipelined Conjugate Gradient algorithm. This work thus resolves one of the major practical restrictions for the useability of pipelined Krylov subspace methods.

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

↑