STOCHASTIC ROUNDING VARIANCE AND PROBABILISTIC BOUNDS: A NEW APPROACH - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2022

STOCHASTIC ROUNDING VARIANCE AND PROBABILISTIC BOUNDS: A NEW APPROACH

Résumé

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.
Fichier principal
Vignette du fichier
main.pdf (575.23 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03722888 , version 1 (20-07-2022)
hal-03722888 , version 2 (21-12-2022)
hal-03722888 , version 3 (05-06-2023)

Identifiants

  • HAL Id : hal-03722888 , version 2

Citer

El-Mehdi El Arar, Devan Sohier, Pablo de Oliveira Castro, Eric Petit. STOCHASTIC ROUNDING VARIANCE AND PROBABILISTIC BOUNDS: A NEW APPROACH. 2022. ⟨hal-03722888v2⟩

Collections

INSMI TDS-MACS
189 Consultations
137 Téléchargements

Partager

Gmail Facebook X LinkedIn More