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

总体最小二乘问题的混合精度Rayleigh商迭代

Mixed Precision Rayleigh Quotient Iteration for Total Least Squares Problems

Eda Oktay, Erin Carson

AI总结:

针对大稀疏总体最小二乘问题,提出RQI-PCGTLS算法的混合精度变体RQI-PCGTLS-MP,通过多精度策略在保证计算稳定性的同时,实现与原算法相同的精度并最高获得4倍加速。

摘要:

随着混合精度硬件的近期出现,人们对其用于快速且准确地求解数值线性代数问题重新产生了兴趣。总体最小二乘问题的求解,即求解 $\min_{E,r} \\| [E, r]\\|_F$ 受约束于 $(A+E)x=b+r$,在众多应用中均有出现。求解该问题需要找到 $[A,b]$ 的最小奇异值及对应的右奇异向量,当 $A$ 大且稀疏时这极具挑战性。针对这种情况,Björck等人[SIAM J. Matrix Anal. Appl. 22(2), 2000]提出了一种名为RQI-PCGTLS的高效算法,该算法基于Rayleigh商迭代结合预处理共轭梯度法。我们开发了该算法的混合精度变体RQI-PCGTLS-MP,其中可使用多达三种不同的精度。我们假设最低精度用于预条件子的计算,并给出了关于如何选择该精度以确保稳定性的理论约束。与标准最小二乘不同,对于总体最小二乘,所得约束不仅取决于矩阵 $A$,还取决于右端项 $b$。我们在文献中使用的模型总体最小二乘问题上进行了多次数值实验,结果表明我们的算法能达到与RQI-PCGTLS相同的精度,尽管由于使用低精度可能会导致潜在的收敛延迟。性能建模表明,混合精度方法最高可实现 $4\times$ 加速,具体取决于矩阵大小和执行的Rayleigh商迭代次数。

英文摘要:

With the recent emergence of mixed precision hardware, there has been a renewed interest in its use for solving numerical linear algebra problems fast and accurately. The solution of total least squares problems, i.e., solving $\min_{E,r} \| [E, r]\|_F$ subject to $(A+E)x=b+r$, arises in numerous applications. Solving this problem requires finding the smallest singular value and corresponding right singular vector of $[A,b]$, which is challenging when $A$ is large and sparse. An efficient algorithm for this case due to Björck et al. [SIAM J. Matrix Anal. Appl. 22(2), 2000], called RQI-PCGTLS, is based on Rayleigh quotient iteration coupled with the preconditioned conjugate gradient method. We develop a mixed precision variant of this algorithm, RQI-PCGTLS-MP, in which up to three different precisions can be used. We assume that the lowest precision is used in the computation of the preconditioner, and give theoretical constraints on how this precision must be chosen to ensure stability. In contrast to standard least squares, for total least squares, the resulting constraint depends not only on the matrix $A$, but also on the right-hand side $b$. We perform a number of numerical experiments on model total least squares problems used in the literature, which demonstrate that our algorithm can attain the same accuracy as RQI-PCGTLS albeit with a potential convergence delay due to the use of low precision. Performance modeling shows that the mixed precision approach can achieve up to a $4\times$ speedup depending on the size of the matrix and the number of Rayleigh quotient iterations performed.

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

↑