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

舍入 舍入误差 离散化 数学 应用数学 算法 数学分析 数学优化 计算机科学 操作系统
作者
Matteo Croci,Michael B. Giles
出处
期刊:Ima Journal of Numerical Analysis [Oxford University Press]
卷期号:43 (3): 1358-1390 被引量:26
标识
DOI:10.1093/imanum/drac012
摘要

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 $\mathcal{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 $\varDelta t$, and until stagnation the global error grows like $\mathcal{O}(u\varDelta 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 $\mathcal{O}(u\varDelta t^{-1/4})$ in one dimension and are essentially bounded (up to logarithmic factors) in higher dimensions.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
英姑的应助被zzl采纳,获得10
1秒前
xiangnan发布了新的文献求助10
1秒前
2秒前
开放芯发布了新的文献求助10
3秒前
杨羽发布了新的文献求助10
3秒前
zizi不倦完成签到 ,获得积分10
3秒前
3秒前
Zikc完成签到,获得积分10
4秒前
4秒前
英俊的铭的应助被四仰化三铁采纳,获得10
5秒前
洁净山柏发布了新的文献求助30
6秒前
方暂暗完成签到,获得积分10
6秒前
雾散发布了新的文献求助10
7秒前
8秒前
8秒前
ding的应助被LIN采纳,获得30
9秒前
情怀的应助被玉玉玉米采纳,获得10
9秒前
10秒前
还等雨落的应助被MG采纳,获得10
10秒前
10秒前
xLi发布了新的文献求助10
11秒前
无私代芹完成签到,获得积分10
11秒前
11秒前
三拾壹完成签到 ,获得积分10
12秒前
taipingyang发布了新的文献求助10
13秒前
13秒前
杨羽完成签到,获得积分10
14秒前
tom发布了新的文献求助10
14秒前
流浪文献完成签到,获得积分10
14秒前
14秒前
15秒前
大白菜完成签到,获得积分10
15秒前
16秒前
暮谷完成签到,获得积分20
17秒前
lshlsh完成签到 ,获得积分10
17秒前
简单的大哥完成签到,获得积分10
17秒前
pokexuejiao发布了新的文献求助30
17秒前
搜集达人的应助被隐形冰之采纳,获得30
17秒前
hanbulashiga发布了新的文献求助10
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 2000
Handbook of Sport Coaching Research 1000
Orthognathic Surgery - 2 Volume Set 500
高分子基功能界面水蒸发材料与应用研究 500
外场增强的水汽发电研究 500
基于结构调控的功能化水诱导发电材料与器件研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8194107
求助须知:如何正确求助?哪些是违规求助? 9580062
关于积分的说明 21869017
捐赠科研通 7793713
什么是DOI,文献DOI怎么找? 3437523
关于科研通互助平台的介绍 2560962
邀请新用户注册赠送积分活动 2484264