Cholesky QR Algorithm

Posted June 21, 2024

Idea of Cholesky QR

Let \(X \in \mathbb{R}^{ m \times n }\) with \(m \ge n\) of full column rank. The Cholesky QR (CholQR) algorithm computes a QR factorization of \(X\) by

Here, the requirement of full column rank ensure the Cholesky factorization
succeed. Let \(X=U\varSigma V^{T}\) be a singular value decomposition, where \(U\in\mathbb{R}^{m\times n}\), \(\Sigma\in\mathbb{R}^{n\times n}\) and \(V\in\mathbb{R}^{n\times n}\). Full column rank implies \(\sigma_{ii} > 0\), which is equivalent as \(\sigma_{i}(X^{T} X) > 0\) since \(X^{T} X = V \varSigma^{2} V^{T}\).

This algorithm is ideal in high performance computing.

Drawback and solutions to the instability

However, CholQR is NOT stable. We can provide several heuristic observations. Suppose \(\kappa_{2}(X) > u^{-1/2}\), then \(\kappa_{2}(X^{T} X) > u^{-1}\) which can result in loss of positive definiteness.

Even though we are lucky enough to be able to form \(R\), ill conditioned \(R\) and \(X\) can still result in a large deviation from orthogonality. Stathopoulos and Wu proved that $|| Q^{T} Q-I || \le O(\kappa_{2}(X)^{2})$.

To overcome the lack of orthogonality

To overcome the instability,