Abstract
Standard backward error analyses for numerical linear algebra algorithms provide worst-case bounds that can significantly overestimate the backward error. Our recent probabilistic error analysis, which assumes rounding errors to be independent random variables [SIAM J. Sci. Comput., 41 (2019), pp. A2815--A2835], contains smaller constants but its bounds can still be pessimistic. We perform a new probabilistic error analysis that assumes both the data and the rounding errors to be random variables and assumes only mean independence. We prove that for data with zero or small mean we can relax the existing probabilistic bounds of order $\sqrt{n}\mkern1muu$ to much sharper bounds of order $u$, which are independent of $n$. Our fundamental result is for summation and we use it to derive results for inner products, matrix--vector products, and matrix--matrix products. The analysis answers the open question of why random data distributed on $[-1,1]$ leads to smaller error growth for these kernels than random data distributed on [0,1]. We also propose a new algorithm for multiplying two matrices that transforms the rows of the first matrix to have zero mean and we show that it can achieve significantly more accurate results than standard matrix multiplication.
Highlights
The main purpose of a rounding error analysis is to determine whether an algorithm is numerically stable and, if it is not, to reveal the possible causes of instability
Our analysis shows that when the data has very small mean, such as for [ - 1, 1] uniformly sam\spurd led numbers, the probabilistic backward error bound for summation is reduced from nu to cu, where c is moderate constant independent of n
We reach the same conclusions regarding the backward error for computing matrix-vector products as for inner products, the only difference being that the probability of failure of the bound is l\asurdr ger by a factor m
Summary
The main purpose of a rounding error analysis is to determine whether an algorithm is numerically stable and, if it is not, to reveal the possible causes of instability. \delta n produced by the computation are random variables of mean zero and, for all k, the \delta k are mean independent of the previous rounding errors and of the data, in the sense that
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.