[Paper Review] Krylov space solvers for shifted linear systems
This paper presents a unified framework for constructing shifted Krylov subspace solvers—specifically for CG, CR, BiCGstab, and CG-M—by leveraging shifted polynomials that allow simultaneous solution of multiple shifted linear systems $(A + \sigma)x = b$ using only the matrix-vector operations of a single system. The key contribution is enabling optimal performance in lattice QCD calculations, especially for staggered fermions, with significant speedups when solving for multiple quark masses.
We investigate the application of Krylov space methods to the solution of shifted linear systems of the form (A+σ) x - b = 0 for several values of σsimultaneously, using only as many matrix-vector operations as the solution of a single system requires. We find a suitable description of the problem, allowing us to understand known algorithms in a common framework and developing shifted methods basing on short recurrence methods, most notably the CG and the BiCGstab solvers. The convergence properties of these shifted solvers are well understood and the derivation of other shifted solvers is easily possible. The application of these methods to quark propagator calculations in quenched QCD using Wilson and Clover fermions is discussed and numerical examples in this framework are presented. With the shifted CG method an optimal algorithm for staggered fermions is available.
Motivation & Objective
- To develop a unified framework for constructing shifted Krylov subspace solvers that solve multiple shifted systems $(A + \sigma)x = b$ simultaneously with minimal computational cost.
- To address the computational bottleneck in quark propagator calculations in quenched QCD, where multiple values of $\sigma$ (quark masses) must be inverted efficiently.
- To extend short-recurrence Krylov methods—like CG, BiCGstab, and CR—into shifted variants that require only two additional vectors per mass value.
- To ensure numerical stability and convergence for shifted systems, especially under roundoff errors and in 32-bit arithmetic.
- To demonstrate practical efficiency and scalability in realistic lattice QCD simulations using Wilson, Clover, and staggered fermions.
Proposed method
- Define shifted polynomials $P_n^\sigma(z + \sigma) = c_n^\sigma P_n(z)$ such that vectors generated by $P_n^\sigma(A)$ are scaled versions of those from $P_n(A)$, enabling reuse across $\sigma$ values.
- Use the invariance of Krylov subspaces $\mathcal{K}_n(A, v_0) = \mathcal{K}_n(A + \sigma, v_0)$ to ensure that shifted polynomials generate valid iterates for each $\sigma$ without additional matrix-vector products.
- Construct shifted variants of CG, CR, BiCGstab, and CG-M by deriving recurrence relations that propagate the shifted polynomial structure through the algorithm.
- Implement linear preconditioning (e.g., $a=0$ in Eq. 4.63) to stabilize convergence, especially for small quark masses, and ensure condition (4.62) is preserved to avoid stagnation.
- Apply the method to quark propagator calculations with Wilson, Clover, and staggered fermions, using tadpole-improved parameters and testing with nonlocal and point sources.
- Verify convergence and stability by monitoring residuals of shifted systems, particularly in 32-bit arithmetic where roundoff effects may affect shifted residuals.
Experimental results
Research questions
- RQ1Can shifted Krylov subspace methods be systematically derived from standard short-recurrence solvers like CG and BiCGstab using a common polynomial framework?
- RQ2How can multiple shifted systems $(A + \sigma)x = b$ be solved using only the matrix-vector operations required for the slowest single system?
- RQ3What is the impact of roundoff errors on the convergence of shifted residuals, and how can it be mitigated in practical implementations?
- RQ4How does the performance of shifted solvers scale with the number of masses and their spacing, especially in lattice QCD with nonlocal sources?
- RQ5Can higher-order polynomial preconditioning be effectively applied to shifted solvers for very small quark masses?
Key findings
- The shifted CG-M and CR-M methods are optimal for staggered fermions, where efficient preconditioners are not available, enabling significant speedups.
- The BiCGstab-M method is the method of choice for Wilson and Clover fermions when memory allows, offering stable convergence and high efficiency.
- For nonlocal sources, the improvement factor can be substantial when quark masses are close together, with $\sum_{i=1}^{n}N^{\rm cont}_{i} - 2N^{\rm zero\text{-}guess}_{n} \gg 0$ indicating large gains.
- Numerical tests show that residuals of shifted systems can stagnate at $\approx 10^{-2}$ in some cases due to roundoff errors, especially in larger lattices, necessitating residual checks.
- Linear preconditioning stabilizes convergence for small masses, and the method remains feasible in 32-bit arithmetic with proper implementation.
- The framework allows straightforward extension to other Krylov methods and supports higher-order preconditioning for very small masses.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.