Probabilistic error analysis of limited-precision stochastic rounding
El-Mehdi El Arar (TARAN), Massimiliano Fasi, Silviu-Ioan Filip, (TARAN), Mantas Mikaitis

TL;DR
This paper analyzes how limited-precision stochastic rounding, constrained by finite random bits, introduces bias in floating-point computations and develops a probabilistic error model that reflects practical hardware implementations.
Contribution
It introduces limited-precision stochastic rounding, models its bias depending on random bits, and provides a probabilistic error analysis aligned with real hardware constraints.
Findings
Limited-precision SR is biased, with bias depending on random bits used.
As the number of random bits increases, bias diminishes and converges to ideal SR.
Numerical examples confirm the theoretical bias and error bounds.
Abstract
Classical probabilistic rounding error analysis is particularly well suited to stochastic rounding (SR), and it yields strong results when dealing with floating-point algorithms that rely heavily on summation. For many numerical linear algebra algorithms, one can prove probabilistic error bounds that grow as O(nu), where n is the problem size and u is the unit roundoff. These probabilistic bounds are asymptotically tighter than the worst-case ones, which grow as O(nu). For certain classes of algorithms, SR has been shown to be unbiased. However, all these results were derived under the assumption that SR is implemented exactly, which typically requires a number of random bits that is too large to be suitable for practical implementations. We investigate the effect of the number of random bits on the probabilistic rounding error analysis of SR. To this end, we introduce a new rounding…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
