next up previous contents index
Next: Restarting the Arnoldi Method Up: The Implicitly Restarted Arnoldi Previous: Krylov Subspaces and Projection

The Arnoldi Factorization

Definition : If then a relation   of the form

where has orthonormal columns, and is upper Hessenberg with non-negative subdiagonal elements is called   a k-step Arnoldi Factorization of If ${\bf A}$ is Hermitian then is real, symmetric and tridiagonal and the relation is called a k-step Lanczos Factorization of The columns   of are referred to as the Arnoldi vectors   or Lanczos vectors  , respectively.


The preceding development of this factorization has been purely through the consequences of the orthogonal projection imposed by the Galerkin conditions. (A more straightforward but less illuminating derivation is to equate the first k columns of the Hessenberg decomposition   )An alternative way to write this factorization is

This factorization may be used to obtain approximate solutions to a linear system if and this underlies the GMRES  method [41]. However, the purpose here is to investigate the use of this factorization to obtain approximate eigenvalues and eigenvectors. The discussion of the previous section implies that Ritz pairs satisfying the Galerkin condition are immediately available from the eigenpairs of the small projected matrix

If then the vector satisfies

The number is called the Ritz estimate for the   the Ritz pair as an approximate eigenpair for Observe that if is a Ritz pair then

is a Rayleigh quotient   (assuming ) and the associated Rayleigh quotient residual satisfies

  When ${\bf A}$ is Hermitian, this relation may be used to provide computable rigorous bounds on the accuracy of the eigenvalues of as approximations to eigenvalues [36] of When ${\bf A}$ is non-Hermitian the possibility of non-normality precludes such bounds and one can only say that the Rayleigh Quotient residual is small if is small without further information. However, in either case, if these Ritz pairs become exact eigenpairs of

The k-step factorization may be advanced one step at the cost of a (sparse) matrix-vector product involving ${\bf A}$ and two dense matrix vector products involving and The explicit steps needed to form a k-Step Arnoldi factorization are listed in Algorithm 2 shown in Figure 4.3. In exact arithmetic, the columns of form an orthonormal basis for the Krylov subspace and is the orthogonal projection of ${\bf A}$ onto this space. In finite precision arithmetic, care must be taken to assure that the computed vectors are orthogonal to working precision. The method proposed by Daniel, Gragg, Kaufman and Stewart (DGKS)  in [9] provides an excellent way to construct a vector that       is numerically orthogonal to . It amounts to computing a correction

just after Step (a2.4) if necessary. A simple test is used to avoid this DGKS correction   if it is not needed.


  
Input: ( ${\bf A},{\bf v}_1 $)

Put ${\bf v}_1 = {\bf v}/ \Vert {\bf v}_1 \Vert$; ${\bf w} = {\bf A} {\bf v}_1$; $\alpha_1 = {\bf v}_1^H {\bf w}$;

Put ${\bf f}_1 \la {\bf w} - {\bf v}_1 \alpha_1$; ${\bf V}_1 \leftarrow ({\bf v}_1)$; ${\bf H}_1 \leftarrow
(\alpha_1)$;
For $j=1,2,3,...k-1$,

    (a2.1) $\beta_j = \Vert {\bf f}_j \Vert$; ${\bf v}_{j+1} \leftarrow {\bf f}_j/{\beta_j
} $;
    (a2.2) $ {\bf V}_{j+1} \leftarrow
({\bf V}_j, {\bf v}_{j+1})$; $ \hat{\bf H}_j \leftarrow \left(
\begin{array}{c}
{\bf H}_j \\
\beta_j {\bf e}{\bf e}_j^T
\end{array} \right); \nonumber $

    (a2.3) ${\bf w} \leftarrow {\bf A} {\bf v}_{j+1} $;
    (a2.4) ${\bf h} \leftarrow {\bf V}_{j+1}^H {\bf w}; $ ${\bf f}_{j+1} \leftarrow {\bf w} - {\bf V}_{j+1} {\bf h}; $
    (a2.5) ${\bf H}_{j+1} \leftarrow (\hat{\bf H}_j, {\bf h}); $

End_For
Figure 4.3: Algorithm 2: The k-Step Arnoldi Factorization

The dense matrix-vector products at Step (a2.4) and also the correction may be accomplished using Level 2 BLAS. This is important for performance on vector, and parallel-vector supercomputers. The Level 2 BLAS operation _GEMV is easily parallelized and vectorized and has a much better ratio of floating point computation to data movement [11,12] than the Level 1 BLAS operations.

The information obtained through this process is completely determined by the choice of the starting vector. Eigen-information of interest may not appear until k gets very large. In this case it becomes intractable to maintain numerical orthogonality of the basis vectors . Moreover, extensive storage will be required and repeatedly finding the eigensystem of will become prohibitive at a cost of flops.

Failure to maintain orthogonality leads to several numerical difficulties. In a certain sense, the computation (or approximation) of the projection indicated at Step (a2.4) in a way that overcomes these difficulties has been the main source of research activity for the Lanczos method. Paige [35] showed that the loss of orthogonality  occurs precisely when an eigenvalue of is close to an eigenvalue of In fact, the Lanczos vectors lose orthogonality in the direction of the associated approximate eigenvector. Moreover, failure to maintain orthogonality results in spurious copies of the approximate eigenvalue produced by the Lanczos method. Implementations based on selective and partial orthogonalization [18,38,43] monitor the loss of orthogonality and perform additional orthogonalization steps only when necessary. The approaches given in [8,7,37] use only the three term recurrence  with no additional orthogonalization steps. These strategies determine whether multiple eigenvalues produced by the Lanczos method are spurious or correspond to true multiple eigenvalue of     However, these approaches do not generate eigenvectors directly. Additional computation is required if eigenvectors are needed and this amounts to re-generating the basis vectors with the Lanczos process.

A related numerical difficulty associated with failure to maintain orthogonality stems from the fact that if and only if the columns of span an invariant subspace of When ``nearly'' spans such a subspace, should be small. Typically, in this situation, a loss of significant digits will take place at Step (a2.4) through numerical cancellation unless special care is taken (i.e. use of the DGKS correction).

Understanding this difficulty and overcoming it is essential for the IRA iteration which is designed to drive to . It is desirable for to become small because this indicates that the eigenvalues of are the eigenvalues of a slightly perturbed matrix that is near to This is easily seen from a re-arrangement of the Arnoldi relation:

where . Hence, is an invariant subspace for the perturbed matrix with Thus, the eigenvalues of will be accurate approximations to the eigenvalues of ${\bf A}$ if the approximated eigenvalues are insensitive to perturbations (i.e. well conditioned). However, this ``convergence'' may well lead to loss of numerical orthogonality in the updated basis unless care is taken to avoid this. Moreover, if subsequent Arnoldi vectors are not forced to be orthogonal to the converged ones, then components along these converged directions re-enter the basis via round-off effects and quickly cause a spurious copy of the previously computed eigenvalue to appear in the spectrum of the projected matrix Repetition of this phenomenon can cause several spurious approximations to the same eigenvalue to occur.


next up previous contents index
Next: Restarting the Arnoldi Method Up: The Implicitly Restarted Arnoldi Previous: Krylov Subspaces and Projection
Chao Yang
11/7/1997