Triangular Factorization and Inversion by Fast Matrix Multiplication

James R. Bunch, John E. HopcroftMathematics 1974

Abstract: The fast matrix multiplication algorithm by Strassen is used to obtain the triangular factorization of a permutation of any nonsingular matrix of order $n$ in $< C_1 n^{\log_2 7}$ operations, and, hence, the inverse of any nonsingular matrix in $< C_2 n^{\log_2 7}$ operations.

Introduction

In 1969, Volker Strassen revolutionized computational linear algebra by demonstrating that matrices could be multiplied in $O(n^{2.81})$ operations, challenging the long-held $O(n^3)$ standard. While Strassen proposed a method for matrix inversion, it relied on a block LDU factorization that failed if any intermediate principal submatrix was singular. Consequently, his inversion method was only reliably applicable to specific classes of matrices, such as symmetric positive definite ones.

This paper by Bunch and Hopcroft addresses this limitation, showing how to maintain Strassen's sub-cubic complexity while handling any nonsingular matrix. The key innovation is the integration of pivoting—interchanging rows or columns to avoid zeros—into the recursive, block-based structure required by fast multiplication algorithms.

Recursive Block Factorization and Pivoting

The authors develop a recursive algorithm that computes the LU decomposition of a permutation of a matrix ($MP^{-1} = LU$). The process involves dividing the matrix into quadrants and recursively factorizing the top-left block, using those results to update the remaining blocks via fast multiplication, and then recursively factorizing the resulting Schur complement.

The partitioned matrix $M^i$ used in the recursive factorization step.

As shown in Figure 2, the matrix $M^i$ is partitioned into specific sub-blocks ($U^i, V^i, E^i, F^i, J^i, X^i, Y^i$). Unlike standard Gaussian elimination, which pivots element-by-element, this algorithm identifies a sequence of permutation matrices ($P^i$) that ensure the sub-blocks encountered during recursion remain nonsingular.

The structure of the lower triangular factor $L^i$ at a specific recursive stage.

Figure 1 illustrates the structure of the resulting lower triangular factor $L^i$ at a given stage of the recursion. By performing the "heavy lifting" of the computation—multiplying these intermediate sub-blocks—using Strassen’s $O(n^{\log_2 7})$ method, the authors maintain the asymptotic speedup across the entire factorization process.

Complexity and Key Results

The paper reinforces the principle of computational equivalence: matrix multiplication, inversion, and triangular factorization all reside in the same complexity class. If multiplication can be performed in $O(n^\alpha)$, inversion can be as well.

Through rigorous operation counting, the authors provide specific upper bounds for matrices of order $n = 2^k$:

  • Triangular Factorization: Can be achieved in $< 2.45 n^{\log_2 7}$ operations.
  • Matrix Inversion: Can be achieved in $< 6.84 n^{\log_2 7}$ operations.

For comparison, the standard $O(n^3)$ method for inversion requires $2n^3$ operations. The authors calculate that their fast method becomes theoretically more efficient than the standard method when $n \gtrsim 43,340$, a size far beyond the capabilities of 1974 hardware.

Numerical Stability and Limitations

A significant caveat of this approach is numerical stability. Because Strassen-based methods do not pivot based on the magnitude of elements (only to avoid exact zeros), the elements in the reduced matrices can grow very large, potentially leading to significant precision errors. While the algorithm is a theoretical milestone, the authors acknowledge that finding a modification that guarantees numerical stability remains a vital direction for future research.

Summary updated

BibTeX
@inproceedings{bunch1974triangular,
  author = {James R. Bunch and John E. Hopcroft},
  title = {{Triangular Factorization and Inversion by Fast Matrix Multiplication}},
  booktitle = {Mathematics},
  year = {1974},
  doi = {10.2307/2005828},
}
Figure