Stochastic rounding: implementation, error analysis and applications

Author:

Croci Matteo1ORCID,Fasi Massimiliano2ORCID,Higham Nicholas J.3ORCID,Mary Theo4ORCID,Mikaitis Mantas3ORCID

Affiliation:

1. Oden Institute, University of Texas at Austin, Austin, TX, 78712, USA

2. Department of Computer Science, Durham University, Durham, DH1 3LE, UK

3. Department of Mathematics, The University of Manchester, Manchester, M13 9PL, UK

4. Sorbonne Université, CNRS, LIP6, Paris, 75005, France

Abstract

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 n u 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.

Funder

Royal Society

Engineering and Physical Sciences Research Council

French National Agency

Wenner-Gren Stiftelserna

Publisher

The Royal Society

Subject

Multidisciplinary

Reference102 articles.

1. Stochastic Rounding and Its Probabilistic Backward Error Analysis

2. Simulating Low Precision Floating-Point Arithmetic

3. Round-off errors in numerical integration on automatic machinery;Forsythe GE;Bull. Am. Math. Soc.,1950

4. On the precision of a certain procedure of numerical integration

5. An electronic digital computor using cold cathode counting tubes for storage;Barnes RCM;Electron. Eng.,1951

Cited by 30 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Bounds on Nonlinear Errors for Variance Computation with Stochastic Rounding;SIAM Journal on Scientific Computing;2024-09-03

2. Reduced floating-point precision in regional climate simulations: an ensemble-based statistical verification;Geoscientific Model Development;2024-07-24

3. MixPert: Optimizing Mixed-Precision Floating-Point Emulation on GPU Integer Tensor Cores;Proceedings of the 25th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems;2024-06-20

4. A Stochastic Rounding-Enabled Low-Precision Floating-Point MAC for DNN Training;2024 Design, Automation & Test in Europe Conference & Exhibition (DATE);2024-03-25

5. Exploring the impact of post-training rounding in regression models;Applications of Mathematics;2024-02-15

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3