Leveraging Mixed Precision in Exponential Time Integration Methods
Cody J. Balos, Steven Roberts, David J. Gardner
TL;DR
This work addresses the challenge of leveraging mixed-precision hardware for exponential time integration by proposing two complementary approaches: (i) a reformulated exponential Rosenbrock--Euler method with a tunable parameter $\gamma_n$ that enhances tolerance to inexact $\varphi$-function evaluations, achieving an improved local error of $\|e_1\|_2 = O(h_0^3 + \epsilon h_0^2)$, and (ii) a mixed-precision Krylov method for phi-function products using an inexact/incomplete Arnoldi process with adaptive precision switching. The paper demonstrates, through both analysis and advection–diffusion–reaction PDE experiments, that the reformulated scheme preserves second-order accuracy under low-precision phi-functions, and that smart switching in the Krylov Arnoldi method yields accuracy comparable to double precision while reducing computational effort. Collectively, these contributions enable efficient, accurate exponential time integration on modern hardware. The practical impact is improved solver performance for stiff ODEs and PDE discretizations when using contemporary accelerators with limited precision, without sacrificing accuracy.
Abstract
The machine learning explosion has created a prominent trend in modern computer hardware towards low precision floating-point operations. In response, there have been growing efforts to use low and mixed precision in general scientific computing. One important area that has received limited exploration is time-integration methods, which are used for solving differential equations that are ubiquitous in science and engineering applications. In this work, we develop two new approaches for leveraging mixed precision in exponential time integration methods. The first approach is based on a reformulation of the exponential Rosenbrock--Euler method allowing for low precision computations in matrix exponentials independent of the particular algorithm for matrix exponentiation. The second approach is based on an inexact and incomplete Arnoldi procedure in Krylov approximation methods for computing matrix exponentials and is agnostic to the chosen integration method. We show that both approaches improve accuracy compared to using purely low precision and offer better efficiency than using only double precision when solving an advection-diffusion-reaction partial differential equation.
