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

使用混合精度的Jacobi算法计算准确的特征值

Computing accurate eigenvalues using a mixed-precision Jacobi algorithm

University of Manchester(曼彻斯特大学)

Nicholas J. Higham, Françoise Tisseur, Marcus Webb, Zhengbo Zhou

AI总结:

本文提出了一种混合精度Jacobi算法,通过低精度预处理和高精度计算提高特征值计算的精度,并验证了其有效性。

摘要:

我们对一种混合精度预处理的Jacobi算法进行了舍入误差分析,该算法使用低精度计算预处理矩阵,然后在高精度下(相当于两次矩阵-矩阵乘法)应用它,并使用Jacobi算法在工作精度下求解特征问题。我们的分析得出的计算特征值的相对前向误差界比Jacobi算法的更小。我们进一步证明,预处理后,如果预处理矩阵的非对角线元素相对于其最小对角线元素足够小,则相对前向误差界与原矩阵的条件数无关。我们提出了两种利用低精度构造预处理矩阵的方法,并给出了它们的误差分析。我们的数值实验验证了我们的理论结果,并将所提算法的相对前向误差与Jacobi算法、预处理的Jacobi算法和MATLAB的eig函数进行了比较。使用Julia的计时表明,获得这种精度水平的主要成本来自高精度的矩阵-矩阵乘法;如果软件或硬件对这种操作的支持得到改善,这种成本将变得可以忽略不计。

英文摘要:

We provide a rounding error analysis of a mixed-precision preconditioned Jacobi algorithm, which uses low precision to compute the preconditioner, applies it at high precision (amounting to two matrix-matrix multiplications) and solves the eigenproblem using the Jacobi algorithm at working precision. Our analysis yields meaningfully smaller relative forward error bounds for the computed eigenvalues compared with those of the Jacobi algorithm. We further prove that, after preconditioning, if the off-diagonal entries of the preconditioned matrix are sufficiently small relative to its smallest diagonal entry, the relative forward error bound is independent of the condition number of the original matrix. We present two constructions for the preconditioner that exploit low precision, along with their error analyses. Our numerical experiments confirm our theoretical results and compare the relative forward error of the proposed algorithm with the Jacobi algorithm, a preconditioned Jacobi algorithm, and MATLAB's $\texttt{eig}$ function. Timings using Julia suggest that the dominant cost of obtaining this level of accuracy comes from the high precision matrix-matrix multiplies; if support in software or hardware for this were improved, then this would become a negligible cost.

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

↑