Mixed Precision $s$-step Lanczos and Conjugate Gradient Algorithms
Erin Carson, Tom\'a\v{s} Gergelits

TL;DR
This paper introduces a mixed precision approach to $s$-step Lanczos and Conjugate Gradient algorithms, significantly improving their numerical stability and accuracy by performing select computations in higher precision, thus enabling better performance without major overhead.
Contribution
The paper demonstrates that performing select computations in double precision reduces error amplification in $s$-step algorithms, enhancing their numerical stability and extending their practical applicability.
Findings
Mixed precision reduces error amplification in $s$-step algorithms.
Numerical experiments confirm improved stability and accuracy.
Extended to $s$-step CG with similar benefits.
Abstract
Compared to the classical Lanczos algorithm, the -step Lanczos variant has the potential to improve performance by asymptotically decreasing the synchronization cost per iteration. However, this comes at a cost. Despite being mathematically equivalent, the -step variant is known to behave quite differently in finite precision, with potential for greater loss of accuracy and a decrease in the convergence rate relative to the classical algorithm. It has previously been shown that the errors that occur in the -step version follow the same structure as the errors in the classical algorithm, but with the addition of an amplification factor that depends on the square of the condition number of the dimensional Krylov bases computed in each outer loop. As the condition number of these -step bases grows (in some cases very quickly) with , this limits the parameter that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMatrix Theory and Algorithms · Numerical Methods and Algorithms · Electromagnetic Scattering and Analysis
