• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

随机舍入:实现、误差分析及应用

Stochastic rounding: implementation, error analysis and applications.

作者信息

Croci Matteo, Fasi Massimiliano, Higham Nicholas J, Mary Theo, Mikaitis Mantas

机构信息

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

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

出版信息

R Soc Open Sci. 2022 Mar 9;9(3):211631. doi: 10.1098/rsos.211631. eCollection 2022 Mar.

DOI:10.1098/rsos.211631
PMID:35291325
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC8905452/
Abstract

Stochastic rounding (SR) randomly maps a real number 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 . 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 in floating-point arithmetic, it yields an error bound with constant with high probability, where 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 . 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.

摘要

随机舍入(SR)将实数随机映射到有限精度数制中最接近的两个值之一。选择这两个数中任何一个的概率是1减去它们与该实数的相对距离。这种舍入模式在20世纪50年代首次被提出用于计算机算术,目前正重新受到关注。如果在浮点算术中用于计算两个长度为 的向量的内积,它很可能产生一个常数为 的误差界,其中 是单位舍入误差。对于向最接近值舍入(RN)则不一定如此,其最坏情况误差界的常数为 。SR的一个特别吸引人之处在于,与RN不同,它不受停滞现象的影响,在停滞现象中,对相对较大数量的一系列微小更新会丢失。我们通过讨论其数学性质和概率误差分析、实现方法以及在应用中的使用来综述随机舍入,重点是机器学习和微分方程的数值解。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/576e63051e0c/rsos211631f09.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/2e0faadc84f9/rsos211631f01.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/31d72ae66ea1/rsos211631f02.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/a9b974330936/rsos211631f03.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/64fab989bd3f/rsos211631f04.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/f00c044cfd42/rsos211631f05.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/d60b9a350496/rsos211631f06.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/2f7fbe4898c5/rsos211631f07.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/4de2141c74cd/rsos211631f08.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/576e63051e0c/rsos211631f09.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/2e0faadc84f9/rsos211631f01.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/31d72ae66ea1/rsos211631f02.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/a9b974330936/rsos211631f03.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/64fab989bd3f/rsos211631f04.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/f00c044cfd42/rsos211631f05.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/d60b9a350496/rsos211631f06.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/2f7fbe4898c5/rsos211631f07.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/4de2141c74cd/rsos211631f08.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/5399/8905452/576e63051e0c/rsos211631f09.jpg

相似文献

1
Stochastic rounding: implementation, error analysis and applications.随机舍入:实现、误差分析及应用
R Soc Open Sci. 2022 Mar 9;9(3):211631. doi: 10.1098/rsos.211631. eCollection 2022 Mar.
2
Stochastic rounding and reduced-precision fixed-point arithmetic for solving neural ordinary differential equations.随机舍入和降低精度定点算术在求解神经常微分方程中的应用。
Philos Trans A Math Phys Eng Sci. 2020 Mar 6;378(2166):20190052. doi: 10.1098/rsta.2019.0052. Epub 2020 Jan 20.
3
Number Formats, Error Mitigation, and Scope for 16-Bit Arithmetics in Weather and Climate Modeling Analyzed With a Shallow Water Model.利用浅水模型分析天气和气候建模中16位算术的数字格式、误差缓解及范围
J Adv Model Earth Syst. 2020 Oct;12(10):e2020MS002246. doi: 10.1029/2020MS002246. Epub 2020 Oct 14.
4
Expressive power of ReLU and step networks under floating-point operations.ReLU 和阶跃网络在浮点运算下的表达能力。
Neural Netw. 2024 Jul;175:106297. doi: 10.1016/j.neunet.2024.106297. Epub 2024 Apr 9.
5
Exact arithmetic as a tool for convergence assessment of the IRM-CG method.精确算术作为IRM-CG方法收敛性评估的工具。
Heliyon. 2020 Jan 27;6(1):e03225. doi: 10.1016/j.heliyon.2020.e03225. eCollection 2020 Jan.
6
Numerical behavior of NVIDIA tensor cores.英伟达张量核的数值行为。
PeerJ Comput Sci. 2021 Feb 10;7:e330. doi: 10.7717/peerj-cs.330. eCollection 2021.
7
Mixed-precision iterative refinement using tensor cores on GPUs to accelerate solution of linear systems.在图形处理器(GPU)上使用张量核进行混合精度迭代细化以加速线性系统求解。
Proc Math Phys Eng Sci. 2020 Nov;476(2243):20200110. doi: 10.1098/rspa.2020.0110. Epub 2020 Nov 25.
8
The most precise computations using Euler's method in standard floating-point arithmetic applied to modelling of biological systems.运用标准浮点算法中的 Euler 方法对生物系统进行建模的最精确计算。
Comput Methods Programs Biomed. 2013 Aug;111(2):471-9. doi: 10.1016/j.cmpb.2013.04.001. Epub 2013 May 16.
9
error estimation for the non-self-consistent Kohn-Sham equations.
Faraday Discuss. 2020 Dec 4;224(0):227-246. doi: 10.1039/d0fd00048e.
10
Stagnation point von Kármán coefficient.卡门系数驻点
Phys Rev E Stat Nonlin Soft Matter Phys. 2009 Oct;80(4 Pt 2):046306. doi: 10.1103/PhysRevE.80.046306. Epub 2009 Oct 6.

引用本文的文献

1
Stable recurrent dynamics in heterogeneous neuromorphic computing systems using excitatory and inhibitory plasticity.利用兴奋性和抑制性可塑性在异构神经形态计算系统中实现稳定的循环动力学。
Nat Commun. 2025 Jul 1;16(1):5522. doi: 10.1038/s41467-025-60697-2.
2
Resource constrained neural network training.资源受限神经网络训练
Sci Rep. 2024 Jan 29;14(1):2421. doi: 10.1038/s41598-024-52356-1.
3
Effective hybrid search technique based constraint mixed-integer programming for smart home residential load scheduling.基于有效混合搜索技术的约束混合整数规划在智能家居住宅负荷调度中的应用

本文引用的文献

1
PROBABILISTIC ERROR ANALYSIS FOR INNER PRODUCTS.内积的概率误差分析
SIAM J Matrix Anal Appl. 2020;41(4):1726-1741. doi: 10.1137/19m1270434. Epub 2020 Nov 12.
2
Allocating epidemic response teams and vaccine deliveries by drone in generic network structures, according to expected prevented exposures.根据预期的预防暴露情况,通过无人机在通用网络结构中分配疫情应对团队和疫苗配送。
PLoS One. 2021 Mar 5;16(3):e0248053. doi: 10.1371/journal.pone.0248053. eCollection 2021.
3
Trade-offs between mobility restrictions and transmission of SARS-CoV-2.
Sci Rep. 2023 Dec 10;13(1):21870. doi: 10.1038/s41598-023-48717-x.
4
Periodic orbits in chaotic systems simulated at low precision.低精度模拟混沌系统中的周期轨道。
Sci Rep. 2023 Jul 14;13(1):11410. doi: 10.1038/s41598-023-37004-4.
移动限制与 SARS-CoV-2 传播之间的权衡。
J R Soc Interface. 2021 Feb;18(175):20200936. doi: 10.1098/rsif.2020.0936. Epub 2021 Feb 24.
4
Stochastic rounding and reduced-precision fixed-point arithmetic for solving neural ordinary differential equations.随机舍入和降低精度定点算术在求解神经常微分方程中的应用。
Philos Trans A Math Phys Eng Sci. 2020 Mar 6;378(2166):20190052. doi: 10.1098/rsta.2019.0052. Epub 2020 Jan 20.
5
Learning with limited numerical precision using the cascade-correlation algorithm.
IEEE Trans Neural Netw. 1992;3(4):602-11. doi: 10.1109/72.143374.
6
Stochastic truncation approach to the Z2 gauge model in 3+1 dimensions.
Phys Rev D Part Fields. 1990 Oct 15;42(8):2835-2840. doi: 10.1103/physrevd.42.2835.
7
Stochastic truncation method for Hamiltonian lattice field theory.
Phys Rev D Part Fields. 1989 Jun 15;39(12):3772-3777. doi: 10.1103/physrevd.39.3772.
8
Gap of the linear spin-1 Heisenberg antiferromagnet: A Monte Carlo calculation.
Phys Rev B Condens Matter. 1986 Jan 1;33(1):659-661. doi: 10.1103/physrevb.33.659.