arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2203.15928math.NAcs.NA
收藏

精度感知的浮点求和确定性和概率误差界

Precision-aware Deterministic and Probabilistic Error Bounds for Floating Point Summation

Eric Hallman, Ilse C. F. Ipsen

摘要:

我们分析了实数的浮点求和中的前向误差,用于低精度或极端规模问题维度中的计算,这些问题维度推动了精度的极限。我们提出了一个系统的计算树上的鞅的递归,这导致明确的和可解释的界限没有渐近大O项。两个概率参数加强了我们的边界的精度意识:一个参数控制求和误差中的一阶项,而第二个参数用于控制低精度或极端规模问题维度中的高阶项。我们的系统方法产生新的确定性和概率误差界三类单精度算法:一般求和,移位一般求和,补偿(顺序)求和。扩展我们的系统误差分析混合精度求和算法,允许任何数量的精度产生的混合精度FABsum算法的第一个概率界。数值实验表明,概率界是准确的,并在三类单精度算法中,补偿求和一般是最准确的。至于混合精度算法,我们的建议是最大限度地减少中间部分和相对于精度,他们计算的幅度。

英文摘要:

We analyze the forward error in the floating point summation of real numbers, for computations in low precision or extreme-scale problem dimensions that push the limits of the precision. We present a systematic recurrence for a martingale on a computational tree, which leads to explicit and interpretable bounds without asymptotic big-O terms. Two probability parameters strengthen the precision-awareness of our bounds: one parameter controls the first order terms in the summation error, while the second one is designed for controlling higher order terms in low precision or extreme-scale problem dimensions. Our systematic approach yields new deterministic and probabilistic error bounds for three classes of mono-precision algorithms: general summation, shifted general summation, and compensated (sequential) summation. Extension of our systematic error analysis to mixed-precision summation algorithms that allow any number of precisions yields the first probabilistic bounds for the mixed-precision FABsum algorithm. Numerical experiments illustrate that the probabilistic bounds are accurate, and that among the three classes of mono-precision algorithms, compensated summation is generally the most accurate. As for mixed precision algorithms, our recommendation is to minimize the magnitude of intermediate partial sums relative to the precision in which they are computed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑