Hybrid Architectures Combining Direct and Iterative Methods for Sparse Matrices

On This Page

Large-scale sparse linear systems $Ax=b$ often arise from the discretization of partial differential equations, network analysis, structural mechanics, and optimization. Matrix sizes can reach millions or even billions, yet non-zero entries occupy only a tiny fraction. Direct methods, centered on LU or Cholesky factorization, and iterative methods, centered on Krylov subspaces, are not simply alternatives; rather, hybrid solution architectures leverage direct methods for problems they excel at—local, difficult, or coarse-grained tasks—while assigning iterative methods global, scalable matrix-vector products and convergence control.
Sparse direct methods involve reordering, symbolic factorization, and numerical factorization. Reordering techniques such as AMD or nested dissection aim to minimize fill-in. Fill-in refers to zero positions becoming non-zero during elimination. For two-dimensional grids, the complexity of Cholesky factorization under nested dissection is approximately $\mathcal{O}(n^{3/2})$, while for three-dimensional grids it is approximately $\mathcal{O}(n^2)$, with memory also growing with fill-in. Advantages of direct methods include robustness for ill-conditioned, non-symmetric, and multiple right-hand-side problems, as well as the ability to reuse the factorization. Disadvantages include uncontrolled memory and computational costs due to fill-in, as well as complex parallel communication. Therefore, direct methods are suitable for subdomains, coarse grids, small-scale Schur complements, or as strong preconditioners.

Spectral Behavior and Preconditioning of Iterative Methods

Krylov methods include CG, GMRES, and BiCGSTAB. CG is used for symmetric positive-definite systems, while GMRES is used for non-symmetric systems. Convergence speed depends on $\kappa(A)$ and the eigenvalue distribution. Preconditioning transforms $Ax=b$ into $M^{-1}Ax=M^{-1}b$, aiming for $M^{-1}A$ to be close to the identity matrix. Common preconditioners include Jacobi, SSOR, ILU, and algebraic multigrid. Iterative methods require only a sparse matrix-vector product per step, consuming approximately $\mathcal{O}(\mathrm{nnz}(A))$ memory and exhibiting good scalability. However, weak preconditioners may cause stagnation, while strong preconditioners can approach the cost of direct methods. This is precisely where hybrid architectures come in.

Coupling Strategies for Hybrid Architectures

There are three common coupling strategies. First, direct methods as preconditioner subroutines: perform incomplete LU or exact subdomain factorization on the matrix, solving $M z = r$ in each Krylov outer iteration. Second, domain decomposition: partition the global domain into subdomains, solving within subdomains using direct methods and treating interface unknowns via iterative methods or Schur complement iterations. Third, multigrid and AMG: coarse grids are small enough to solve directly, while fine grids use smoothing iterations. Iterative refinement also applies: first obtain an approximate solution via direct factorization, then correct it iteratively. Block elimination can be written as $S = C - F B^{-1} E$, where $B$ is handled by direct methods and equations on $S$ are solved by Krylov methods. This way, direct methods face only $B$, while iterative methods face only the interface or Schur complement, complementing each other's strengths.

Sign in to read the full article

Sign in to read the full article for free