Shifted cholesky qr for computing the qr factorization of ill-conditioned matrices

25Citations
Citations of this article
17Readers
Mendeley users who have this article in their library.

Abstract

The Cholesky QR algorithm is an efficient communication-minimizing algorithm for computing the QR factorization of a tall-skinny matrix X ∈ Rm× n, where m ≫ n. Unfortunately it is inherently unstable and often breaks down when the matrix is ill-conditioned. A recent work [Yamamoto et al., ETNA, 44, pp. 306-326 (2015)] 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 X X runs to completion, which means that it does not always work for matrices X with the 2-norm condition number κ 2(X) roughly greater than u 1/2, where u is the unit roundoff. In this work we extend the applicability to κ 2(X) = &scrO; (u 1) by introducing a shift to the computed Gram matrix so as to guarantee the Cholesky factorization R⊤ R = A⊤ A+sI succeeds numerically. We show that the computed AR 1 has reduced condition number that is roughly bounded by u 1/2, for which CholeskyQR2 safely computes the QR factorization, yielding a computed Q of orthogonality ∥ Q⊤ Q I∥ 2 and residual ∥ A QR∥ F/∥ A∥ F both of the order of u. Thus we obtain the required QR factorization by essentially running Cholesky QR thrice. We extensively analyze the resulting algorithm shifted- CholeskyQR3 to reveal its excellent numerical stability. The shiftedCholeskyQR3 algorithm is also highly parallelizable, and applicable and effective also when working with an oblique inner product. We illustrate our findings through experiments, in which we achieve significant speedup over alternative methods.

Cite

CITATION STYLE

APA

Fukaya, T., Kannan, R., Nakatsukasa, Y., Yamamoto, Y., & Yanagisawa, Y. (2020). Shifted cholesky qr for computing the qr factorization of ill-conditioned matrices. SIAM Journal on Scientific Computing, 42(1), A477–A503. https://doi.org/10.1137/18M1218212

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free