Skip to main content
QUICK REVIEW

[Paper Review] Gaussian Elimination with Randomized Complete Pivoting

Christopher Melgaard, Ming Gu|arXiv (Cornell University)|Nov 26, 2015
Matrix Theory and AlgorithmsComputer Science9 references3 citations
TL;DR

This paper proposes Gaussian Elimination with Randomized Complete Pivoting (GERCP), a novel algorithm that combines the numerical stability of complete pivoting with the computational efficiency of partial pivoting. By using randomization to select column pivots, GERCP achieves element growth bounds similar to complete pivoting with only a marginal increase in cost, outperforming GEPP in stability while remaining nearly as fast.

ABSTRACT

Gaussian elimination with partial pivoting (GEPP) has long been among the most widely used methods for computing the LU factorization of a given matrix. However, this method is also known to fail for matrices that induce large element growth during the factorization process. In this paper, we propose a new scheme, Gaussian elimination with randomized complete pivoting (GERCP) for the efficient and reliable LU factorization of a given matrix. GERCP satisfies GECP (Gaussian elimination with complete pivoting) style element growth bounds with high probability, yet costs only marginally higher than GEPP. Our numerical experimental results strongly suggest that GERCP is as reliable as GECP and as efficient as GEPP for computing the LU factorization.

Motivation & Objective

  • To address the numerical instability of Gaussian Elimination with Partial Pivoting (GEPP) on ill-conditioned matrices that cause large element growth.
  • To develop a method that achieves the stability of Gaussian Elimination with Complete Pivoting (GECP) without its high computational cost.
  • To design a pivoting strategy that ensures sub-exponential element growth with high probability, using randomization to reduce computational overhead.
  • To provide a practical alternative to GEPP that maintains high accuracy across diverse matrix types, including pathological cases like Wilkinson and Volterra matrices.

Proposed method

  • GERCP uses randomization to select column pivots during each elimination stage, replacing deterministic complete pivoting with a randomized selection that maintains stability.
  • The algorithm performs row and column swaps based on the largest entry in a randomly sampled subset of columns, reducing the need for exhaustive search.
  • It maintains the LU factorization structure by overwriting the input matrix, storing L with unit diagonal and U in the upper triangular part.
  • The method introduces a sampling parameter r > 0 to control the size of the random subset used in pivot selection, balancing accuracy and cost.
  • GERCP is designed to limit element growth to sub-exponential levels with high probability, mirroring the theoretical bounds of GECP.
  • The algorithm is implemented in Fortran and tested on standard test matrices and random systems to evaluate stability and performance.

Experimental results

Research questions

  • RQ1Can randomization be used to achieve the stability of complete pivoting while retaining the efficiency of partial pivoting in LU factorization?
  • RQ2Does GERCP control element growth to sub-exponential levels with high probability, even for matrices that cause catastrophic growth in GEPP?
  • RQ3How does GERCP compare to GEPP, GECP, and rook pivoting in terms of backward error and element growth on ill-conditioned matrices?
  • RQ4What is the impact of the sampling parameter r on the stability and performance of GERCP?
  • RQ5Can GERCP provide a practical, reliable, and efficient alternative to existing LU factorization methods in high-performance computing environments?

Key findings

  • GERCP achieves backward error levels nearly as low as GECP, significantly improving upon GEPP on ill-conditioned matrices like the Wilkinson and Volterra matrices.
  • For random standard normal matrices, GERCP reduces the relative residual by approximately half compared to GEPP, approaching the accuracy of GECP.
  • Element growth in GERCP remains bounded and sub-exponential, with average growth factors close to those of GECP, even for large n.
  • The method maintains high performance, with computational cost only slightly higher than GEPP, making it suitable for large-scale problems.
  • Numerical experiments show that GERCP effectively prevents catastrophic element growth in matrices where GEPP fails, such as those with exponential growth patterns.
  • GERCP outperforms rook pivoting (GERP) and GE2CP in both stability and consistency, particularly on matrices with passive-aggressive growth.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.