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

04/11/2023
by   E M El Arar, et al.
0

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(√($) 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/21/2022

Stochastic rounding variance and probabilistic bounds: A new approach *

Stochastic rounding (SR) offers an alternative to the deterministic IEEE...
research
07/08/2022

The Positive Effects of Stochastic Rounding in Numerical Algorithms

Recently, stochastic rounding (SR) has been implemented in specialized h...
research
05/31/2020

Improved stochastic rounding

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

A Refined Probabilistic Error Bound for Sums

This paper considers a probabilistic model for floating-point computatio...
research
03/06/2023

Restoration-Degradation Beyond Linear Diffusions: A Non-Asymptotic Analysis For DDIM-Type Samplers

We develop a framework for non-asymptotic analysis of deterministic samp...
research
02/24/2021

Saturable Generalizations of Jensen's Inequality

Jensen's inequality can be thought as answering the question of how know...

Please sign up or login with your details

Forgot password? Click here to reset