Stochastic rounding variance and probabilistic bounds: A new approach *

07/21/2022
by   El-Mehdi El Arar, et al.
0

Stochastic rounding (SR) offers an alternative to the deterministic IEEE-754 floating-point rounding modes. In some applications such as PDEs, ODEs and neural networks, SR empirically improves the numerical behavior and convergence to accurate solutions while no sound theoretical background has been provided. Recent works by Ipsen, Zhou, Higham, and Mary have computed SR probabilistic error bounds for basic linear algebra kernels. For example, the inner product SR probabilistic bound of the forward error is proportional to √($) nu instead of nu for the default rounding mode. To compute the bounds, these works show that the errors accumulated in computation form a martingale. This paper proposes an alternative framework to characterize SR errors based on the computation of the variance. We pinpoint common error patterns in numerical algorithms and propose a lemma that bounds their variance. For each probability and through Bienaymé-Chebyshev inequality, this bound leads to better probabilistic error bound in several situations. Our method has the advantage of providing a tight probabilistic bound for all algorithms fitting our model. We show how the method can be applied to give SR error bounds for the inner product and Horner polynomial evaluation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/08/2022

The Positive Effects of Stochastic Rounding in Numerical Algorithms

Recently, stochastic rounding (SR) has been implemented in specialized h...
research
04/11/2023

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

The main objective of this work is to investigate non-linear errors and ...
research
05/31/2020

Improved stochastic rounding

Due to the limited number of bits in floating-point or fixed-point arith...
research
07/04/2021

Deterministic and Probabilistic Error Bounds for Floating Point Summation Algorithms

We analyse the forward error in the floating point summation of real num...
research
06/25/2019

Probabilistic Error Analysis for Inner Products

Probabilistic models are proposed for bounding the forward error in the ...
research
03/29/2022

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

We analyze the forward error in the floating point summation of real num...
research
08/30/2018

Compensated de Casteljau algorithm in K times the working precision

In computer aided geometric design a polynomial is usually represented i...

Please sign up or login with your details

Forgot password? Click here to reset