4.5 Article

Effects of round-to-nearest and stochastic rounding in the numerical solution of the heat equation in low precision

期刊

IMA JOURNAL OF NUMERICAL ANALYSIS
卷 43, 期 3, 页码 1358-1390

出版社

OXFORD UNIV PRESS
DOI: 10.1093/imanum/drac012

关键词

rounding error analysis; floating-point arithmetic; stochastic rounding; Runge-Kutta methods; low-precision PDE solvers; finite differences

向作者/读者索取更多资源

Motivated by machine learning, low-precision hardware-supported computing has regained attention in recent years. This paper studies the accumulation of rounding errors in the solution of the heat equation using different rounding methods. It demonstrates how to implement the scheme to reduce rounding errors and provides estimates for local and global rounding errors.
Motivated by the advent of machine learning, the last few years have seen the return of hardware-supported low-precision computing. Computations with fewer digits are faster and more memory and energy efficient but can be extremely susceptible to rounding errors. As shown by recent studies into reduced-precision climate simulations, an application that can largely benefit from the advantages of low-precision computing is the numerical solution of partial differential equations (PDEs). However, a careful implementation and rounding error analysis are required to ensure that sensible results can still be obtained. In this paper we study the accumulation of rounding errors in the solution of the heat equation, a proxy for parabolic PDEs, via Runge-Kutta finite difference methods using round-to-nearest (RtN) and stochastic rounding (SR). We demonstrate how to implement the scheme to reduce rounding errors and we derive a priori estimates for local and global rounding errors. Let u be the unit roundoff. While the worst-case local errors are O(u) with respect to the discretization parameters (mesh size and timestep), the RtN and SR error behaviour is substantially different. In fact, the RtN solution always stagnates for small enough Delta t, and until stagnation the global error grows like O(u Delta t(-1)). In contrast, we show that the leading-order errors introduced by SR are zero-mean, independent in space and mean-independent in time, making SR resilient to stagnation and rounding error accumulation. In fact, we prove that for SR the global rounding errors are only O(u Delta t(-1/4)) in one dimension and are essentially bounded (up to logarithmic factors) in higher dimensions.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.5
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据