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

混合精度通用交替方向隐式方法用于求解大规模稀疏线性系统

Mixed Precision General Alternating-Direction Implicit Method for Solving Large Sparse Linear Systems

Xiangtan University(湘潭大学);Academy of Mathematics and Systems Science, CAS(中国科学院数学与系统科学研究院)

Jifeng Ge, Bastien Vieublé, Juan Zhang

AI总结:

本文提出了一种混合精度GADI方法,通过低精度求解子系统和高精度计算残差,提高求解大规模稀疏线性系统效率。

摘要:

本文介绍了一种三种精度形式的通用交替方向隐式方法(GADI),旨在加速求解大规模稀疏线性系统$Ax=b$。GADI是一种能够表示许多现有交替方向隐式(ADI)方法的框架。这些方法是一类基于将$A$分解的线性求解器。通过将原线性系统的求解分解为依次计算易于求解的结构子系统的过程。我们提出的混合精度方案用于GADI,通过在低精度下求解这些子系统以减少总体执行时间,同时在高精度下计算残差和解更新,以使解能够收敛到高精度。我们开发了一种混合精度GADI的舍入误差分析,建立了正向和反向误差收敛到特定精度极限速率的理论。我们的分析还突出了在分裂矩阵上保证混合精度GADI收敛的条件。然后,我们讨论了一种系统且稳健的策略用于选择GADI正则化参数$α$,其调整对性能至关重要。具体而言,我们提出的策略利用一个在低维问题数据集上训练的高斯过程回归(GPR)模型来初始化$α$。最后,我们对混合精度GADI在NVIDIA A100 GPU上的性能进行了分析,以验证我们的方法。使用低精度(Bfloat16或FP32)求解子系统,我们分别在大规模2D、3D对流扩散和复杂反应扩散问题(最多$1.3\times 10^{8}$未知数)上获得了$2.6\times$、$1.7\times$和$3.1\times$的速度提升。

英文摘要:

In this article, we introduce a three-precision formulation of the General Alternating-Direction Implicit method (GADI) designed to accelerate the solution of large-scale sparse linear systems $Ax=b$. GADI is a framework that can represent many existing Alternating-Direction Implicit (ADI) methods. These methods are a class of linear solvers based on a splitting of $A$ such that the solution of the original linear system can be decomposed into the successive computation of easy-to-solve structured subsystems. Our proposed mixed precision scheme for GADI solves these subsystems in low precision to reduce the overall execution time while computing the residual and solution update in high precision to enable the solution to converge to high accuracy. We develop a rounding error analysis of mixed precision GADI that establishes the rates of convergence of the forward and backward errors to certain limiting accuracies. Our analysis also highlights the conditions on the splitting matrices under which mixed precision GADI is guaranteed to converge for a given set of precisions. We then discuss a systematic and robust strategy for selecting the GADI regularization parameter $α$, whose adjustment is critical for performance. Specifically, our proposed strategy makes use of a Gaussian Process Regression (GPR) model trained on a dataset of low-dimensional problems to initialize $α$. Finally, we proceed to a performance analysis of mixed precision GADI on an NVIDIA A100 GPU to validate our approach. Using low precision (Bfloat16 or FP32) to solve the subsystems, we obtain speedups of $2.6\times$, $1.7\times$, and $3.1\times$ over a full double precision GADI implementation on large-scale 2D, 3D convection-diffusion and complex reaction-diffusion problems (up to $1.3\times 10^{8}$ unknowns), respectively.

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

↑