arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.11738math.NAcs.NA
收藏

实浮点数序列求和的概率误差分析

Probabilistic Error Analysis For Sequential Summation of Real Floating Point Numbers

Johnathan Rhyne

摘要:

通过将舍入表示为独立的、零均值的、有界的随机变量,我们得到了$n$实数浮点求和中相对前向误差的两个概率界。第一个概率界是基于Azuma的浓度不等式,第二个是基于Azuma-Hoeffding鞅。我们的数值实验表明,概率界,与严格的故障概率$10^{-16}$,可以是1-2个数量级比确定性界限紧。我们在Julia中进行了数值实验,将$n=10^7$单精度(二进制32)浮点数和$n=10^4$半精度(二进制16)浮点数相加。我们模拟了双精度的精确计算(binary 64)。当所有的被加数都有相同的符号时,边界趋于更紧。

英文摘要:

We derive two probabilistic bounds for the relative forward error in the floating point summation of $n$ real numbers, by representing the roundoffs as independent, zero-mean, bounded random variables. The first probabilistic bound is based on Azuma's concentration inequality, and the second on the Azuma-Hoeffding Martingale. Our numerical experiments illustrate that the probabilistic bounds, with a stringent failure probability of $10^{-16}$, can be 1-2 orders of magnitude tighter than deterministic bounds. We performed the numerical experiments in Julia by summing up to $n=10^7$ single precision (binary32) floating point numbers, and up to $n=10^4$ half precision (binary16) floating point numbers. We simulated exact computation with double precision (binary64). The bounds tend to be tighter when all summands have the same sign.

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

↑