Introduction
Many critical scientific and engineering challenges—ranging from medical imaging (CT scans) to geophysics and image deblurring—rely on solving "ill-posed" inverse problems. These problems involve reconstructing an unknown signal $x$ from noisy observations $b$ using a mathematical model $Ax = b$. Because the matrix $A$ is typically extremely ill-conditioned, standard solution methods often amplify noise, leading to unstable results.
To mitigate this, researchers employ regularization methods like the LSQR algorithm. Traditionally, these solvers are implemented using double precision (64-bit) floating-point arithmetic to minimize rounding errors. However, modern computational hardware, particularly GPUs, offers significantly higher performance at single precision (32-bit). This paper investigates whether the inherent noise in experimental data makes the high precision of 64-bit floats redundant, proposing a mixed-precision approach that maintains accuracy while enhancing efficiency.
The Precision Trade-off and the Noise Floor
The fundamental motivation for exploring lower precision lies in the relationship between rounding errors and data noise. In most real-world applications, the relative noise level in the input data is significantly larger than the rounding unit of single precision.
As shown in the table above, single precision provides a roundoff unit ($u$) of approximately $5.96 \times 10^{-8}$. If the noise level in the data ($\|e\|$) is $10^{-5}$ or higher, the errors introduced by 32-bit rounding are effectively "swallowed" by the existing data noise. The authors utilize the Discrete Picard Condition (DPC) to model how signal and noise decay across singular values, theoretically proving that as long as the noise floor is above the rounding threshold, single precision is sufficient for the primary computational tasks.
Mixed-Precision LSQR Methodology
The LSQR algorithm can be decomposed into two distinct phases: the Lanczos Bidiagonalization (LBFRO) and the iterative update of the solution estimate. The authors propose a Mixed Precision LSQR variant designed to maximize performance without sacrificing stability.
The Novel Strategy:
- Single Precision for LBFRO: The Lanczos Bidiagonalization (Algorithm 2.1) is the most computationally intensive part of the process, dominated by matrix-vector products. The authors demonstrate that these vectors can be computed in single precision without losing final reconstruction accuracy.
- Double Precision for Internal Scalars: While the bulk of the work is done in 32-bit, the authors recommend keeping the Givens QR factorization—a small-scale internal step involving scalars—in double precision. This prevents the small projected system from becoming unstable with negligible impact on total runtime.
- Single Precision for Vector Updates: Iterative updates for the solution $x$ can also safely reside in single precision, further reducing the memory footprint and increasing throughput.
Experimental Results and Accuracy Parity
The proposed method was evaluated using standard benchmarks for ill-posed problems, including 1D test problems (like shaw and gravity) and 2D image deblurring tasks (such as restoring the Hubble Space Telescope image).
Across noise levels ranging from $10^{-2}$ to $10^{-5}$, the mixed-precision "s+s" (single precision for both LBFRO and updates) produced relative reconstruction errors identical to the full double-precision version. Furthermore, the "semi-convergence" behavior—where the error initially drops before rising as the algorithm begins to fit the noise—remained stable and consistent between precision levels when full reorthogonalization was applied.
Conclusion and Future Directions
This research demonstrates that for the majority of discrete linear inverse problems, double precision is an unnecessary computational expense. By shifting the "heavy lifting" of the LSQR algorithm to single precision, researchers can theoretically halve the time-to-solution on modern hardware architectures.
While double precision remains necessary for rare cases with extremely low noise (below $10^{-7}$), the mixed-precision approach offers a robust and efficient alternative for standard scientific applications. Future work will focus on implementing these algorithms in C/CUDA to measure actual wall-clock speedups on high-performance GPUs like the NVIDIA V100.
Summary updated