Statistical Rounding Error Analysis for Random Matrix Computations
Yiming Fang, Li Chen
TL;DR
This work replaces deterministic worst-case rounding error bounds with a probabilistic framework for random matrix computations, modeling relative errors as independent random variables bounded by the unit roundoff $u$. By deriving the mean and variance of rounding errors for inner products and extending to matrix-vector, matrix-matrix, and Wishart-related tasks, it provides approximate closed-form expressions that are shown to be two or more orders of magnitude tighter than traditional bounds. The approach is validated through extensive simulations across precisions and input distributions, including specific Wishart settings for ZF detection and LS problems, and demonstrates robust accuracy except in cases with highly dependent inputs where the model breaks down. The results offer tighter, statistically grounded insights into numerical stability for random matrices in wireless, signal processing, and machine learning contexts, potentially guiding algorithm design and precision selection.
Abstract
The conventional rounding error analysis provides worst-case bounds with an associated failure probability and ignores the statistical property of the rounding errors. In this paper, we develop a new statistical rounding error analysis for random matrix computations. Such computations have numerous applications in the field of wireless communications, signal processing, and machine learning. By assuming the relative errors are independent random variables, we derive the approximate closed-form expressions for the expectation and variance of the rounding errors in various key computations for random matrices. Numerical experiments validate the accuracy of our derivations and demonstrate that our analytical expressions are generally at least two orders of magnitude tighter than alternative worst-case bounds, exemplified through the inner products.
