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

混合精度多重网格求解器的代数误差分析

Algebraic error analysis for mixed-precision multigrid solvers

Stephen F. McCormick, Joseph Benzaken, Rasmus Tamstorf

摘要:

本文建立了第一个理论框架,分析舍入误差的多重网格方法使用混合精度迭代细化求解器的影响。虽然由离散线性椭圆偏微分方程产生的稀疏对称正定(SPD)矩阵方程激发,但该框架是纯代数的,因此它适用于不一定来自连续统的矩阵。基于所谓的能量或$A$范数,这是自然规范的许多问题,涉及SPD矩阵,我们提供了一个规范的向前误差分析,并介绍了渐进精度的多重网格求解器的概念。多重网格层次结构的每一级都使用三种不同的精度,每一种精度都随着级别的精细度而增加,但以不同的速率增加,从而确保大部分计算使用尽可能低的精度。在这里开发的理论结果的能量规范显着不同,从以前的理论基础上的欧几里德规范的重要方式。特别是,我们表明,简单地四舍五入一个确切的结果,有限的精度会导致错误的能量范数,是成比例的平方根的$κ$,相关的矩阵条件数。(By相反,当以欧几里德范数测量时,该误差为$1$阶。)鉴于这一观察,我们表明,V-周期和完整的多重网格的限制精度是最佳的意义上说,它也是成比例的$κ^{1/2}$的能量。此外,我们表明,由于四舍五入的收敛速度的损失成比例增长的$κ^{1/2}$,但认为这种损失是微不足道的,在实践中。本文的理论是第一次在迭代加密能量范数下的向前误差分析,也是第一次一般意义上的多重网格舍入误差分析。

英文摘要:

This paper establishes the first theoretical framework for analyzing the rounding-error effects on multigrid methods using mixed-precision iterative-refinement solvers. While motivated by the sparse symmetric positive definite (SPD) matrix equations that arise from discretizing linear elliptic PDEs, the framework is purely algebraic such that it applies to matrices that do not necessarily come from the continuum. Based on the so-called energy or $A$ norm, which is the natural norm for many problems involving SPD matrices, we provide a normwise forward error analysis, and introduce the notion of progressive precision for multigrid solvers. Each level of the multigrid hierarchy uses three different precisions that each increase with the fineness of the level, but at different rates, thereby ensuring that the bulk of the computation uses the lowest possible precision. The theoretical results developed here in the energy norm differ notably from previous theory based on the Euclidean norm in important ways. In particular, we show that simply rounding an exact result to finite precision causes an error in the energy norm that is proportional to the square root of $κ$, the associated matrix condition number. (By contrast, this error is of order $1$ when measured in the Euclidean norm.) Given this observation, we show that the limiting accuracy for both V-cycles and full multigrid is optimal in the sense that it is also proportional to $κ^{1/2}$ in energy. Additionally, we show that the loss of convergence rate due to rounding grows in proportion to $κ^{1/2}$, but argue that this loss is insignificant in practice. The theory presented here is the first forward error analysis in the energy norm of iterative refinement and the first rounding error analysis of multigrid in general.

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

↑