Incomplete LU factorization: Difference between revisions

Content deleted Content added
No edit summary
Adding local short description: "Concept in numerical linear algebra", overriding Wikidata description "sparse approximation of the LU factorization often used as a preconditioner"
 
(29 intermediate revisions by 22 users not shown)
Line 1:
{{Short description|Concept in numerical linear algebra}}
'''Incomplete LU factorization''' is an incomplete [[LU factorization]].
In [[numerical linear algebra]], an '''incomplete LU factorization''' (abbreviated as '''ILU''') of a [[matrix (mathematics)|matrix]] is a [[sparse matrix|sparse]] approximation of the [[LU factorization]] often used as a [[preconditioner]].
 
== Introduction ==
Consider a sparse linear system <math>Ax = b</math>. These are often solved by computing the factorization <math>A = LU</math>, with ''L'' [[Triangular_matrix#Unitriangular_matrix|lower unitriangular]] and ''U'' [[Triangular_matrix|upper triangular]].
One then solves <math>Ly = b</math>, <math>Ux = y</math>, which can be done efficiently because the matrices are triangular.
 
For a typical sparse matrix, the LU factors can be much less sparse than the original matrix &mdash; a phenomenon called ''fill-in''.
The memory requirements for using a direct solver can then become a bottleneck in solving linear systems. One can combat this problem by using fill-reducing reorderings of the matrix's unknowns, such as the [[Minimum degree algorithm]].
 
An incomplete factorization instead seeks triangular matrices ''L'', ''U'' such that <math>A \approx LU</math> rather than <math>A = LU</math>. Solving for <math>LUx = b</math> can be done quickly but does not yield the exact solution to <math>Ax = b</math>. So, we instead use the matrix <math>M = LU</math> as a preconditioner in another iterative solution algorithm such as the [[conjugate gradient method]] or [[GMRES]].
 
== Definition ==
For a given matrix <math> A \in \R^{n \times n} </math> one defines the graph <math> G(A) </math> as
:<math>
G(A) := \left\lbrace (i,j) \in \N^2 : A_{ij} \neq 0 \right\rbrace \,,
</math>
which is used to define the conditions a ''sparsity pattern'' <math> S </math> needs to fulfill
:<math>
S \subset \left\lbrace 1, \dots , n \right\rbrace^2
\,, \quad
\left\lbrace (i,i) : 1 \leq i \leq n \right\rbrace \subset S
\,, \quad
G(A) \subset S
\,.
</math>
 
A decomposition of the form <math> A = LU - R </math> where the following hold
* <math> L \in \R^{n \times n} </math> is a [[Triangular_matrix#Unitriangular_matrix|lower unitriangular]] matrix
* <math> U \in \R^{n \times n} </math> is an [[Triangular_matrix|upper triangular]] matrix
* <math> L,U </math> are zero outside of the sparsity pattern: <math> L_{ij}=U_{ij}=0 \quad \forall \; (i,j) \notin S </math>
* <math> R \in \R^{n \times n} </math> is zero within the sparsity pattern: <math> R_{ij}=0 \quad \forall \; (i,j) \in S </math>
is called an '''incomplete LU decomposition''' (with respect to the sparsity pattern <math> S </math>).
 
The sparsity pattern of ''L'' and ''U'' is often chosen to be the same as the sparsity pattern of the original matrix ''A''. If the underlying matrix structure can be referenced by pointers instead of copied, the only extra memory required is for the entries of ''L'' and ''U''. This preconditioner is called ILU(0).
 
== Stability ==
Concerning the stability of the ILU the following theorem was proven by Meijerink and van der Vorst.<ref>{{Cite journal|last=Meijerink|first=J. A.|last2=Vorst|first2=Van Der|last3=A|first3=H.|date=1977|title=An iterative solution method for linear systems of which the coefficient matrix is a symmetric 𝑀-matrix|url=https://www.ams.org/home/page/|journal=Mathematics of Computation|language=en-US|volume=31|issue=137|pages=148–162|doi=10.1090/S0025-5718-1977-0438681-4|issn=0025-5718|doi-access=free}}</ref>
 
Let <math> A </math> be an [[M-matrix]], the (complete) LU decomposition given by <math> A=\hat{L} \hat{U} </math>, and the ILU by <math> A=LU-R </math>.
Then
:<math>
|L_{ij}| \leq |\hat{L}_{ij}|
\quad \forall \; i,j
</math>
holds.
Thus, the ILU is at least as stable as the (complete) LU decomposition.
 
== Generalizations ==
One can obtain a more accurate preconditioner by allowing some level of extra fill in the factorization. A common choice is to use the sparsity pattern of ''A<sup>2</sup>'' instead of ''A''; this matrix is appreciably more dense than ''A'', but still sparse over all. This preconditioner is called ILU(1). One can then generalize this procedure; the ILU(k) preconditioner of a matrix ''A'' is the incomplete LU factorization with the sparsity pattern of the matrix ''A<sup>k+1</sup>''.
 
More accurate ILU preconditioners require more memory, to such an extent that eventually the running time of the algorithm increases even though the total number of iterations decreases. Consequently, there is a cost/accuracy trade-off that users must evaluate, typically on a case-by-case basis depending on the family of linear systems to be solved.
 
An approximation to the ILU factorization can be performed as a [[fixed-point iteration]] in a highly parallel way.<ref>{{cite journal|last1=Chow|first1=Edmond|last2=Patel|first2=Aftab|title=Fine-grained parallel incomplete LU factorization|journal=SIAM Journal on Scientific Computing|date=2015|volume=37|issue=2|page=C169-C193|ref=iterativeILU|doi=10.1137/140968896}}</ref>
 
== See also ==
* [[Incomplete Cholesky factorization]]
 
==References==
* {{Citation | last1=Saad | first1=Yousef | authorlink=Yousef Saad |title=Iterative methods for sparse linear systems | publisher=PWS | ___location=Boston | edition=1st | isbn=978-0-534-94776-7 | year=1996}}. See Section 10.3 and further.
<references />
 
 
==External links==
* [http://www.cfd-online.com/Wiki/Incomplete_LU_factorization_-_ILU Incomplete LU Factorization on CFD Wiki]
 
{{algebramathapplied-stub}}
 
{{engineering-stub}}
{{Numerical linear algebra}}
 
[[Category:Numerical linear algebra]]
[[de:ILU-Zerlegung]]