Skip to main content
QUICK REVIEW

[Paper Review] An Introduction to Krylov Subspace Methods

Shitao Fan|arXiv (Cornell University)|Nov 22, 2018
Matrix Theory and AlgorithmsComputer Science3 citations
TL;DR

This paper provides a non-technical introduction to Krylov subspace methods for solving large, sparse linear systems, emphasizing GMRES and CG algorithms. It explains how these iterative methods reduce computational cost by projecting the problem onto a low-dimensional Krylov subspace, with key improvements via preconditioning and restarting to enhance convergence and reduce memory usage.

ABSTRACT

Nowadays, many fields of study are have to deal with large and sparse data matrixes, but the most important issue is finding the inverse of these matrixes. Thankfully, Krylov subspace methods can be used in solving these types of problem. However, it is difficult to understand mathematical principles behind these methods. In the first part of the article, Krylov methods are discussed in detail. Thus, readers equipped with a basic knowledge of linear algebra should be able to understand these methods. In this part, the knowledge of Krylov methods are put into some examples for simple implementations of a commonly known Krylov method GMRES. In the second part, the article talks about CG iteration, a wildly known method which is very similar to Krylov methods. By comparison between CG iteration and Krylov methods, readers can get a better comprehension of Krylov methods based on CG iteration. In the third part of the article, aiming to improve the efficiency of Krylov methods, preconditioners are discussed. In addition, the restarting GMRES is briefly introduced to reduce the space consumption of Krylov methods in this part.

Motivation & Objective

  • To provide an accessible, intuitive understanding of Krylov subspace methods for researchers with basic linear algebra knowledge.
  • To demonstrate the practical implementation of GMRES through a simple code example and algorithmic steps.
  • To compare CG and GMRES methods to clarify conceptual differences and similarities.
  • To explain the role and impact of preconditioners in accelerating convergence of Krylov methods.
  • To introduce restarting strategies in GMRES to manage memory consumption in large-scale problems.

Proposed method

  • Uses Arnoldi's method to construct an orthonormal basis for the Krylov subspace $\mathcal{K}_m(A, r_0) = \text{span}\{r_0, Ar_0, \dots, A^{m-1}r_0\}$.
  • Reduces the original large linear system $Ax = b$ to a smaller least-squares problem $\min_y \|H_m y - \beta e_1\|_2$, where $H_m$ is the Hessenberg matrix from Arnoldi iteration.
  • Applies preconditioning by transforming $Ax = b$ into $M^{-1}Ax = M^{-1}b$, improving condition number and accelerating convergence.
  • Employs incomplete LU (ilu) and incomplete Cholesky (icho) factorizations as practical preconditioners for asymmetric and symmetric matrices, respectively.
  • Implements restarting in GMRES by periodically resetting the Krylov subspace basis after a fixed number of iterations to limit memory usage.
  • Uses the GMRES algorithm with a custom implementation in MATLAB-like pseudocode to solve $Ax = b$ iteratively via orthogonalization and residual minimization.

Experimental results

Research questions

  • RQ1How can Krylov subspace methods efficiently solve large, sparse linear systems without explicitly computing $A^{-1}$?
  • RQ2What is the role of the Krylov subspace in reducing the dimensionality of the linear system?
  • RQ3How does preconditioning improve the convergence rate of GMRES and CG methods?
  • RQ4Why is restarting necessary in GMRES, and how does it affect memory and computational efficiency?
  • RQ5What are the key differences between CG and GMRES in terms of convergence behavior and applicability to symmetric vs. nonsymmetric systems?

Key findings

  • Krylov subspace methods reduce the solution of a large linear system to a smaller least-squares problem via projection onto a low-dimensional subspace, significantly lowering computational cost.
  • GMRES convergence is bounded by $\frac{\|r_m\|_2}{\|r_0\|_2} \leq \min_{q \in \mathbb{P}_m} \max_{\lambda \in \Lambda} |q(\lambda)|$, indicating convergence depends on the distribution of eigenvalues of $A$.
  • CG convergence speed is governed by the condition number $\kappa(A)$, with convergence slowing as $\kappa(A) \to 0$ and accelerating as $\kappa(A) \to 1$.
  • Preconditioning transforms the system to improve the condition number of $M^{-1}A$, leading to faster convergence in both GMRES and CG.
  • Incomplete factorization methods like ilu and icho provide effective, low-cost preconditioners with $O(n_A^{3/2})$ complexity, suitable for sparse matrices.
  • Restarting GMRES limits memory usage by periodically resetting the Krylov basis, making it feasible for very large systems despite the growth of $V_m$.

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.