Double precision is not necessary for LSQR for solving discrete linear ill-posed problems
Haibo Li
TL;DR
This paper addresses solving discrete linear ill-posed problems with LSQR under mixed precision by analyzing two main components: the Lanczos-based Krylov subspace construction and the iterative update of the regularized solution. It provides theoretical bounds showing that, for not extremely small noise, the Lanczos vector construction can be performed in single precision without compromising the final accuracy, and that the updating step can also use single precision under a moderate condition number, leading to a practical mixed-precision LSQR with double-precision QR. The authors validate these findings through 1-D and 2-D numerical experiments, demonstrating that mixed-precision variants can achieve the same regularized solutions as the double-precision baseline, thereby offering substantial speedups in large-scale problems. The work delivers actionable guidelines for choosing precision in LSQR and points to future high-performance implementations on architectures supporting low-precision arithmetic.
Abstract
The growing availability and usage of low precision foating point formats has attracts many interests of developing lower or mixed precision algorithms for scientific computing problems. In this paper we investigate the possibility of exploiting lower precision computing in LSQR for solving discrete linear ill-posed problems. We analyze the choice of proper computing precisions in the two main parts of LSQR, including the construction of Lanczos vectors and updating procedure of iterative solutions. We show that, under some mild conditions, the Lanczos vectors can be computed using single precision without loss of any accuracy of final regularized solutions as long as the noise level is not extremely small. We also show that the most time consuming part for updating iterative solutions can be performed using single precision without sacrificing any accuracy. The results indicate that the most time consuming parts of the algorithm can be implemented using single precision, and thus the performance of LSQR for solving discrete linear ill-posed problems can be significantly enhanced. Numerical experiments are made for testing the single precision variants of LSQR and confirming our results.
