Abstract
Iterative linear solvers are fundamental to large-scale scientific computing. Traditionally viewed through the lens of numerical analysis, this work provides a unifying framework that interprets these solvers as Bayesian inference engines. We demonstrate that Solution-Based Inference (SBI) and Matrix-Based Inference (MBI) are mathematically equivalent under specific conditions and extend this probabilistic interpretation to general projection methods, including the widely-used GMRES algorithm. Furthermore, we reframe preconditioning as the incorporation of prior beliefs. While the mean estimates of these probabilistic solvers align with classical results, empirical evaluations reveal significant challenges in uncertainty calibration, particularly an over-conservative bias in variance estimation.
Introduction
Solving large-scale linear systems of the form $Ax = b$ is a cornerstone of modern computational science. In practice, exact solutions are often computationally prohibitive, leading to the use of iterative methods that provide approximate solutions. Classical numerical analysis focuses on point estimates and convergence rates but lacks a formal mechanism for quantifying the uncertainty associated with early termination.
Probabilistic Numerical Methods (PNM) address this by treating the linear solver as a Bayesian agent. Instead of a single vector, the solver produces a posterior distribution over the solution space. However, the development of PNM has been fragmented, with different approaches placing priors either on the solution vector $x$ (Solution-Based Inference) or the matrix inverse $A^{-1}$ (Matrix-Based Inference). This paper seeks to unify these perspectives and broaden the scope of probabilistic solvers to non-symmetric systems.
Unifying Solution-Based and Matrix-Based Inference
A central contribution of this work is the formal unification of SBI and MBI. SBI models the unknown solution $x$ directly, while MBI models the inverse $A^{-1}$ to infer $x = A^{-1}b$.
The authors prove that when "left-multiplied" information is used—where observations consist of $s_i^T A$ for some search directions $s_i$—the two approaches are equivalent. Specifically, by employing Kronecker product structures for the prior covariance in MBI, the complex task of inferring a matrix can be reduced to vector inference. This equivalence, formalized in Proposition 6, simplifies the theoretical landscape and allows researchers to leverage the strengths of both frameworks.
Projection Methods and BayesGMRES
The paper extends the probabilistic framework to the class of projection methods. In these methods, the solution is constrained to a specific subspace (e.g., a Krylov subspace). The authors show that the iterates of classical solvers like the Conjugate Gradient (CG) method and the Generalised Minimal Residual (GMRES) method correspond to the mean of a Bayesian posterior distribution.
A significant result is the derivation of BayesGMRES. GMRES is the standard solver for non-symmetric linear systems, and casting it into the SBI framework (Proposition 17) provides a principled way to quantify uncertainty in a much wider array of applications than previously possible.
Preconditioning as Prior Information
Preconditioning is a standard technique to accelerate the convergence of iterative solvers by transforming the system into one with better spectral properties. This paper offers a novel Bayesian interpretation:
- Right-preconditioning is equivalent to specifying a prior belief about the solution $x$.
- Left-preconditioning corresponds to a change in the observation model, effectively altering how the solver "sees" the system.
This insight suggests that the extensive literature on designing effective preconditioners can be directly translated into the language of Bayesian prior selection, potentially leading to more automated and robust prior specifications.
Empirical Calibration and Limitations
To evaluate the probabilistic solvers, the authors conducted experiments on synthetic $100 \times 100$ matrices with controlled eigenvalue distributions. They utilized a test statistic $Z$ to assess calibration; for a perfectly calibrated solver, $Z$ should follow a $\chi^2$ distribution.
The results highlight a critical issue: BayesGMRES exhibits a "left shift" in its test statistic, indicating that the solver is overly conservative. It consistently overestimates its own uncertainty. This lack of calibration stems from the fact that search directions in classical solvers are often chosen adaptively based on previous residuals. This dependence violates the standard Bayesian assumption that the data (the search directions) should be independent of the quantity being inferred ($x$).
Conclusion
This work provides a rigorous foundation for probabilistic linear solvers, bridging the gap between numerical linear algebra and Bayesian statistics. While the unification of SBI and MBI and the introduction of BayesGMRES are significant theoretical steps, the challenge of achieving well-calibrated uncertainty estimates remains. Future research must address the non-Bayesian nature of adaptive search directions and the computational overhead of maintaining full posterior distributions in high-dimensional spaces.
Summary updated