使用随机舍入的降低浮点精度气候建模
Climate Change Modelling at Reduced Float Precision with Stochastic Rounding
AI总结:
本研究在SPEEDY模型上测试降低浮点精度(Float32、Float16)用于百年气候变化模拟,发现随机舍入优于传统舍入,在保证精度的同时显著降低计算成本。
摘要:
降低精度的浮点运算现已常规部署于短期数值天气预报中。然而,这些降低精度技术对于更长时间尺度的气候模拟——尤其是那些旨在描述动态变化气候的模拟——的适用性仍不明确。我们通过部署一个名为SPEEDY的全球大气粗分辨率模型,模拟在二氧化碳浓度增加的情况下,100年时间尺度上的气候变化系统来研究这一问题。尽管双精度通常是气候建模的操作标准,我们发现降低精度的解决方案(Float32、Float16)足够准确。采用随机舍入而非更常见的“舍入到最近”技术来处理有限精度浮点数,显著提高了降低精度解决方案的性能。在100年内,相对于双精度解决方案,全球平均地表温度(降水)的平均偏差误差(MBE)在单精度下为+2×10⁻⁴K(-8×10⁻⁵毫米/6小时),在半精度下为-3.5×10⁻²K(-1×10⁻²毫米/6小时),而加入随机舍入后,半精度误差降至+1.8×10⁻²K(-8×10⁻⁴毫米/6小时)。通过检查100年后产生的气候分布,当使用随机舍入的半精度进行数值积分时,全球地表温度期望值相对于双精度解决方案的差异≤5×10⁻³K,降水差异为8×10⁻⁴毫米/6小时。我们还探讨并讨论了模型中由于采用随机舍入而非确定性舍入而显著改进的区域。
英文摘要:
Reduced precision floating point arithmetic is now routinely deployed in numerical weather forecasting over short timescales. However the applicability of these reduced precision techniques to longer timescale climate simulations - especially those which seek to describe a dynamical, changing climate - remains unclear. We investigate this question by deploying a global atmospheric, coarse resolution model known as SPEEDY to simulate a changing climate system subject to increased $\text{CO}_2$ concentrations, over a 100 year timescale. Whilst double precision is typically the operational standard for climate modelling, we find that reduced precision solutions (Float32, Float16) are sufficiently accurate. Rounding the finite precision floats stochastically, rather than using the more common ``round-to-nearest" technique, notably improves the performance of the reduced precision solutions. Over 100 years the mean bias error (MBE) in the global mean surface temperature (precipitation) relative to the double precision solution is $+2 \times 10^{-4}$K ($-8 \times 10^{-5}$ mm/6hr) at single precision and $-3.5\times 10^{-2}$ K($-1 \times 10^{-2}$ mm/6hr) at half precision, whilst the inclusion of stochastic rounding reduced the half precision error to +1.8 $\times 10^{-2}$ K ($-8 \times10^{-4}$ mm/6hr). By examining the resultant climatic distributions that arise after 100 years, the difference in the expected value of the global surface temperature, relative to the double precision solution is $\leq 5 \times 10^{-3}$ K and for precipitation $8 \times 10^{-4}$ mm/6h when numerically integrating at half precision with stochastic rounding. Areas of the model which notably improve due to the inclusion of stochastic over deterministic rounding are also explored and discussed. [abridged]
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。