arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.09498math.NAcs.NA
收藏

在指数时间积分方法中利用混合精度

Leveraging Mixed Precision in Exponential Time Integration Methods

Cody J. Balos, Steven Roberts, David J. Gardner

AI总结:

针对科学计算中时间积分方法利用混合精度探索不足的问题,提出基于指数Rosenbrock--Euler方法重构和基于非精确不完全Arnoldi过程的两种混合精度策略,在求解对流-扩散-反应方程时兼顾精度与效率。

摘要:

机器学习的爆发使得现代计算机硬件呈现出向低精度浮点运算发展的显著趋势。为此,在通用科学计算中,使用低精度和混合精度的努力日益增多。一个探索较少的重要领域是时间积分方法,该方法用于求解在科学与工程应用中普遍存在的微分方程。在本工作中,我们开发了两种在指数时间积分方法中利用混合精度的新方法。第一种方法基于对指数Rosenbrock--Euler方法的重新表述,允许在矩阵指数计算中独立于特定的矩阵求幂算法使用低精度计算。第二种方法基于Krylov近似方法中用于计算矩阵指数的非精确且不完全的Arnoldi过程,并且与所选积分方法无关。我们表明,在求解对流-扩散-反应偏微分方程时,与纯低精度相比,这两种方法均提高了精度,并且比仅使用双精度提供了更好的效率。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑