Shifted CholeskyQR用于计算病态矩阵的QR分解
Shifted CholeskyQR for computing the QR factorization of ill-conditioned matrices
AI总结:
本文提出了一种改进的CholeskyQR算法,通过在Gram矩阵上引入偏移来克服病态矩阵计算中的数值不稳定性,从而实现更高效的QR分解。
摘要:
Cholesky QR算法是一种高效的最小通信算法,用于计算高瘦矩阵的QR分解。不幸的是,当矩阵病态时,该算法存在固有的数值不稳定性并可能崩溃。最近的研究表明,通过重复该算法两次(称为CholeskyQR2)可以解决这种不稳定性。然而,CholeskyQR2的应用仍受到要求Gram矩阵的Cholesky分解必须完成的限制,这意味着它不总是适用于具有κ₂(X)≈u⁻¹²的矩阵,其中u是单位舍入误差。在本文中,我们通过在计算的Gram矩阵上引入偏移,将适用性扩展到κ₂(X)=O(u⁻¹),从而保证Cholesky分解RTR=AA⁺sI成功。我们展示了计算的AR⁻¹的条件数减少至≤u⁻¹/2,对于此条件,CholeskyQR2安全地计算QR分解,产生一个正交性为‖QᵀQ-I‖₂和残差‖A-QR‖F/‖A‖F均为O(u)的Q。因此,我们通过实质上运行三次Cholesky QR来获得所需的QR分解。我们对由此产生的算法shiftedCholeskyQR进行了深入分析,揭示了其卓越的数值稳定性。shiftedCholeskyQR也高度并行化,并且在斜内积空间中同样有效和高效。通过实验,我们展示了我们的发现,其中我们实现了比替代方法显著(高达x40)的加速。
英文摘要:
The Cholesky QR algorithm is an efficient communication-minimizing algorithm for computing the QR factorization of a tall-skinny matrix. Unfortunately it has the inherent numerical instability and breakdown when the matrix is ill-conditioned. A recent work establishes that the instability can be cured by repeating the algorithm twice (called CholeskyQR2). However, the applicability of CholeskyQR2 is still limited by the requirement that the Cholesky factorization of the Gram matrix runs to completion, which means it does not always work for matrices $X$ with $κ_2(X)\gtrsim {\bf u}^{-\frac{1}{2}}$ where ${\bf u}$ is the unit roundoff. In this work we extend the applicability to $κ_2(X)=\mathcal{O}({\bf u}^{-1})$ by introducing a shift to the computed Gram matrix so as to guarantee the Cholesky factorization $R^TR= A^TA+sI$ succeeds numerically. We show that the computed $AR^{-1}$ has reduced condition number $\leq {\bf u}^{-\frac{1}{2}}$, for which CholeskyQR2 safely computes the QR factorization, yielding a computed $Q$ of orthogonality $\|Q^TQ-I\|_2$ and residual $\|A-QR\|_F/\|A\|_F$ both $\mathcal{O}({\bf u})$. Thus we obtain the required QR factorization by essentially running Cholesky QR thrice. We extensively analyze the resulting algorithm shiftedCholeskyQR to reveal its excellent numerical stability. shiftedCholeskyQR is also highly parallelizable, and applicable and effective also when working in an oblique inner product space. We illustrate our findings through experiments, in which we achieve significant (up to x40) speedup over alternative methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。