A Nested Krylov Method Using Half-Precision Arithmetic
Kengo Suzuki, Takeshi Iwashita
TL;DR
The paper introduces F3R, a three-level nested Krylov solver that integrates flexible GMRES and Richardson within a multi-precision framework to exploit half-precision arithmetic. By progressively reducing precision from $fp64$ to $fp16$ and executing inner solvers only a few iterations per outer iteration, F3R achieves substantial speedups while maintaining convergence, outperforming restarted FGMRES, CG, and BiCGStab on CPU and GPU benchmarks. A key contribution is an adaptive weight-update scheme for the innermost Richardson step, which enhances stability across diverse problems. The results demonstrate practical gains in memory bandwidth-limited sparse linear solves and suggest pathways for asynchronous and distributed extensions.
Abstract
Low-precision computing is essential for efficiently utilizing memory bandwidth and computing cores. While many mixed-precision algorithms have been developed for iterative sparse linear solvers, effectively leveraging half-precision (fp16) arithmetic remains challenging. This study introduces a novel nested Krylov approach that integrates the flexible GMRES and Richardson methods in a deeply nested structure, progressively reducing precision from double-precision to fp16 toward the innermost solver. To avoid meaningless computations beyond precision limits, the low-precision inner solvers perform only a few iterations per invocation, while the nested structure ensures their frequent execution. Numerical experiments show that using fp16 in the approach directly enhances solver performance without compromising convergence, achieving speedups of up to 1.65x and 2.42x over double-precision and double-single mixed-precision implementations, respectively. Moreover, the proposed method outperforms or matches other standard Krylov solvers, including restarted GMRES, CG, and BiCGStab methods.
