Stochastic Rounding Variance and Probabilistic Bounds: A New Approach
From MaRDI portal
Publication:6050996
DOI10.1137/22M1510819zbMATH Open1523.65044arXiv2207.10321OpenAlexW4312139863MaRDI QIDQ6050996FDOQ6050996
Authors: Devan Sohier, Pablo de Oliveira Castro, Eric Petit
Publication date: 12 October 2023
Published in: SIAM Journal on Scientific Computing (Search for Journal in Brave)
Abstract: 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{'e}-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.
Full work available at URL: https://arxiv.org/abs/2207.10321
Recommendations
concentration inequalityinner productfloating-point arithmeticpolynomial evaluationHorner algorithmstochastic rounding
Cites Work
- CADNA: a library for estimating round-off error propagation
- Title not available (Why is that?)
- Accuracy and Stability of Numerical Algorithms
- Probability and Computing
- Numerical inverting of matrices of high order
- Title not available (Why is that?)
- A New Approach to Probabilistic Rounding Error Analysis
- Probabilistic Error Analysis for Inner Products
- Confidence Intervals for Stochastic Arithmetic
- Stochastic Rounding and Its Probabilistic Backward Error Analysis
- Stochastic rounding and reduced-precision fixed-point arithmetic for solving neural ordinary differential equations
- Effects of round-to-nearest and stochastic rounding in the numerical solution of the heat equation in low precision
Cited In (4)
- Rounding probabilities: Maximum probability and minimum complexity multipliers
- Bounds on nonlinear errors for variance computation with stochastic rounding
- Rounding of continuous random variables and oscillatory asymptotics
- An optimal (ϵ,δ)‐randomized approximation scheme for the mean of random variables with bounded relative variance
This page was built for publication: Stochastic Rounding Variance and Probabilistic Bounds: A New Approach
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q6050996)