Error Analysis of Sum-Product Algorithms under Stochastic Rounding
Pablo de Oliveira Castro (LI-PaRAD, UVSQ), El-Mehdi El Arar (TARAN), Eric Petit, Devan Sohier (LI-PaRAD, UVSQ)

TL;DR
This paper introduces a general probabilistic error analysis method for algorithms under stochastic rounding, providing tighter bounds and applying it to various algorithms including polynomial multiplication.
Contribution
It develops a universal martingale construction technique for multi-linear computations and extends stochastic rounding error bounds to new algorithms like Karatsuba multiplication.
Findings
Error bounds are probabilistic and tighter than worst-case bounds.
The method applies to algorithms with reused intermediate computations.
It successfully analyzes Karatsuba polynomial multiplication.
Abstract
The quality of numerical computations can be measured through their forward error, for which finding good error bounds is challenging in general. For several algorithms and using stochastic rounding (SR), probabilistic analysis has been shown to be an effective alternative for obtaining tight error bounds. This analysis considers the distribution of errors and evaluates the algorithm's performance on average. Using martingales and the Azuma-Hoeffding inequality, it provides error bounds that are valid with a certain probability and in O(\sqrtnu) instead of deterministic worst-case bounds in O(nu), where n is the number of operations and u is the unit roundoff. In this paper, we present a general method that automatically constructs a martingale for any computation scheme with multi-linear errors based on additions, subtractions, and multiplications. We apply this generalization to…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsScheduling and Optimization Algorithms · Numerical Methods and Algorithms
