Probabilistic Error Analysis For Sequential Summation of Real Floating Point Numbers

01/27/2021
by   Johnathan Rhyne, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

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
04/13/2021

A Refined Probabilistic Error Bound for Sums

This paper considers a probabilistic model for floating-point computatio...
research
09/08/2019

Accurate Computation of the Log-Sum-Exp and Softmax Functions

Evaluating the log-sum-exp function or the softmax function is a key ste...
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
06/25/2019

Probabilistic Error Analysis for Inner Products

Probabilistic models are proposed for bounding the forward error in the ...
research
09/15/2022

Training Neural Networks in Single vs Double Precision

The commitment to single-precision floating-point arithmetic is widespre...
research
01/02/2022

High Precision Computation of Riemann's Zeta Function by the Riemann-Siegel Formula, II

(This is only a first preliminary version, any suggestions about it will...

Please sign up or login with your details

Forgot password? Click here to reset