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

预测-重新计算共轭梯度变种

Predict-and-recompute conjugate gradient variants

University of Washington(华盛顿大学);Charles University(查理大学)

Tyler Chen, Erin C. Carson

AI总结:

本文研究了一种通过重叠全局同步和矩阵向量乘积来减少迭代时间的共轭梯度变种,该方法在多种测试问题上表现出与标准共轭梯度算法相近的收敛性,并通过误差分析和实验验证了其在实际应用中的有效性。

摘要:

标准共轭梯度算法的实现由于每个迭代步骤中所需的两个全局减少操作而在并行架构上存在通信瓶颈。在本文中,我们研究了通过重叠全局同步和矩阵向量乘积来减少每个迭代时间的共轭梯度变种。通过使用预测-重新计算方案,即递归更新的量首先用于预测其真实值,然后在迭代的后续阶段精确重新计算,这些变种在多种测试问题上表现出与标准共轭梯度实现相近的收敛性。我们提供了误差分析,以解释这一观察结果。此外,通过实验验证,这些变种确实能实际减少每个迭代的时间,并且在与之前研究的通信隐藏变种相似的尺度上运行。最后,由于这些变种在不使用任何额外输入参数的情况下实现了良好的收敛性,它们有潜力在各种应用中替代标准的共轭梯度实现。

英文摘要:

The standard implementation of the conjugate gradient algorithm suffers from communication bottlenecks on parallel architectures, due primarily to the two global reductions required every iteration. In this paper, we study conjugate gradient variants which decrease the runtime per iteration by overlapping global synchronizations, and in the case of pipelined variants, matrix-vector products. Through the use of a predict-and-recompute scheme, whereby recursively-updated quantities are first used as a predictor for their true values and then recomputed exactly at a later point in the iteration, these variants are observed to have convergence behavior nearly as good as the standard conjugate gradient implementation on a variety of test problems. We provide a rounding error analysis which provides insight into this observation. It is also verified experimentally that the variants studied do indeed reduce the runtime per iteration in practice and that they scale similarly to previously-studied communication-hiding variants. Finally, because these variants achieve good convergence without the use of any additional input parameters, they have the potential to be used in place of the standard conjugate gradient implementation in a range of applications.

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

↑