Sharper Probabilistic Backward Error Analysis for Basic Linear Algebra Kernels with Random Data - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2020

Sharper Probabilistic Backward Error Analysis for Basic Linear Algebra Kernels with Random Data

Résumé

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

Dates et versions

hal-02446954 , version 1 (21-01-2020)
hal-02446954 , version 2 (02-08-2020)
hal-02446954 , version 3 (07-06-2021)

Identifiants

  • HAL Id : hal-02446954 , version 1

Citer

Nicholas J Higham, Théo Mary. Sharper Probabilistic Backward Error Analysis for Basic Linear Algebra Kernels with Random Data. 2020. ⟨hal-02446954v1⟩
135 Consultations
227 Téléchargements

Partager

Gmail Facebook X LinkedIn More