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

使用随机舍入进行方差计算时非线性误差的界限

Bounds on non-linear errors for variance computation with stochastic rounding

El-Mehdi El Arar, Devan Sohier, Pablo de Oliveira Castro, Eric Petit

AI总结:

研究方差计算算法中使用随机舍入的非线性误差和成对求和,通过方差界限结合不等式及鞅方法证明SR能将前向误差从确定性界限改善为更优的概率界限。

摘要:

这项工作的主要目标是研究方差计算算法中使用随机舍入(SR)的非线性误差和成对求和。我们通过两种方法估计了SR下计算的前向误差:第一种基于方差界限和Bienaymé-Chebyshev不等式,第二种基于鞅和Azuma-Hoeffding不等式。研究表明,对于成对求和,使用SR产生的前向误差概率界限与log(n)u成正比,而不是使用默认舍入模式时的O(log(n)u)确定性界限。我们检验了两种计算方差的算法,称为''textbook''和''two-pass'',它们都表现出非线性误差。使用上述两种方法,我们证明了这些算法在SR下的前向误差具有O($\sqrt$ nu)的概率界限,而不是nu的确定性界限。我们证明了这一优势在使用成对求和时对textbook和two-pass都成立,前向误差的概率界限与log(n)u成正比。

英文摘要:

The main objective of this work is to investigate non-linear errors and pairwise summation using stochastic rounding (SR) in variance computation algorithms. We estimate the forward error of computations under SR through two methods: the first is based on a bound of the variance and Bienaym{é}-Chebyshev inequality, while the second is based on martingales and Azuma-Hoeffding inequality. The study shows that for pairwise summation, using SR results in a probabilistic bound of the forward error proportional to log(n)u rather than the deterministic bound in O(log(n)u) when using the default rounding mode. We examine two algorithms that compute the variance, called ''textbook'' and ''two-pass'', which both exhibit non-linear errors. Using the two methods mentioned above, we show that these algorithms' forward errors have probabilistic bounds under SR in O($\sqrt$ nu) instead of nu for the deterministic bounds. We show that this advantage holds using pairwise summation for both textbook and two-pass, with probabilistic bounds of the forward error proportional to log(n)u.

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

↑