Forward and backward error bounds for a mixed precision preconditioned conjugate gradient algorithm
Thomas Bake, Erin Carson, Yuxin Ma
TL;DR
This work addresses finite-precision solution of SPD linear systems $Ax=b$ by developing a unified mixed-precision PCG framework that handles left, right, and split preconditioning. It proves that the relative backward error can be bounded by $O(u)$ and the forward error by $O(u)\kappa(A)^{1/2}$ after sufficiently many iterations, without assuming tiny residual norms, and show that low-precision preconditioning can preserve accuracy under mild conditions. The authors provide detailed per-step rounding-error analyses, local-orthogonality results, and a global backward/forward-error theorem, with specialization to Cholesky-based preconditioners in mixed precisions. Numerical experiments validate the theory, demonstrating near-machine-precision BE/FE levels across configurations and highlighting the practical benefits of split preconditioning for mixed-precision PCG. Overall, the results enable faster, energy-efficient PCG for large SPD systems while maintaining rigorous accuracy guarantees, guiding precision choices and stopping criteria in practice.
Abstract
The preconditioned conjugate gradient (PCG) algorithm is one of the most popular algorithms for solving large-scale linear systems Ax = b, where A is a symmetric positive definite matrix. Rather than computing residuals directly, it updates the residual vectors recursively. Current analyses of the conjugate gradient (CG) algorithm in finite precision typically assume that the norm of the recursively updated residual goes orders of magnitude below the machine precision, focusing mainly on bounding the residual gap thereafter. This work introduces a framework for the PCG algorithm and provides rigorous proofs that the relative backward and forward errors of the computed results of PCG can reach the levels O(u) and O(u)κ(A)^{1/2}, respectively, after a sufficient number of iterations without relying on an assumption concerning the norm of the recursively updated residual, where u represents the unit roundoff and κ(A) is the condition number of A. Our PCG framework further shows that applying preconditioners in low precision does not compromise the accuracy of the final results, provided that reasonable conditions are satisfied. Our theoretical results are illustrated through a set of numerical experiments.
