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

用于最小二乘问题的混合精度草图法及其在基于 GMRES 的迭代细化中的应用

Mixed precision sketching for least-squares problems and its application in GMRES-based iterative refinement

Erin Carson, Ieva Daužickaitė

AI总结:

本文分析混合精度草图预条件子的有限精度行为,并给出其保证基于 GMRES 的迭代细化收敛至工作精度的条件。

摘要:

基于草图的预条件子已被证明可以加速行数远多于列数的系数矩阵所对应的稠密最小二乘问题的求解。通过在全部或部分计算中采用低精度浮点格式,可以降低生成这些预条件子的成本。我们对一种混合精度算法进行了有限精度分析,该算法计算草图化系数矩阵 QR 分解的 $R$ 因子。算法中可以选择两种精度,该分析有助于理解如何设置这些精度,以利用低精度格式的潜在优势,同时仍保证预条件子有效。如果最小二乘问题的性质要求解具有较小的前向误差,则可能需要混合精度迭代细化(IR)。对于病态问题,可以使用基于 GMRES 的 IR 方法,但良好的预条件子对于确保收敛至关重要。我们从理论上说明了基于草图的预条件子何时能够保证基于 GMRES 的 IR 将最小二乘解的相对前向误差和残差降低到工作精度单位舍入误差的水平。小型数值示例阐明了该分析。

英文摘要:

Sketching-based preconditioners have been shown to accelerate the solution of dense least-squares problems with coefficient matrices having substantially more rows than columns. The cost of generating these preconditioners can be reduced by employing low precision floating-point formats for all or part of the computations. We perform finite precision analysis of a mixed precision algorithm that computes the $R$-factor of a QR factorization of the sketched coefficient matrix. Two precisions can be chosen and the analysis allows understanding how to set these precisions to exploit the potential benefits of low precision formats and still guarantee an effective preconditioner. If the nature of the least-squares problem requires a solution with a small forward error, then mixed precision iterative refinement (IR) may be needed. For ill-conditioned problems the GMRES-based IR approach can be used, but good preconditioner is crucial to ensure convergence. We theoretically show when the sketching-based preconditioner can guarantee that the GMRES-based IR reduces the relative forward error of the least-squares solution and the residual to the level of the working precision unit roundoff. Small numerical examples illustrate the analysis.

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

↑