A New Analysis of Iterative Refinement and Its Application to Accurate Solution of Ill-Conditioned Sparse Linear Systems

Iterative refinement is a long-standing technique for improving the accuracy of a computed solution to a nonsingular linear system $Ax = b$ obtained via LU factorization. It makes use of residuals computed in extra precision, typically at twice the working precision, and existing results guarantee convergence if the matrix $A$ has condition number safely less than the reciprocal of the unit roundoff, $u$. We identify a mechanism that allows iterative refinement to produce solutions with normwise relative error of order $u$ to systems with condition numbers of order $u^{-1}$ or larger, provided that the update equation is solved with a relative error sufficiently less than $1$. A new rounding error analysis is given and its implications are analyzed. Building on the analysis, we develop a GMRES-based iterative refinement method (GMRES-IR) that makes use of the computed LU factors as preconditioners. GMRES-IR exploits the fact that even if $A$ is extremely ill conditioned the LU factors contain enough information that preconditioning can greatly reduce the condition number of $A$. Our rounding error analysis and numerical experiments show that GMRES-IR can succeed where standard refinement fails, and that it can provide accurate solutions to systems with condition numbers of order $u^{-1}$ and greater. Indeed in our experiments with such matrices---both random and from the University of Florida Sparse Matrix Collection---GMRES-IR yields a normwise relative error of order $u$ in at most $3$ steps in every case.

[1]  Jennifer A. Scott,et al.  A fast and robust mixed-precision solver for the solution of sparse symmetric linear systems , 2010, TOMS.

[2]  IAIN S. DUFF,et al.  Towards Stable Mixed Pivoting Strategies for the Sequential and Parallel Solution of Sparse Symmetric Indefinite Systems , 2007, SIAM J. Matrix Anal. Appl..

[3]  M. Saunders,et al.  Solving Multiscale Linear Programs Using the Simplex Method in Quadruple Precision , 2015 .

[4]  H. Walker Implementation of the GMRES method using householder transformations , 1988 .

[5]  Serge Gratton,et al.  A Note on GMRES Preconditioned by a Perturbed L D LT Decomposition with Static Pivoting , 2007, SIAM J. Sci. Comput..

[6]  R. Skeel Iterative refinement implies numerical stability for Gaussian elimination , 1980 .

[7]  Ronan M. T. Fleming,et al.  Reliable and efficient solution of genome-scale models of Metabolism and macromolecular Expression , 2016, Scientific Reports.

[8]  Takeshi Ogita Accurate Matrix Factorization: Inverse LU and Inverse QR Factorizations , 2010, SIAM J. Matrix Anal. Appl..

[9]  James Demmel,et al.  Error bounds from extra-precise iterative refinement , 2006, TOMS.

[10]  N. Higham Iterative refinement for linear systems and LAPACK , 1997 .

[11]  Miroslav Rozlozník,et al.  Modified Gram-Schmidt (MGS), Least Squares, and Backward Stability of MGS-GMRES , 2006, SIAM J. Matrix Anal. Appl..

[12]  Siegfried M. Rump,et al.  Inversion of extremely Ill-conditioned matrices in floating-point , 2009 .

[13]  Pritish Narayanan,et al.  Deep Learning with Limited Numerical Precision , 2015, ICML.

[14]  James Demmel,et al.  Making Sparse Gaussian Elimination Scalable by Static Pivoting , 1998, Proceedings of the IEEE/ACM SC98 Conference.

[15]  Y. Saad,et al.  GMRES: a generalized minimal residual algorithm for solving nonsymmetric linear systems , 1986 .

[16]  Kathryn Turner,et al.  Efficient High Accuracy Solutions with GMRES(m) , 1992, SIAM J. Sci. Comput..

[17]  Ronan M. T. Fleming,et al.  Quadruple-precision solution of genome-scale models of Metabolism and macromolecular Expression , 2016, 1606.00054.

[18]  Siegfried M. Rump,et al.  Iterative refinement for ill-conditioned linear systems , 2009 .

[19]  Scott A. Sarra,et al.  Radial basis function approximation methods with extended precision floating point arithmetic , 2011 .

[20]  Chris H. Q. Ding,et al.  Using Accurate Arithmetics to Improve Numerical Reproducibility and Stability in Parallel Applications , 2000, ICS '00.

[21]  Iain S. Duff,et al.  MA57---a code for the solution of sparse symmetric definite and indefinite systems , 2004, TOMS.

[22]  Yuka Kobayashi,et al.  A fast and efficient algorithm for solving ill-conditioned linear systems , 2015, JSIAM Lett..

[23]  T. Palmer,et al.  More reliable forecasts with less precise computations: a fast-track route to cloud-resolved weather and climate simulators? , 2014, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences.

[24]  Mei Han An,et al.  accuracy and stability of numerical algorithms , 1991 .

[25]  Yousef Saad,et al.  A Flexible Inner-Outer Preconditioned GMRES Algorithm , 1993, SIAM J. Sci. Comput..

[26]  I. Duff,et al.  Using FGMRES to obtain backward stability in mixed precision , 2008 .

[27]  Siegfried M. Rump Approximate inverses of almost singular matrices still contain useful information , 1990 .

[28]  Carlo Janna,et al.  Parallel solution to ill‐conditioned FE geomechanical problems , 2012 .

[29]  Nicholas J. Higham,et al.  Accelerating the Solution of Linear Systems by Iterative Refinement in Three Precisions , 2018, SIAM J. Sci. Comput..

[30]  Timothy A. Davis,et al.  The university of Florida sparse matrix collection , 2011, TOMS.

[31]  Gleb Beliakov,et al.  A parallel algorithm for calculation of determinants and minors using arbitrary precision arithmetic , 2016 .

[32]  Yuka Kobayashi,et al.  Accurate and efficient algorithm for solving ill-conditioned linear systems by preconditioning methods , 2016 .

[33]  Jonathan M. Borwein,et al.  High-precision arithmetic in mathematical physics , 2015 .

[34]  M. Arioli,et al.  Roundoff error analysis of algorithms based on Krylov subspace methods , 1996 .