The Positive Effects of Stochastic Rounding in Numerical Algorithms

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

Recently, stochastic rounding (SR) has been implemented in specialized hardware but most current computing nodes do not yet support this rounding mode. Several works empirically illustrate the benefit of stochastic rounding in various fields such as neural networks and ordinary differential equations. For some algorithms, such as summation, inner product or matrixvector multiplication, it has been proved that SR provides probabilistic error bounds better than the traditional deterministic bounds. In this paper, we extend this theoretical ground for a wider adoption of SR in computer architecture. First, we analyze the biases of the two SR modes: SR-nearness and SR-up-or-down. We demonstrate on a case-study of Euler's forward method that IEEE-754 default rounding modes and SR-up-or-down accumulate rounding errors across iterations and that SR-nearness, being unbiased, does not. Second, we prove a O(√($) n) probabilistic bound on the forward error of Horner's polynomial evaluation method with SR, improving on the known deterministic O(n) bound.

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
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
10/30/2020

Effects of round-to-nearest and stochastic rounding in the numerical solution of the heat equation in low precision

Motivated by the advent of machine learning, the last few years saw the ...
research
02/02/2021

When Noise meets Chaos: Stochastic Resonance in Neurochaos Learning

Chaos and Noise are ubiquitous in the Brain. Inspired by the chaotic fir...
research
05/29/2015

Fast Computation of PERCLOS and Saccadic Ratio

This thesis describes the development of fast algorithms for the computa...
research
04/08/2013

Solving Linear Equations by Classical Jacobi-SR Based Hybrid Evolutionary Algorithm with Uniform Adaptation Technique

Solving a set of simultaneous linear equations is probably the most impo...
research
06/19/2019

On the Performance of the Spatial Reuse Operation in IEEE 802.11ax WLANs

The Spatial Reuse (SR) operation included in the IEEE 802.11ax-2020 (11a...

Please sign up or login with your details

Forgot password? Click here to reset