4.6 Review

Stochastic rounding: implementation, error analysis and applications

期刊

ROYAL SOCIETY OPEN SCIENCE
卷 9, 期 3, 页码 -

出版社

ROYAL SOC
DOI: 10.1098/rsos.211631

关键词

floating-point arithmetic; rounding error analysis; IEEE 754; binary16; bfloat16; machine learning

资金

  1. Engineering and Physical Sciences Research Council [EP/P020720/1]
  2. Wenner-Gren Foundations [UPD2019-0067]
  3. Royal Society
  4. French National Agency for Research [ANR-20-CE46-0009]

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

Stochastic rounding is a rounding mode that randomly maps a real number to one of the closest values in a finite precision number system. It has been proposed for use in computer arithmetic and has gained renewed interest. Compared to round to nearest, stochastic rounding is immune to stagnation and provides a higher probability error bound.
Stochastic rounding (SR) randomly maps a real number x to one of the two nearest values in a finite precision number system. The probability of choosing either of these two numbers is 1 minus their relative distance to x. This rounding mode was first proposed for use in computer arithmetic in the 1950s and it is currently experiencing a resurgence of interest. If used to compute the inner product of two vectors of length n in floating-point arithmetic, it yields an error bound with constant root nu with high probability, where u is the unit round-off. This is not necessarily the case for round to nearest (RN), for which the worst-case error bound has constant nu. A particular attraction of SR is that, unlike RN, it is immune to the phenomenon of stagnation, whereby a sequence of tiny updates to a relatively large quantity is lost. We survey SR by discussing its mathematical properties and probabilistic error analysis, its implementation, and its use in applications, with a focus on machine learning and the numerical solution of differential equations.

作者

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

评论

主要评分

4.6
评分不足

次要评分

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

推荐

暂无数据
暂无数据