선정목록으로
Preconditioned steepest descent-like methods for symmetric indefinite systems
필름·전자재료 · (16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.1609.05407
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.1609.05407
- 토픽
- Composite Material Mechanics
- OpenAlex ID
- W6929277992
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (16) CPI(투명 폴리이미드)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
This paper addresses the question of what exactly is an analogue of the preconditioned steepest descent (PSD) algorithm in the case of a symmetric indefinite system with an SPD preconditioner. We show that a basic PSD-like scheme for an SPD-preconditioned symmetric indefinite system is mathematically equivalent to the restarted PMINRES, where restarts occur after every two steps. A convergence bound is derived. If certain information on the spectrum of the preconditioned system is available, we present a simpler PSD-like algorithm that performs only one-dimensional residual minimization. Our primary goal is to bridge the theoretical gap between optimal (PMINRES) and PSD-like methods for solving symmetric indefinite systems, as well as point out situations where the PSD-like schemes can be used in practice.
본문 74,117자
본문 펼치기
## Preconditioned steepest descent-like methods for symmetric indefinite systems $
Eugene Vecharynski <sup>_∗_</sup>
_Computational_ _Research_ _Division,_ _Lawrence_ _Berkeley_ _National_ _Laboratory;_ _1_ _Cyclotron_
_Road,_ _Berkeley,_ _CA_ _94720,_ _USA_
Andrew Knyazev
_Mitsubishi_ _Electric_ _Research_ _Laboratories;_ _201_ _Broadway_ _Cambridge,_ _MA_ _02139,_ _USA_
Abstract
This paper addresses the question of what exactly is an analogue of the preconditioned steepest descent (PSD) algorithm in the case of a symmetric indefinite
system with an SPD preconditioner. We show that a basic PSD-like scheme for
an SPD-preconditioned symmetric indefinite system is mathematically equivalent to the restarted PMINRES, where restarts occur after every two steps. A
convergence bound is derived. If certain information on the spectrum of the preconditioned system is available, we present a simpler PSD-like algorithm that
performs only one-dimensional residual minimization. Our primary goal is to
bridge the theoretical gap between optimal (PMINRES) and PSD-like methods
for solving symmetric indefinite systems, as well as point out situations where
the PSD-like schemes can be used in practice.
_Keywords:_ linear system, MINRES, steepest descent, convergence, symmetric
indefinite, preconditioning
_2010_ _MSC:_ 65F10, 65N22, 65Y20
1. Introduction
The Preconditioned Steepest Descent (PSD) iteration is a well known precursor of the optimal Preconditioned Conjugate Gradient (PCG) algorithm for solving Symmetric Positive Definite (SPD) linear systems. Given a system _Ax_ = _f_
$Results are partially based on PhD thesis [23] of the first coauthor.
_∗_ Corresponding author
_Email_ _addresses:_ `eugene.vecharynski@gmail.com` (Eugene Vecharynski),
`Andrew.Knyazev@merl.com` (Andrew Knyazev)
_URL:_ `http://evecharynski.com/` (Eugene Vecharynski),
`http://www.merl.com/people/knyazev` (Andrew Knyazev)
_Preprint_ _submitted_ _to_ _Elsevier_ _November_ _4,_ _2021_
with an SPD matrix _A_ and an SPD preconditioner _T_ the method at each iteration _i_ updates the current approximate solution _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> as
_x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _T_ ( _f_ _−_ _Ax_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _,_ _i_ = 0 _,_ 1 _, . . ._ ; (1)
where the iterative parameter _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> is chosen to ensure that the new approximation _x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> has the smallest, among all vectors of the form _x_ + _αT_ ( _f_ _−_ _Ax_ ),
_A_ -norm of the error _x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _−_ _x_ .
The optimality of PCG stems from its ability to construct approximations _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
that globally minimize the _A_ -norm of the error over an expanding sequence
of Krylov subspaces while relying on a short-term recurrence [4, 11]. In contrast, the PSD iteration (1) is _locally_ optimal, searching for a best approximation _x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> only in a single direction, given by the preconditioned residual
_T_ ( _f_ _−_ _Ax_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ).
The lack of global optimality in PSD leads to a lower convergence rate.
In particular, instead of the asymptotic convergence factor ( <sup>_√_</sup> _<u>κ</u>_ _−_ 1) _/_ ( <sup>_√_</sup> _<u>κ</u>_ + 1),
guaranteed by the optimal PCG, each PSD step is guaranteed to reduce the error
_A_ -norm by the factor ( _κ_ _−_ 1) _/_ ( _κ_ +1), e.g., [4, 11], and the error Euclidean norm
by the factor 1 _−_ 1 _/κ_, see [12], where _κ_ denotes a spectral condition number
of the preconditioned matrix _TA_ . Nevertheless, despite its generally slower
convergence, PSD (and even simpler iterations, such as Jacobi or Gauss-Seidel)
finds its way to practical applications, due to a reduced amount of memory and
computations per iteration [15, 13, 22].
If the matrix _A_ is symmetric _indefinite_, then an optimal analogue of PCG is
given by the preconditioned MINRES (PMINRES) algorithm [16, 8] <sup>1</sup> . Similar
to PCG, PMINRES utilizes a short-term recurrence to achieve optimality with
respect to the expanding sequence of the Krylov subspaces [11, 9]. However,
since _A_ is indefinite, minimization of the error _A_ -norm is no longer feasible.
Instead, PMINRES minimizes the _T_ -norm of the residual _f −_ _Ax_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup>, where _T_
is a given SPD preconditioner.
The symmetry and positive definiteness of the preconditioner is generally
critical for PMINRES. Under this assumption the method is guaranteed to converge, with the convergence bound described in terms of the spectrum
Λ( _TA_ ) = _{λ_ 1 _≤_ _. . . ≤_ _λp_ _≤_ _λp_ +1 _≤_ _. . . ≤_ _λn}_
of the preconditioned matrix _TA_ . In particular, assuming that Λ( _TA_ ) is located
within the union of two equal-sized intervals _I_ = [ _a, b_ ] <sup>�</sup> [ _c, d_ ], where _a_ _≤_ _λ_ 1 _≤_
_λp_ _≤_ _b_ _<_ 0 _<_ _c_ _≤_ _λp_ +1 _≤_ _λn_ _≤_ _d_, the following bound on the residual _T_ -norm
1PMINRES is mathematically equivalent to preconditioned Orthomin(2) and Orthodir(3)
algorithms (e.g., [11]) that can as well be viewed as optimal analogues of PCG for symmetric
indefinite systems. However, Orthomin(2) can break down, whereas Orthodir(3) has a higher
computational cost compared to PMINRES. Therefore, throughout, we do not discuss these
two alternative schemes, and consider only the PMINRES algorithm.
2
holds:
�[ _i/_ 2]
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_ _≤_ 2
��
_|ad| −_
_|ad| −_ - _|bc|_
<u>�</u> _|ad|_ + <u>�</u> _|bc|_
<u>�</u> _|bc|_
_∥r_ <sup>(0)</sup> _∥T,_ (2)
where _i_ is the PMINRES iteration number and _∥· ∥T_ _≡_ ( _·_ _,_ _T_ _·_ ) <sup>1</sup> <sup>_/_</sup> <sup>2</sup> [11, 9].
While the optimal PMINRES algorithm is used in a variety of applications
and has convergence behavior that is relatively well studied, to the best of our
knowledge, little or none has been said about PSD-like methods for symmetric
indefinite systems, where the preconditioner is SPD, i.e., is exactly the same as
in PMINRES. For example, as we explain in the next section, iterations of the
form of (1) cannot generally result in a convergent scheme.
In this paper we address the question of what exactly is an analogue of PSD
in the case of a symmetric indefinite system with an SPD preconditioner. In particular, exactly the same way PSD can be interpreted as a form of PCG restarted
at every step, we show that a basic PSD-like scheme for an SPD-preconditioned
symmetric indefinite system is mathematically equivalent to the restarted PMINRES, where restarts occur after every two steps, i.e., the residual _T_ -norm is minimized over two-dimensional subspaces. We derive a convergence bound, which
yields a stepwise convergence factor that is similar to the one in (2) up to the
presence of square roots, analogously to the PCG/PSD case for SPD systems.
We also demonstrate that, if certain information about the spectrum of the
preconditioned matrix is at hand, then the two-dimensional minimization can be
turned into minimization over a one-dimensional subspace, while guaranteeing
the same convergence bound. Such information can also provide an interesting
possibility for randomization of the descent direction, which we as well briefly
discuss in this paper.
Although the primary goal of this work is to bridge the theoretical gap between optimal (PMINRES) and PSD-like methods for solving symmetric indefinite systems, we also address several practical issues. In particular, we discuss
implementations of the PSD-like algorithms, which should be fulfilled carefully
in order to ensure a minimal amount of computation and storage per iteration.
Because of the inferior convergence rate, the PSD-like methods cannot be
generally regarded as an alternative to the optimal PMINRES. However, we
point out several specific situations where the use of the more economical PSDlike iterations is appropriate and can be preferred in practice. Such situations
arise, e.g., when only a few iterations of a linear solver are needed, due to a
high preconditioning quality, good initial guess, or a relaxed requirement on
the accuracy of the approximate solution. For example, this setting appears
in the framework of preconditioned interior eigenvalue calculations, where a
preconditioner can be defined by several steps of a linear solver applied to a
shifted system of the form ( _A−σB_ ) _w_ = _r_ [20, 25, 7]. The PSD-like methods can
also be used as smoothers in multigrid schemes [6, 22]. In any of these contexts,
the savings in storage and number of inner products offered by the PSD-like
algorithms can potentially be beneficial for achieving the best performance.
The paper is organized as follows. In Section 2, we present a basic form of the
PSD-like iteration for solving a symmetric indefinite system with an SPD pre
3
conditioner, which is based on two-dimensional minimization of the residual _T_ norm, and derive the convergence bound. In Section 3, we show how some knowledge of spectrum of the preconditioned matrix can simplify the PSD-like iteration, leading to a scheme which minimizes the residual over a one-dimensional
subspace. A simple randomization strategy is described in the same section. We
consider several examples in Section 4. Conclusions can be found in Section 5.
2. The PSD-like iteration for symmetric indefinite systems
Given an SPD preconditioner _T_, a candidate PSD-like scheme for symmetric
indefinite systems can be immediately defined by directly applying iterations of
the form (1). In this case, the corresponding error equation has the form
_e_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = ( _I_ _−_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _TA_ ) _e_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ (3)
where _e_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _x_ <sup>_∗_</sup> _−_ _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> is the error at step _i_ and _x_ <sup>_∗_</sup> = _A_ <sup>_−_</sup> <sup>1</sup> _f_ is the exact solution.
Let _yj_ be the eigenvectors of the preconditioned matrix _TA_ associated with
the eigenvalues _λj_, and suppose that _e_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = <sup>�</sup> _j_ <sup>_n_</sup> =1 <sup>_cjyj_</sup> <sup>represents</sup> <sup>an</sup> <sup>expansion</sup>
of error in the eigenvector basis with coefficients _cj_ . Then, according to (3),
_e_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> =
_n_
�(1 _−_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _λj_ ) _cjyj._ (4)
_j_ =1
Since Λ( _TA_ ) contains both positive and negative eigenvalues, for any choice of
the iteration parameter _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, there exist _λj_ ’s of an opposite sign, i.e., such that
sign( _λj_ ) = _−_ sign( _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ). In this case, the corresponding factors _µj_ _≡_ 1 _−α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _λj_ =
1 + _|α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _λj|_ in (4) are greater than one.
Thus, regardless of the choice of _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, when applied to a symmetric indefinite
system with an SPD preconditioner, iteration (1) will amplify the error in certain
directions. Hence, it does not deliver a convergent scheme, unless initial guess
is specially chosen. Therefore, we cannot consider (1) as an analogue of PSD in
the indefinite case.
A possible angle to look at (1) is as to a restarted Krylov subspace method.
In particular, the PSD algorithm for SPD systems can be interpreted as PCG
that is restarted at each step. The same viewpoint can be adopted for systems
with an indefinite _A_ and an SPD _T_ . In this case, we can define an analogue of
PSD as a properly restarted version of PMINRES. As shown above, restarting
PMINRES at every step <sup>2</sup>, which yields iteration of the form (1), fails to ensure
the convergence. Therefore, we are interested in determining the frequency of
restarts which, on the one hand, keeps the size of the local minimization subspace as small as possible and, on the other hand, guarantees the convergence.
Following these considerations, it is natural to consider an iterative scheme
that is obtained from PMINRES by restarting the method after _every two steps_ .
2Such a scheme is equivalent to preconditioned Orthomin(1); see, e.g., [11].
4
This gives iteration of the form
_x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _TATr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ _i_ = 0 _,_ 1 _, . . ._ ; (5)
where the parameters _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> are chosen to minimize the residual _T_ -norm,
i.e., are such that
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥T_ = min
_u∈_ span _{T r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,T AT r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _}_
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _Au∥T ._ (6)
In what follows, we prove that (5)–(6) converges at a linear rate that is similar
to that of PSD and, hence, represents a true analogue of PSD for symmetric
indefinite systems.
_2.1._ _The_ _convergence_ _bound_
Let us first consider a stationary iteration of the form
_r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _f_ _−_ _Ax_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _TAw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ _l_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _βw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_
(7)
_x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + _αl_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ _i_ = 0 _,_ 1 _, . . .,_
where the parameters _α_ _>_ 0 and _β_ remain constant at all steps. Scheme (7)
can be viewed as a preconditioned Richardson-like method [4] with the search
direction given by _l_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, which is a linear combination of _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> =
_TAw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> . The following theorem specifies the values of _α_ and _β_ that yield the
convergence of (7), and states the corresponding convergence bound.
Theorem 1. _Let_ _iterations_ _(7)_ _be_ _applied_ _to_ _a_ _system_ _Ax_ = _f_ _with_ _a_ _nonsingu-_
_lar_ _symmetric_ _indefinite_ _A_ _and_ _an_ _SPD_ _preconditioner_ _T_ _,_ _and_ _assume_ _that_ _the_
_spectrum_ _of_ _TA_ _is_ _enclosed_ _within_ _the_ _pair_ _of_ _intervals_ _I_ = [ _a, b_ ] <sup>�</sup> [ _c, d_ ] _of_ _equal_
_length._ _If_ _b < β_ _< c_ _and_ 0 _< α < τβ,_ _where_ _τβ_ = 2 _/_ max
_λ∈{a,d}_ <sup>(</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_βλ_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_then_</sup>
_<u>∥r</u>_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _<u>∥T</u>_
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_
_≤_ _ρ,_ _ρ_ = max
_λ∈{a,b,c,d}_
��1 _−_ _α_ ( _λ_ 2 _−_ _βλ_ )�� _<_ 1 _._ (8)
_Moreover,_ _the_ _convergence_ _with_ _optimal_ _factor_
_ρ ≡_ _ρopt_ = <sup>_<u>|ad| −|bc|</u>_</sup> (9)
_|ad|_ + _|bc|_
_corresponds_ _to_ _the_ _choice_ _β_ _≡_ _βopt_ = _c −|b|_ _and_ _α ≡_ _αopt_ = 2 _/_ ( _|b|c_ + _|a|d_ ) _._
Proof. Let _Sβ_ = ( _TA −_ _βI_ ) _TA_ . Then the equation for preconditioned
residuals of iteration (7) can be written in the form _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = ( _I−αSβ_ ) _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, and
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥_ <sup>2</sup> _T_ <sup>= (</sup> <sup>_T −_</sup> <sup>1(</sup> <sup>_I_</sup> <sup>_−_</sup> <sup>_αSβ_</sup> <sup>)</sup> <sup>_Tr_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>(</sup> <sup>_I_</sup> <sup>_−_</sup> <sup>_αSβ_</sup> <sup>)</sup> <sup>_Tr_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)) = (</sup> <sup>_Qy, Qy_</sup> <sup>)</sup> <sup>_,_</sup>
where _Q_ = _I_ _−_ _αT_ <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _SβT_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> is a symmetric matrix and _y_ = _T_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> . Hence,
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥_ <sup>2</sup> _T_
<sup>2</sup> _T_ <sup>_≤_</sup> <sup>_λ_</sup> <sup>max(</sup> <sup>_Q_</sup> <sup>2)</sup> <sup>_∥r_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_∥_</sup> <sup>2</sup> _T_
<sup>2</sup> _T_ <sup>_,_</sup>
5
where _λ_ max( _Q_ <sup>2</sup> ) denotes the largest eigenvalue of _Q_ <sup>2</sup> . Since _T_ <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _SβT_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> is
similar to _Sβ_, both matrices have the same eigenvalues _µβ_ ( _λj_ ), where _µβ_ ( _λ_ ) =
_λ_ <sup>2</sup> _−_ _βλ_ and _λj_ _∈_ Λ( _TA_ ). Thus,
_λ_ max( _Q_ <sup>2</sup> ) = _λ∈_ maxΛ( _T A_ ) <sup>(1</sup> <sup>_−_</sup> <sup>_αµβ_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>))2</sup> <sup>_≤_</sup> <sup>max</sup> _λ∈I_ <sup>(1</sup> <sup>_−_</sup> <sup>_αµβ_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>))2</sup> <sup>_,_</sup>
and therefore
_<u>∥r</u>_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _<u>∥T</u>_
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_
_≤_ _ρ ≡_ max _λ∈I_ <sup>_|_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_αµβ_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_|._</sup> (10)
We now determine the values of parameters _α_ and _β_ that guarantee that
_|_ 1 _−_ _αµβ_ ( _λ_ ) _| <_ 1 for all _λ ∈I_ . Clearly, this is possible only if the value of _β_ is
chosen to ensure that _µβ_ ( _λ_ ) is of the same sign for all _λ_ _∈I_ . Therefore, since
iteration (7) assumes that _α_ _>_ 0, we require that _β_ ’s are such that _µβ_ ( _λ_ ) is
positive for all _λ ∈I_ . Since _µβ_ ( _λ_ ) is a parabola, which is concave up with zeros
at 0 and _β_, _µβ_ ( _λ_ ) _>_ 0 on _I_ if and only if _b < β_ _< c_ ; see Figure 1.
Figure 1: Illustration of _µβ_ ( _λ_ ) = _λ_ <sup>2</sup> _−_ _βλ_, where _β_ _>_ 0 and _I_ = [ _a, b_ ] _∪_ [ _c, d_ ] .
Given a value _β_, such that _µβ_ ( _λ_ ) _>_ 0 for any _λ_ _∈I_ ( _b_ _<_ _β_ _<_ _c_ ), we look
for parameters _α_ that ensure _|_ 1 _−_ _αµβ_ ( _λ_ ) _|_ _<_ 1. Solving this inequality for _α_
immediately reveals that _|_ 1 _−_ _αµβ_ ( _λ_ ) _| <_ 1 for any _λ ∈I_ if 0 _< α < τβ_, where
_τβ_ = 2 _/_ max _λ∈I_
max
_λ∈I_ <sup>_µβ_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>) = 2</sup> <sup>_/_</sup> <sup>max</sup> _{a,d}_
<sup>max</sup> _{a,d}_ <sup>(</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_βλ_</sup> <sup>)</sup> <sup>_,_</sup>
with the last equality following from the fact that _µβ_ ( _λ_ ) attains its maximum
on _I_ either at _a_ or _d_ (minimum is achieved at _b_ or _c_ ), i.e.,
max max min
_λ∈I_ <sup>_µβ_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>) =</sup> _λ∈{a,d}_ <sup>(</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_βλ_</sup> <sup>)</sup> <sup>_,_</sup> _λ∈I_
max _λ∈I_
min min (11)
_λ∈I_ <sup>_µβ_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>) =</sup> _λ∈{b,c}_ <sup>(</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_βλ_</sup> <sup>);</sup>
see Figure 1. Thus, for _b < β_ _< c_ and 0 _< α < τβ_, we have _|_ 1 _−_ _αµβ_ ( _λ_ ) _| <_ 1 for
any _λ_ _∈I_, and therefore the factor _ρ_ in (10) is less than 1. Furthermore, the
maximum of _|_ 1 _−_ _αµβ_ ( _λ_ ) _|_ over _I_ in (10) is given either by _|_ 1 _−_ _α_ max _λ∈I µβ_ ( _λ_ ) _|_
6
or by _|_ 1 _−_ _α_ min _λ∈I µβ_ ( _λ_ ) _|_ . Hence, using (11), we obtain the expression for _ρ_ as
in (8), which completes the proof of the first part of the theorem.
Next, we determine the values of _α_ and _β_ that yield the smallest _ρ_, i.e., give
an optimal convergence rate. To do so, we first fix an arbitrary _β_ _∈_ ( _b, c_ ) and
search for the value of _α_, denoted by _αopt_ ( _β_ ), that minimizes _ρ_ in (10). Since,
as discussed above, _ρ_ = max _{|_ 1 _−_ _α_ min _λ∈I µβ_ ( _λ_ ) _|, |_ 1 _−_ _α_ max _λ∈I µβ_ ( _λ_ ) _|}_, the
optimal value _αopt_ ( _β_ ) is given by
<u>2</u>
_αopt_ ( _β_ ) =
min _λ∈I_ <sup>_µβ_</sup> <sup>(</sup> <sup>_λ_</sup>
<u>2</u>
min
_λ∈I_ <sup>_µβ_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>=</sup> _λ∈{b,c}_ <sup>(</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_βλ_</sup> <sup>) +</sup> _λ∈{_ <sup>max</sup> _a,d_
min _λ∈I_ <sup>_µβ_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>) + max</sup> _λ∈I_
_λ∈{_ <sup>max</sup> _a,d}_ <sup>(</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_βλ_</sup> <sup>)</sup> <sup>_._</sup>
(12)
For this choice of _α_, 1 _−α_ min _λ∈I µβ_ ( _λ_ ) = _−_ (1 _−α_ max _λ∈I µβ_ ( _λ_ )) _,_ and, hence, _ρ_
in (10) is given by _ρopt_ ( _β_ ) = 1 _−_ _αopt_ ( _β_ ) min _λ∈I µβ_ ( _λ_ ). It is then easy to check,
using (11) and (12), that _ρ ≡_ _ρopt_ ( _β_ ) can be written in the form
_ρopt_ ( _β_ ) = <sup>_<u>κ</u>_</sup> <sup><u>˜(</u></sup> <sup>_<u>β</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1</u></sup> _κ_ ˜( _β_ ) =
_κ_ ˜( _β_ ) + 1 <sup>_,_</sup>
max
_λ∈{a,d}_ <sup>(</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_βλ_</sup> <sup>)</sup>
(13)
min
_λ∈{b,c}_ <sup>(</sup> <sup>_λ_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_βλ_</sup> <sup>)</sup> <sup>_._</sup>
Thus, in order to achieve the smallest _ρ_, it remains to find the value of _β_,
denoted by _βopt_, that minimizes _κ_ ˜( _β_ ) in (13) over all _b < β_ _< c_ .
Let _β_ _≡_ _β∗_ = _c −|b|_ . In this case, the parabola _µβ∗_ ( _λ_ ) is located symmetrically with respect to the intervals [ _a, b_ ] and [ _c, d_ ]. In particular, this implies that
the largest value of _µβ∗_ ( _λ_ ) = _λ_ <sup>2</sup> _−_ _β∗λ_ is attained simultaneously at _a_ and _d_
and the smallest value simultaneously occurs at _b_ and _c_ . Thus, by substituting
_β∗_ = _c −|b|_ into _κ_ ˜( _β_ ) in (13) and using the assumption that _d −_ _c_ = _|a| −|b|_,
we obtain
_κ_ ˜( _β∗_ ) = <sup>_<u>d</u>_</sup> <sup>2</sup> <sup>_<u>−</u>_</sup> <sup>_<u>β∗d</u>_</sup>
_c_ <sup>2</sup> _−_ _β∗c_
- _<u>d</u>_
_c_
�� _<u>|b|</u>_ <u>+</u> _<u>d −</u>_ _<u>c</u>_
_|b|_
- = <sup>_<u>ad</u>_</sup>
_bc_
<sup>_<u>ad</u>_</sup> _bc_ <sup>_._</sup> (14)
_c_ <sup>2</sup> _−_ _β∗c_ <sup>=</sup>
We now observe that _β∗_ minimizes ˜ _κ_ ( _β_ ) in (13), i.e., _κ_ ˜( _β∗_ ) in (14) is the smallest
for all _β_ in ( _b, c_ ). Indeed, if _ε >_ 0 is an arbitrary number, then
_κ_ ˜( _β∗_ + _ε_ ) = <sup><u>(</u></sup> ( <sup>_<u>a</u>_</sup> _c_ <sup>22</sup> <sup>_<u>−</u>_</sup> _−_ <sup>_<u>β</u>_</sup> _β_ <sup>_<u>∗</u>_</sup> _∗_ <sup>_<u>a</u>_</sup> _c_ ) <sup><u>)</u></sup> _−_ <sup>_<u>−</u>_</sup> _εc_ <sup>_<u>εa</u>_</sup>
<sup>_<u>a</u>_</sup> _c_ <sup>22</sup> <sup>_<u>−</u>_</sup> _−_ <sup>_<u>β</u>_</sup> _β_ <sup>_<u>∗</u>_</sup> _∗_ <sup>_<u>a</u>_</sup> _c_ <sup>=</sup> <sup>_<u>d</u>_</sup> _c_ <sup>22</sup> <sup>_<u>−</u>_</sup> _−_ _β_ <sup>_<u>β</u>_</sup> _∗_ <sup>_<u>∗</u>_</sup> _c_ <sup>_<u>d</u>_</sup>
<sup><u>(</u></sup> ( <sup>_<u>a</u>_</sup> _c_ <sup>22</sup> <sup>_<u>−</u>_</sup> _−_ <sup>_<u>β</u>_</sup> _β_ <sup>_<u>∗</u>_</sup> _∗_ <sup>_<u>a</u>_</sup> _c_ ) <sup><u>)</u></sup> _−_ <sup>_<u>−</u>_</sup> _εc_ <sup>_<u>εa</u>_</sup> <sup>_>_</sup> <sup>_<u>a</u>_</sup> _c_ <sup>22</sup> <sup>_<u>−</u>_</sup> _−_ <sup>_<u>β</u>_</sup> _β_ <sup>_<u>∗</u>_</sup> _∗_ <sup>_<u>a</u>_</sup> _c_
_c_ <sup>22</sup> <sup>_<u>−</u>_</sup> _−_ _β_ <sup>_<u>β</u>_</sup> _∗_ <sup>_<u>∗</u>_</sup> _c_ <sup>_<u>d</u>_</sup> <sup>=</sup> <sup>_κ_</sup> <sup>˜(</sup> <sup>_β∗_</sup> <sup>)</sup> <sup>_._</sup>
The same can be shown for _ε_ _<_ 0. Thus, _βopt_ _≡_ _β∗_ = _c −|b|_ . The optimal
convergence factor _ρ ≡_ _ρopt_ is then given by (9), and is obtained by evaluating
_ρopt_ ( _β_ ) in (13) for _β_ = _β∗_ using (14). Finally, from (12), we derive the optimal
value of _α_, given by _αopt_ _≡_ _αopt_ ( _β∗_ ) = 2 _/_ ( _|b|c_ + _|a|d_ ).
The convergence of the PSD-like iteration (5)–(6) follows immediately from
Theorem 1 and is characterized by the corollary below.
Corollary 1. _Method_ (5) _–_ (6) _converges to the solution with residuals satisfying_
_<u>∥r</u>_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _<u>∥T</u>_
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_
_≤_ <sup>_<u>|</u>_</sup> _|_ <sup>_<u>ad</u>_</sup> _ad_ <sup>_<u>| −|</u>_</sup> _|_ + _|_ <sup>_<u>bc</u>_</sup> _bc_ <sup>_<u>|</u>_</sup> _|_ <sup>_._</sup> (15)
7
Proof. Since _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> in (5)–(6) are such that _r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> has the smallest
_T_ -norm over _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + span - _Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, As_ <sup>(</sup> <sup>_i_</sup> <sup>)�</sup>, where _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _TAw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>,
- _Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, As_ <sup>(</sup> <sup>_i_</sup> <sup>)�</sup>
, where _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _TAw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>,
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥T_ = _∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_ _≤∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _βAw_ <sup>˜</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _αAs_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T,_
for any _α,_ ˜ _β_ <sup>˜</sup> _∈_ R. The inequality holds for any _α_ ˜ and _β_ <sup>˜</sup> and, therefore, is valid for
the particular choice _β_ <sup>˜</sup> _≡−αoptβopt_ and _α_ ˜ _≡_ _αopt_, where _αopt_ = 2 _/_ ( _|b|c_ + _|a|d_ )
and _βopt_ = _c −|b|_ are defined by Theorem 1. Thus,
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥T_ _≤∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _αoptAl_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_ _≡∥r_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥T,_ (16)
where _l_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _βoptw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _r_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _αoptAl_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> is the residual after
applying a step of stationary iteration (7) with optimal parameters to the starting vector _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> . Then, by Theorem 1, _∥r_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥T_ _≤_ _ρopt∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_, with _ρopt_ defined
in (9), and the proof of the corollary follows from (16).
If we define _κ_ = _ad/bc_, then the stepwise convergence factor in (15) can be
written as ( _κ_ _−_ 1) _/_ ( _κ_ +1). The PMINRES asymptotic convergence factor in (2)
is then obtained by taking the square root of _κ_, which gives ( <sup>_√_</sup> _<u>κ</u>_ _−_ 1) _/_ ( <sup>_√_</sup> _<u>κ</u>_ + 1).
This relation is similar to that between the PSD and PCG convergence factors
for SPD systems, where _κ_ is, instead, given by the spectral condition number of
_TA_ . Hence, method (5)–(6) can be viewed as a direct analogue of PSD in the
case of symmetric indefinite systems, where the preconditioner _T_ is SPD.
_2.2._ _The_ _PSDI_ _algorithm._
We now describe a simple and efficient algorithm implementing the PSD-like
iteration (5)–(6), whose convergence was established in the previous section.
Condition (6) implies that the new residual _r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
is _T_ -orthogonal to span _{Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _}_, where _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _TAw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> .
Thus, at each step of method (5), iteration parameters _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> can be
determined by imposing the orthogonality constraints
( _r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _, Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _T_ = 0 and ( _r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _, As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _T_ = 0 _,_
which is equivalent to solving a 2-by-2 (least-squares) system
_Z_ <sup>_∗_</sup> _TZc_ ˆ = _Z_ <sup>_∗_</sup> _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ (17)
where _Z_ = [ _Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ _As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ], and the solution is of the form _c_ ˆ = ( _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) <sup>_T_</sup> . It is
easy to check that, if _Z_ <sup>_∗_</sup> _TZ_ is nonsingular, (17) yields iteration parameters
_β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = ( _ξν −_ _µη_ ) _/_ ( _νµ −_ _η_ <sup>2</sup> ) _,_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = ( _µ_ <sup>2</sup> _−_ _ξη_ ) _/_ ( _νµ −_ _η_ <sup>2</sup> ) _,_ (18)
where _ξ_ = ( _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ), _ν_ = ( _As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, TAs_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ), _µ_ = ( _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ), and _η_ = ( _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ).
Moreover, since det( _Z_ <sup>_∗_</sup> _TZ_ ) = _νµ −_ _η_ <sup>2</sup>, the nonsingularity of _Z_ <sup>_∗_</sup> _TZ_ guarantees
that no division by zero is encountered in evaluating the expressions for _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
and _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, and hence iteration parameters (18) are well-defined in this case. Note
8
that our definition of the iteration parameters through solution of a least-squares
problem is similar to that in the generalized conjugate gradient methods [2, 3].
If _Z_ <sup>_∗_</sup> _TZ_ is singular, then the PSD-like iteration (5), with _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> computed by (18), breaks down due to division by zero. This, however, constitutes
a “happy” break-down, which indicates that an exact solution can be obtained
at the given step. Indeed, since _T_ is SPD, the matrix _Z_ <sup>_∗_</sup> _TZ_ is singular if and
only if the columns _Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> of _Z_ are linearly dependent. The latter
implies, in particular, that _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _ATr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> are collinear, in which case minimization (6) yields a zero residual. The associated exact solution is given by
_x∗_ = _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, where
_β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = ( _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, ATr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _T /_ ( _ATr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, ATr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _T_ = ( _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _/_ ( _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _≡_ _ξ/µ._
Thus, we have proved the following proposition.
Proposition 1. _Iteration_ (5) _with_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _and_ _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _defined_ _by_ (18) _does_ _not_ _break_
_down,_ _provided_ _that_ _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _Tr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _and_ _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _TAw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _are_ _linearly_ _independent._
_If_ _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _and_ _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _are_ _linearly_ _dependent,_ _then_ _x∗_ = _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ _where_ _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> =
( _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _/_ ( _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, As_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _,_ _is_ _the_ _exact_ _solution_ _of_ _Ax_ = _f_ _._
Algorithm 1 summarizes an implementation of the PSD-like method (5)–(6),
which we further refer to as the PSDI algorithm.
Algorithm 1: A PSD-like scheme for symmetric Indefinite systems (PSDI)
Input : The matrix _A_ = _A_ <sup>_∗_</sup>, a preconditioner _T_ = _T_ <sup>_∗_</sup> _>_ 0, the right-hand side
_f_, and the initial guess _x_ <sup>(0)</sup> ;
Output : The approximate solution _x_ ;
1: _x ←_ _x_ <sup>(0)</sup> ; _w_ _←_ _T_ ( _f_ _−_ _Ax_ );
2: while convergence not reached do
3: _l_ _←_ _Aw_ ; _s ←_ _Tl_ ;
4: _ξ_ _←_ ( _w, l_ );
5: _l_ _←_ _As_ ; _q_ _←_ _Tl_ ;
6: _ν_ _←_ ( _l, q_ ); _µ ←_ ( _w, l_ ); _η_ _←_ ( _s, l_ );
7: if _νµ −_ _η_ <sup>2</sup> _>_ 0 then
8: _β_ _←_ ( _ξν −_ _µη_ ) _/_ ( _νµ −_ _η_ <sup>2</sup> ); _α ←_ ( _µ_ <sup>2</sup> _−_ _ξη_ ) _/_ ( _νµ −_ _η_ <sup>2</sup> );
9: else
10: _β_ _←_ _ξ/η_ ; _α ←_ 0; //exact solution found
11: end if
12: Update _x ←_ _x_ + _βw_ + _αs_ and _w_ _←_ _w −_ _βs −_ _αq_ ;
13: end while
14: Return _x_ .
Each PSDI iteration performs two matrix-vector multiplications and two preconditioning operations. The computation of parameters _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _β_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> requires
total of four inner products. The number of stored vectors is equal to five.
9
_2.3._ _PSDI_ _vs_ _PMINRES(2)_
Algorithm 1 is mathematically equivalent to PMINRES restarted after every
two steps. Therefore, a possible implementation of method (5)–(6) can be obtained by directly restarting any “black box” PMINRES solve. However, such
an implementation, referred to as PMINRES(2), is not optimal as each restart
will accrue an additional matrix-vector product and preconditioning operation
that take place at the setup phase to form an initial preconditioned residual
vector. By contrast, each PSDI iteration in Algorithm 1 performs a minimal
number of operations and gives a simple and efficient implementation of (5)–(6).
_2.4._ _PSDI_ _vs_ _PMINRES_
Clearly, the convergence of PSDI is generally slower than that of PMINRES,
as confirmed by bounds (2) and (15). However, in some specific situations, to be
illustrated by our numerical examples, the reduction in computation and storage
offered by PSDI (discussed below) can offset the benefit of a faster convergence.
Although PMINRES performs only one matrix-vector product and one preconditioning operation per step, according to (2), it guarantees the residual norm
reduction only after every two iterations. Thus, both PSDI and PMINRES require two matrix-vector multiplications and two preconditioning operations to
ensure the decrease of the residual _T_ -norm. Similar to PSDI, PMINRES performs two inner products per matrix-vector multiplication, so that the number
of inner products needed for the residual reduction after two PMINRES steps
is four. However, PMINRES also requires an additional inner product at the
setup phase prior to the main loop; see, e.g., [11, Chapter 8]. This extra work
can potentially be sensible, e.g., if the total number of iterations is small or if
the linear solve is repeatedly invoked for a sequence of systems.
More pronounced are memory savings. In contrast to only five vectors stored
by PSDI, a PMINRES implementation relies on at least eight vectors. Four of
these vectors stem from the preconditioned Lanczos step, three are involved in
the search direction recurrence, and one is used to accommodate the approximate solution; see, e.g., [11, Chapter 8]. Thus, the PSDI algorithm can be
attractive in cases where storage is limited or the memory accesses are costly.
Finally, note that if the residual _T_ -norm (or the 2-norm) is required to assess
the convergence, then Algorithm 1 should also store two additional vectors _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> =
_f_ _−_ _Ax_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _Aw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, and at each iteration perform an extra inner product to
evaluate the residual norm. However, such a residual norm evaluation is often
unnecessary in practice, and a less expensive stopping rule can suffice. For example, one can determine convergence using the largest magnitude component of
the preconditioned residual _w_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, which is readily available at PSDI iterations.
_2.5._ _PSDI_ _vs_ _existing_ _schemes_ _with_ _comparable_ _cost_ _and_ _storage_
One may naturally wonder if PSDI provides any advantage over a number
of existing schemes with comparable cost and storage, obtained by restarting or
truncating earlier methods, such as preconditioned Orthomin and Orthodir [29].
10
As we explained in Section 2, the preconditioned Orthomin(1) algorithm,
equivalent to PMINRES restarted after every step, generally fails to converge
when applied to symmetric indefinite systems with an SPD preconditioner. For
_j_ _>_ 1, the preconditioned Orthomin( _j_ ), as well as its restarted versions, are
known to encounter a possible break-down, because zero is in the field of values
of _TA_ [11]. By contrast, according to Theorem 1 and Proposition 1, PSDI is
guaranteed to converge and does not break down.
Note that the above discussion also applies to a somewhat less well know
(preconditioned) Orthores algorithm [29]. The latter is known to be algebraically equivalent to (preconditioned) Orthomin, converging if and only if
Orthomin converges; see [1].
The situation is slightly different for the preconditioned Orthodir scheme,
which is known to be break-down free. However, restarting preconditioned
Orthodir at every step is equivalent to preconditioned Orthomin(1) and, hence,
fails to converge. Restarts after every two steps yield an implementation that is
mathematically equivalent to PSDI and PMINRES(2), but which is more costly
than both, requiring more (six versus four in PSDI) inner products per restart
cycle. The convergence behavior of the the truncated versions, Orthodir(1) and
Orthodir(2), is not clear.
3. Residual minimization over a one-dimensional subspace.
Let us now assume that we know the endpoints _b_ and _c_ of the intervals _I_ .
In this case, one can fix a value _β_ _∈_ ( _b, c_ ), and consider the iterative scheme
<u>(</u> _<u>w</u>_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _<u>, Al</u>_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <u>)</u>
_x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _l_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = (19)
( _Al_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, TAl_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) <sup>_,_</sup> <sup>_i_</sup> <sup>= 0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_, . . .,_</sup>
which updates the approximate solution by performing steps in the direction
_l_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−βw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> . Here, the choice of _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ensures that the new residual _r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> =
_r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _αAl_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> has the smallest _T_ -norm, i.e.,
_α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = argmin
_α∈_ R
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _αAl_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T ._
The following corollary of Theorem 1 guarantees that method (19) converges to
the solution at a linear rate.
Corollary 2. _Method_ (19) _converges_ _to_ _the_ _solution_ _for_ _any_ _β_ _∈_ ( _b, c_ ) _with_
_residuals_ _satisfying_
_<u>∥r</u>_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _<u>∥T</u>_
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_
_≤_ _ρ ≡_ _ρopt_ ( _β_ ) _,_ (20)
_where ρopt_ ( _β_ ) _is defined in_ (13) _._ _Moreover,_ _if β_ _≡_ _βopt_ = _c−|b|,_ _then_ (15) _holds._
Proof. Since _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> in (19) delivers the smallest residual _T_ -norm, we have
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥T_ = _∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Al_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_ _≤∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _αAl_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T,_
11
for any _α_ ˜ _∈_ R. Hence, the inequality also holds for _α_ ˜ _≡_ _αopt_ ( _β_ ), with _αopt_ ( _β_ )
defined in (12), i.e.,
_∥r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥T_ _≤∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _αopt_ ( _β_ ) _Al_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_ _≡∥r_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥T,_ (21)
where _r_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _αopt_ ( _β_ ) _Al_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> is the residual after applying a step of stationary iteration (7) with a given _β_ _∈_ ( _b, c_ ) and _α_ = _αopt_ ( _β_ ) to the starting
vector _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> . Then, following the proof of Theorem 1, _∥r_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥T_ _≤_ _ρopt_ ( _β_ ) _∥r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∥T_,
with _ρopt_ ( _β_ ) defined in (13), and bound (20) follows from (21). Furthermore, by
Theorem 1, if _β_ _≡_ _βopt_ = _c −|b|_ then _ρopt_ ( _β_ ) turns into the optimal factor (9)
and, hence, (15) holds.
Corollary 2 suggests that the fastest convergence rate of iteration (19), given
by (15), corresponds to _β_ = _c_ _−|b|_ . Therefore, with this choice of _β_, scheme (19)
can also be viewed as an analogue of PSD in the symmetric indefinite case.
In contrast to (5)–(6), the minimization in (19) is performed only over a onedimensional subspace. However, in order to apply the scheme, one has to come
up with reasonable estimates for the “inner” endpoints _b_ and _c_ . For example,
a trivial estimate is given by _b_ = _c_ = 0, which turns the method into the well
known preconditioned residual norm steepest descent scheme [18], but determining _b_ and _c_ that constitute better approximations to the eigenvalues _λp_ and
_λp_ +1 of _TA_ can lead to a faster convergence.
Generally, information about the spectrum of the preconditioned matrix _TA_
is not easy to obtain. Nevertheless, for certain problems, such information can
be available through theoretical analysis [19, 27]. Alternatively, one can attempt
to determine the fixed iteration parameter empirically by trying different small
values of _β_ . Finally, estimates on _b_ and _c_ can be obtained by applying several
steps of an interior eigenvalue solver (e.g., [10, 25]) to find a few eigenvalues
of _TA_ near zero. For example, if a sequence of systems with the same matrix
is solved, then such eigenvalue calculations can be performed only once during
preprocessing and their relative cost in the overall computation can be negligible.
_3.1._ _The_ _PSDI-1D_ _algorithm._
An implementation of method (19) is given in Algorithm 2, which we call
the PSDI-1D algorithm.
Similar to Algorithm 1, each PSDI-1D iteration requires two matrix-vector
multiplications and two preconditioning operations. At the same time, due to
the available information about the spectrum, Algorithm 2 brings the number
of inner products per iteration down to two (one per matrix-vector product),
which is two times less than in PMINRES. The number of stored vectors is five,
as in Algorithm 1.
Table 1 summarizes the computational and storage expenses of different algorithms to ensure reduction of the residual _T_ -norm. It shows that, while generally
exhibiting a slower convergence, the PSD-like methods need fewer inner products and storage to reduce the residual. Therefore, if used in a proper context,
the algorithms can be of practical interest for obtaining the best performance.
12
Algorithm 2: A PSD-like scheme for symmetric Indefinite systems with
residual minimization over a 1D subspace (PSDI-1D)
Input : The matrix _A_ = _A_ <sup>_∗_</sup>, a preconditioner _T_ = _T_ <sup>_∗_</sup> _>_ 0, the right-hand side
_f_, a parameter _b < β_ _< c_, and the initial guess _x_ <sup>(0)</sup> ;
Output : The approximate solution _x_ ;
1: _x ←_ _x_ <sup>(0)</sup> ; _w_ _←_ _T_ ( _f_ _−_ _Ax_ );
2: while convergence not reached do
3: _s ←_ _TAw_ ;
4: _l_ _←_ _s −_ _βw_ ;
5: _s ←_ _Al_ ; _q_ _←_ _Ts_ ;
6: _α ←_ ( _w, s_ ) _/_ ( _s, q_ );
7: Update _x ←_ _x_ + _αl_ and _w_ _←_ _w −_ _αq_ ;
8: end while
9: Return _x_ .
<u>PMINRES</u> <u>PSDI</u> <u>PSDI-1D</u>
MatVecs/Precs 2 2 2
Inner products 4 (+1) 4 2
Storage (# of vec.) 8 5 5
Table 1: Computational and storage expenses of different algorithms to ensure reduction of the residual _T_ -norm; “(+1)” denotes an additional inner product at the setup
phase prior to the main loop.
13
_3.2._ _Randomization_ _of_ _the_ _search_ _direction._
It is common in practice that Algorithm 2 (as well as Algorithm 1) rapidly
reduces the residual _T_ -norm at a few initial iterations and then stabilizes with a
slower convergence rate, resembling the worst-case behavior given by bound (20)
or, if _β_ = _c −|b|_, by (15). A possible way to break this scenario, and hence
speed up the convergence, is to exploit the freedom on the choice of _β_ _∈_ ( _b, c_ ) by
randomly varying the parameter in the course of iterations. As we explain below,
and demonstrate in the numerical examples of the next section, this simple
randomization of _β_, and therefore of the search direction _l_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _βw_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, can
lead to a substantial acceleration of the method’s convergence.
At each step of method (19), the error transformation can be written as
_e_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = ( _I_ _−_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Sβ_ ) _e_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ _Sβ_ = ( _TA −_ _βI_ ) _TA,_ (22)
which corresponds to a step of the power method with respect to the transition
matrix _I_ _−_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Sβ_ . This step emphasizes the error component in the direction
of the eigenvector associated with the largest, in the absolute value, eigenvalue
of _I_ _−_ _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Sβ_ . Since the choice _β_ _∈_ ( _b, c_ ) ensures that all eigenvalues of _Sβ_
are positive, regardless of _α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>, the largest modulus eigenvalue of the transition
matrix is given either by 1 _−α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _µ_ min or by 1 _−α_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _µ_ max, where _µ_ min and _µ_ max are
the smallest and largest eigenvalues of _Sβ_, with the corresponding eigenvectors
_v_ min and _v_ max.
Thus, after repeatedly performing transformation (22), the error will be
dominated by components in the direction of either _v_ min or _v_ max, or a combination of the two. Hence, a potentially slow convergence of (19) can be attributed
to the difficulty in damping these two components of the error.
Since the eigenvalues of _Sβ_ are obtained from those of _TA_ via the quadratic
transformation, _µ_ min = min _λ∈{λp,λp_ +1 _}_ ( _λ_ <sup>2</sup> _−βλ_ ) and _µ_ max = max _λ∈{λ_ 1 _,λn}_ ( _λ_ <sup>2</sup> _−_
_βλ_ ). Therefore, depending on the choice of _β_, _v_ min is given by _vp_ or _vp_ +1, and
_v_ max corresponds to _v_ 1 or _vn_, where _v_ 1, _vp_, _vp_ +1, and _vn_ are the eigenvectors of
_TA_ associated with the eigenvalues _λ_ 1, _λp_, _λp_ +1, and _λn_, respectively.
Now, without loss of generality, suppose that the parameter _β_ yields _µ_ min =
_λ_ <sup>2</sup> _p_ <sup>_−_</sup> <sup>_βλp_</sup> <sup>and</sup> <sup>_µ_</sup> <sup>max</sup> <sup>=</sup> <sup>_λ_</sup> <sup>2</sup> 1 <sup>_−_</sup> <sup>_βλ_</sup> <sup>1,</sup> <sup>so</sup> <sup>that</sup> <sup>after</sup> <sup>a</sup> <sup>number</sup> <sup>of</sup> <sup>steps</sup> <sup>the</sup> <sup>error</sup> <sup>is</sup>
dominated by the eigenvectors _v_ min = _vp_ or/and _v_ max = _v_ 1. At this point, let
us assume that we can alter the parameter _β_ in such a way that _µ_ min and _µ_ max
change to _λ_ <sup>2</sup> _p_ +1 <sup>_−_</sup> <sup>_βλp_</sup> <sup>+1</sup> <sup>and</sup> <sup>_λ_</sup> _n_ <sup>2</sup> <sup>_−_</sup> <sup>_βλn_</sup> <sup>,</sup> <sup>respectively.</sup> <sup>(The</sup> <sup>change</sup> <sup>of</sup> <sup>_µ_</sup> <sup>min</sup> <sup>can</sup>
always be achieved by modifying _β_, whereas the change of _µ_ max depends on the
location of the _TA_ ’s spectrum.) As a result, after the update of _β_, the error
transformation (22) will emphasize the components in the direction of _vp_ +1 or
_vn_, and efficiently reduce the components in the problematic directions _vp_ and
_v_ 1 that have been dominant in the error’s representation. Thus, even though
the optimal convergence rate is given by _β_ = _c −|b|_, varying _β_ can potentially
improve the convergence through the implicit damping of the slowly vanishing
error components.
A simple approach to systematically vary _β_ is to randomly generate a value
from the interval ( _b, c_ ) at every iteration, i.e., set _β_ _≡_ _βξ_ = _b_ + ( _c −_ _b_ ) _ξ_, where _ξ_
14
<sup>2</sup> _p_ <sup>_−_</sup> <sup>_βλp_</sup> <sup>and</sup> <sup>_µ_</sup> <sup>max</sup> <sup>=</sup> <sup>_λ_</sup> <sup>2</sup> 1
<sup>2</sup> _p_ +1 <sup>_−_</sup> <sup>_βλp_</sup> <sup>+1</sup> <sup>and</sup> <sup>_λ_</sup> _n_ <sup>2</sup>
is a random variable uniformly distributed in (0 _,_ 1). Clearly, in this case, the optimal bound (15) no longer holds, however, the stepwise decrease of the residual
norm is guaranteed by Corollary 2. Although this reduction can be very small
at certain iterations, overall, the randomization of _β_ can lead to a noticeably
faster convergence, as demonstrated in our examples of the next section.
4. Examples
In this section, we demonstrate the convergence behavior of the introduced
schemes on several simple examples that admit SPD preconditioning. Our goal
is two-fold. First, we would like to illustrate the convergence bound (15), as
well as show the impact of the simple randomization strategy of Algorithm 2
on the convergence rate. Second, we outline situations where using the PSDlike methods can represent a reasonable alternative to applying the optimal
PMINRES. As we shall see, such situations can occur in the cases where only a
few iterations are needed to approximate the solution to the desired accuracy,
e.g., due to a good initial guess or high preconditioning quality.
_Example_ _1._ In our first example, we consider a symmetric indefinite system
coming from a discretization of the boundary value problem
_−_ ∆ _u_ (x _,_ y) _−_ _σu_ (x _,_ y) = _f_ (x _,_ y) _,_ (x _,_ y) _∈_ Ω= (0 _,_ 1) _×_ (0 _,_ 1) _,_ _u|_ Γ = 0 _,_ (23)
where ∆= _∂_ <sup>2</sup> _/∂_ x <sup>2</sup> + _∂_ <sup>2</sup> _/∂_ y <sup>2</sup> is the Laplace operator and Γ denotes the boundary
of the domain Ω, given by a unit square. This problem is the Helmholtz equation
with Dirichlet boundary conditions, where _σ_ _>_ 0 is a wave number.
Discretization of (23), using the standard 5-point finite difference stencil,
results in a linear system ( _L −_ _σI_ ) _x_ = _f_, where _L_ represents the discrete Laplacian. Since _L_ is SPD, the choice of a sufficiently large _σ_ introduces negative
eigenvalues into the shifted problem, making the matrix _L−σI_ indefinite. If the
degree of indefiniteness is not too high, a simple option to define an SPD preconditioner for ( _L −_ _σI_ ) _x_ = _f_ is given by _T_ = _L_ <sup>_−_</sup> <sup>1</sup> [5]. Below, we use such _T_ as
an SPD preconditioner for the PSD-like schemes and the PMINRES algorithm.
The right-hand side _f_ and the initial guess _x_ <sup>(0)</sup> are randomly chosen.
In particular, we let _σ_ = 100 and consider the shifted Laplacian problem of
size _n_ = 3 _,_ 969. Then, if _T_ = _L_ <sup>_−_</sup> <sup>1</sup>, the preconditioned matrix _T_ ( _L −_ _σI_ ) has 6
negative eigenvalues, with _λ_ 1 _≈−_ 4 _._ 0671, _λ_ 6 _≈−_ 0 _._ 0149, _λ_ 7 _≈_ 0 _._ 2194, and _λn_ =
0 _._ 9939. Thus, the interval _I_ = [ _a, b_ ] _∪_ [ _c, d_ ], containing the spectrum of _T_ ( _L−σI_ ),
can be defined by _a_ = _λ_ 1, _b_ = _λ_ 6, _c_ = _λ_ 7, and _d_ = 4 _._ 2716, where the choice
of _d_ ensures that [ _a, b_ ] and [ _d, c_ ] are of the same length. This information allows
us to calculate convergence bound (15) and set the parameter _β_ in Algorithm 2
to the optimal value _c −|b|_ . The generation of _β_ in the randomized version of
Algorithm 2 is performed with respect to the interval ( _b, c_ ).
We note that the question of constructing efficient SPD preconditioners for
Helmholtz problems is not in the scope of this paper, and the choice _T_ = _L_ <sup>_−_</sup> <sup>1</sup>
is motivated mainly by simplicity of presentation, allowing to keep focus on
15
PSDI and PMINRES with a good initial guess for the shifted Laplacian
10−1
10−2
10−3
PSDI
PMINRES
1 2 3 4 5 6
Number of MatVecs/Precs
102
100
10−2
10−4
PSD−like methods for the shifted Laplacian
Theoretical bound
PSDI
PSDI−1D
PSDI−1D with random β
10−6
1000 2000 3000 4000 5000
Number of iterations
Figure 2: Convergence of different solution schemes for the shifted Laplacian system
( _L −_ _σI_ ) _x_ = _f_ with _σ_ = 100 and _T_ = _L_ <sup>_−_</sup> <sup>1</sup> ; _n_ = 3 _,_ 969. _Left:_ Comparison of the
PSD-like schemes. _Right:_ Comparison of PSDI and PMINRES for a good initial
guess.
the presented PSDI iterative scheme rather than on preconditioning issues. A
stronger SPD preconditioner for this model problem can be found in [23, 24].
The convergence of the PSD-like schemes is demonstrated in Figure 2 (left).
The figure shows that bound (15) is descriptive. It reflects well the convergence
rate of PSDI and (non-randomized) PSDI-1D throughout the whole run, except
for a few initial steps where the residual norms are reduced faster in practice.
Note that PSDI-1D has a slightly faster convergence than PSDI, which demonstrates that minimizing the residual over a 1D subspace does not necessarily
yield a slower convergence compared to the 2D minimization of Algorithm 2.
We also observe a significant acceleration of the convergence if a random _β_ is
used within PSDI-1D. Remarkably, the speedup appears at no additional cost
and is a consequence solely of the “chaotic” choice of the descent direction.
Next, we consider a specific setting, where the initial guess is already close to
the solution and only low to moderate accuracy of the targeted approximation
is wanted. In this case, if the preconditioning quality is sufficiently high, only a
few steps of a linear solver should be performed.
The convergence of PSDI and PMINRES for such a situation is compared
in Figure 2 (right). Namely, we compute the exact solution of ( _L −_ _σI_ ) _x_ = _f_
and perturb it using a random vector with small entries distributed uniformly
on [0 _,_ 10 <sup>_−_</sup> <sup>4</sup> ]. We then apply three steps of PSDI and six steps of PMINRES
and track the reduction of the residual _T_ -norm at the few initial iterations.
Since each PSDI iteration requires twice as many matrix-vector products and
preconditioner applications compared to the PMINRES step, instead of the
iteration count, we show the convergence rate with respect to the number of
matrix-vector multiplications (MatVecs) or preconditioning operations (Precs).
Figure 2 (right) shows that both algorithms require the same number of
MatVecs/Precs to achieve the reduction of the residual _T_ -norm by two orders of
magnitude, i.e., the residual _T_ -norms after two PSDI steps and four PMINRES
16
steps are identical. At the same time, as has been previously discussed, PSDI
performs slightly less inner products and requires less memory. Hence, in the
given context, if the goal is to improve the solution accuracy by only a few
orders of magnitude, PSDI can be used as an alternative to PMINRES.
However, if higher accuracies are wanted, which requires additional iterations, then PMINRES, as an optimal method, is clearly more suitable. For
example, as seen in Figure 2 (right), its convergence becomes noticeably faster
then that of PSDI starting from the fifth iteration. Note that the convergence
of PSDI-1D at the initial steps, with both optimal and random choice of _β_, was
not as rapid compared to PSDI and PMINRES. Therefore, we do not report the
corresponding runs in the figure.
_Example_ _2._ Our second example concerns a saddle point system, arising in the
context of PDE-constrained optimization. Here, the solution of the optimal
control problem
min
_u,f_
21 <sup>_∥u −_</sup> <sup>_u_</sup> <sup>ˆ</sup> <sup>_∥_</sup> <sup>2 +</sup> <sup>_τ_</sup> <sup>_∥f_</sup> <sup>_∥_</sup> <sup>2</sup> <sup>_,_</sup>
with the constraint that
_−_ ∆ _u_ = _f_ in Ω _,_ _u|_ Γ = _g,_
results, after the finite element discretization, in the symmetric indefinite system
with the matrix
_A_ =
2 _τM_ 0 _−M_
0 _M_ _K_
_−M_ _K_ 0
_,_ (24)
where _K_ and _M_ are the SPD stiffness and mass matrices, respectively; see,
e.g., [17]. In particular, we choose Ω= (0 _,_ 1) _×_ (0 _,_ 1), _τ_ = 10 <sup>_−_</sup> <sup>2</sup>, _u_ ˆ = (2x _−_
1) <sup>2</sup> (2y _−_ 1) <sup>2</sup> over (0 _,_ 2 <sup><u>1</u></sup> <sup>)</sup> <sup>_×_</sup> <sup>(0</sup> <sup>_,_</sup> <sup><u>1</u></sup> 2 <sup>)</sup> <sup>and</sup> <sup>0</sup> <sup>elsewhere,</sup> <sup>and</sup> <sup>use</sup> <sup>_Q_</sup> <sup>1</sup> <sup>finite</sup> <sup>elements</sup>
to obtain the saddle point linear system of size _n_ = 2 _,_ 883. Exactly the same
example was considered by Wathen and Rees [26], whereto we refer the reader
for more details.
An efficient SPD preconditioner for (24), proposed in [17], has a blockdiagonal form, and is given by
21 _τ_ _M_ <sup>˜</sup> <sup>_−_</sup> <sup>1</sup> 0 0
0 _M_ ˜ <sup>_−_</sup> <sup>1</sup> 0
0 0 _K_ ˜ <sup>_∗−_</sup> <sup>1</sup> _M_ _K_ ˜ <sup>_−_</sup> <sup>1</sup>
_,_ (25)
_T_ =
where _K_ <sup>˜</sup> and _M_ <sup>˜</sup> are approximations to _K_ and _M_, respectively. In our test, we
approximate _K_ <sup>˜</sup> and _M_ <sup>˜</sup> using incomplete Cholesky factorization with drop tolerance 10 <sup>_−_</sup> <sup>3</sup>, so that _K_ <sup>˜</sup> <sup>_−_</sup> <sup>1</sup> and _M_ <sup>˜</sup> <sup>_−_</sup> <sup>1</sup> correspond to the successive triangular solves
with the respective incomplete Cholesky factors. In this case, the spectrum of
the preconditioned matrix _TA_ is enclosed into the pair of equal-sized intervals
[ _−_ 1 _._ 0108 _, −_ 0 _._ 3096] and [1; 1 _._ 7012].
In Figure 3 (left), we demonstrate the runs of the PSD-like methods for
system (24), with randomly chosen right-hand side and initial guess vectors.
17
PSDI and PMINRES with a good initial guess for the saddle point system
PSDI
PMINRES
1 2 3 4 5 6
Number of MatVecs/Precs
100
10−5
10−10
PSD−like methods for the saddle point system
Theoretical bound
PSDI
PSDI−1D
PSDI−1D with random β
10 20 30 40 50 60
Number of iterations
10−1
10−2
10−3
Figure 3: Convergence of different solution schemes for a saddle point system with _A_
in (24) and _T_ in (25); _n_ = 2 _,_ 883. _Left:_ Comparison of the PSD-like schemes. _Right:_
Comparison of PSDI and PMINRES for a good initial guess.
The parameter _β_ in PSDI-1D is set to the optimal value _c−|b|_, and the sampling
of _β_ in the randomized version is performed over the interval ( _b, c_ ). As in the
the previous example, it can be seen that bound (15) captures well the actual
convergence of PSDI and PSDI-1D, and the convergence rates of both schemes
are comparable in practice. The suggested randomization strategy, again, speeds
up the convergence for PSDI-1D.
Let us note that the convergence of the randomized PSDI-1D depends on the
way random values _β_ are generated. In particular, using inappropriate probability distributions can slow down the convergence. On the contrary, one can
expect to accelerate the method by suitably defining probability distribution.
Effects of β’s probability distribution on the PSDI−1D convergence
Uniform on (b,c)
Normal, mean = c−|b|, stdev = 0.75
Normal, mean = c−|b|, stdev = 0.1
100
10−5
10−10
0 10 20 30 40 50 60
Iteration number
Figure 4: Convergence of PSDI-1D with values of _β_ drawn from different distributions
for a saddle point system with _A_ in (24) and _T_ in (25); _n_ = 2 _,_ 883.
This point is demonstrated in Figure 4, which compares convergence of PSDI1D for values of _β_ drawn from different distributions. In the figure, we plot averaged (after 100 runs) residual norms produced by PSDI-1D, where _β_ is either
18
uniformly distributed on ( _b, c_ ) (as before), or drawn from the normal distribution
with mean at the optimal value _c −|b|_ and standard deviations 0 _._ 1 and 0 _._ 75.
One can see that a slower convergence is obtained if _β_ is normally distributed
with standard deviation 0 _._ 1, in which case the method closer resembles the
deterministic version with the optimal _β_ . At the same time, increasing standard
deviation to 0 _._ 75 removes this effect, resulting in the convergence comparable
to the case with the uniform distribution.
Finally, Figure 3 (right) compares PSDI and the optimal PMINRES for the
case where a good initial guess is available and both methods perform only a
few iterations to reduce the residual _T_ -norm by several orders of magnitude.
Similar to the previous example, we define the initial guess by perturbing the
exact solution with a random vector whose entries are uniformly distributed on
[0 _,_ 10 <sup>_−_</sup> <sup>4</sup> ]. The figure demonstrates that, at the initial iterations, the convergence of PSDI is comparable to that of PMINRES. However, PSDI requires less
computations and memory, and hence can be preferable to PMINRES in this
type of situation.
_Example_ _3._ Another context which gives rise to symmetric indefinite systems
is related to the interior eigenvalue calculations using inexact shift-and-invert,
or preconditioned, eigenvalue solvers, e.g., [14, 25]. In this setting, one seeks to
compute an eigenpair ( _λ, v_ ) of a matrix _A_ that is closest to a given target _σ_ . At
each iteration, such eigenvalue solvers require an approximate solution of the
linear system of the form ( _A −_ _σI_ ) _w_ = _r_, where _r_ is the eigenresidual.
If a good preconditioner _T_ _≈_ ( _A −_ _σI_ ) <sup>_−_</sup> <sup>1</sup> is at hand, then _w_ can be defined
as _Tr_ . However, in certain cases, the quality of _T_ is insufficient to ensure a
robust convergence . In this situation, instead, one can run several steps of an
iterative linear solver applied to the symmetric indefinite system ( _A_ _−_ _σI_ ) _w_ = _r_
with _T_ as a preconditioner, and set _w_ to the resulting approximate solution. In
particular, if _T_ is SPD, then the approximate solution of ( _A −_ _σI_ ) _w_ = _r_ can be
computed either using PMINRES or one of the PSD-like methods introduced
in this work.
Let us consider a matrix _A_ coming from the plane wave discretization of
the Hamiltonian operator for the Si2H4 molecule ( _n_ = 949) in the framework
of the Kohn-Sham Density Functional theory, generated using the KSSOLV
package [28]. We would like to find an eigenpair corresponding to the eigenvalue
closest to the energy shift _σ_ = 0 _._ 2 using the Davidson method with the harmonic
Rayleigh–Ritz projection [14]. The given target _σ_ points to the 8th eigenpair of
_A_ associated with _λ_ = 0 _._ 1966. Note that _A_ is complex Hermitian in this test, for
which case all the results of this paper straightforwardly apply, though stated
for the real symmetric matrices. The initial guess for the eigensolver is fixed
to the first column of the identity matrix; the PSDI and PMINRES iterations
start with the zero initial guess.
A traditional choice of _T_ for this type of computation is the Teter–Payne–
Allan preconditioner [21], which is given by an SPD diagonal matrix. However,
a direct use of _T_ to define the Davidson’s expansion vectors _Tr_ may not provide
a reliable convergence. In particular, this is the case in our example, where
19
the method converges to a wrong eigenpair. Therefore, in order to restore the
convergence, as a preconditioner for the Davidson method, we use several steps
of PMINRES and PSDI applied to ( _A−σI_ ) _w_ = _r_, with _T_ being a preconditioner
for the linear solve.
10Convergence of the Davidson method with different preconditioners0
10−1
10−2
10−3
10−4
10Convergence of the Davidson method with different preconditioners0
10−1
10−2
10−3
10−4
10−5
PMINRES(4)
PSDI(2)
PMINRES(8)
PSDI(4)
10−5
PMINRES(4)
PSDI(2)
PMINRES(8)
PSDI(4)
10−6
0 2 4 6 8 10 12 14 16
10−6
0 20 40 60 80 100 120
Number of iterations
Number of MatVecs
Figure 5: Convergence of the Davidson method, with respect to the number of iterations (left) and MatVecs (right), to the eigenpair associated with the eigenvalue closest
to _σ_ = 0 _._ 2 of the Hamiltonian matrix for the Si2H4 system. PSDI( _t_ ) and PMINRES( _t_ )
denote preconditioning options based on _t_ steps of the corresponding linear solver.
Figure 5 (left) shows that the convergence to the correct eigenpair can be
recovered with 2 steps of PSDI and 4 steps of PMINRES used as a preconditioner for the Davidson method. In this case, the convergence of the PSDIpreconditioned eigensolver is similar to that of preconditioned with PMINRES.
However, the former requires less inner products and storage; see Table 1. Note
that doubling the number of PSDI and PMINRES steps slightly reduces the
eigensolver’s iteration count, whereas the convergence remains identical for both
preconditioning options.
In Figure 5 (right), we consider the change of the eigenresidual norm with
respect to the number of matrix-vector products, which includes MatVecs generated at the “inner” PSDI or PMINRES iterations as well as those produced by
the “outer” Davidson steps. The figure demonstrates that increasing the number of PSDI or PMINRES iterations may be counterproductive, even though
the preconditioning quality improves. As a result, we arrive at the framework
where only a few steps of a linear solver are needed, in which case the use of
the PSD-like methods can represent a reasonable alternative. to PMINRES.
5. Conclusions
The paper presents a thorough description of the PSD-like methods for symmetric indefinite systems, where the preconditioner is SPD. Several variants of
such methods are discussed and the corresponding convergence bound is proved.
This completes the existing theory for the SPD linear systems, expanding it
to the indefinite case. Because of the slower convergence rate, the presented
20
PSD-like methods cannot generally be regarded as a substititute for the optimal PMINRES algorithm. However, we demonstrate that for certain cases,
where only a few steps of a linear solver are needed, the PSD-like schemes can
constitute an economical alternative.
Acknowledgements.
The authors are thankful to Dr. Tyrone Rees for sharing test matrix (24) for
the saddle point system in Example 2. The authors also thank the anonymous
referee whose comments helped to significantly improve this manuscript.
References
[1] S.F. Ashby, M.H. Gutknecht, A matrix analysis of conjugate gradient algo
rithms, in: M. Natori, T. Nodera (Eds.), Proc. Ninth Symposium on Preconditioned Conjugate Gradients (Parallel Processing for Scientific Computing), Keio University, 1993.
[2] O. Axelsson, Conjugate gradient type methods for unsymmetric and incon
sistent systems of linear equations, Linear Algebra Appl. 29 (1980) 1–16.
[3] O. Axelsson, A generalized conjugate gradient, least square method, Nu
merische Mathematik 51 (1987) 209–227.
[4] O. Axelsson, Iterative solution methods, Cambridge University Press, New
York, NY, 1994.
[5] A. Bayliss, C.I. Goldstein, E. Turkel, An iterative method for the Helmholtz
equation, Journal of Computational Physics 49 (1983) 443–457.
[6] W.L. Briggs, V.E. Henson, S.F. McCormick, A Multigrid Tutorial, 2nd ed.,
Society for Industrial and Applied Mathematics, 2000.
[7] Y. Cai, Z. Bai, J.E. Pask, N. Sukumar, Hybrid preconditioning for iterative
diagonalization of ill-conditioned generalized eigenvalue problems in electronic structure calculations, Journal of Computational Physics 255 (2013)
16 - 30.
[8] S.C.T. Choi, C.C. Paige, M.A. Saunders, MINRES-QLP: A Krylov sub
space method for indefinite or singular symmetric systems, SIAM J. Sci.
Comput. 33 (2011) 1810–1836.
[9] H.C. Elman, D.J. Silvester, A. Wathen, Finite Elements and Fast Itera
tive Solvers with Applications in Incompressible Fluid Dynamics, Oxford
University Press, 2005.
[10] D.R. Fokkema, G.L.G. Sleijpen, H.A.V. der Vorst, Jacobi–Davidson style
QR and QZ algorithms for the reduction of matrix pencils, SIAM J. Sci.
Comput. 20 (1998) 94–125.
21
[11] A. Greenbaum, Iterative Methods for Solving Linear Systems, SIAM, 1997.
[12] A. Knyazev, A. Skorokhodov, The rate of convergence of the
method of steepest descent in a euclidean norm, _{_ USSR _}_ Computational Mathematics and Mathematical Physics 28 (1988) 195
- 196. URL: `[http://www.sciencedirect.com/science/article/pii/](http://www.sciencedirect.com/science/article/pii/0041555388900316)`
`[0041555388900316](http://www.sciencedirect.com/science/article/pii/0041555388900316)` . [doi:doi:10.1016/0041-5553(88)90031-6.](http://dx.doi.org/10.1016/0041-5553%0x2888%0x2990031-6)
[13] A.V. Knyazev, I. Lashuk, Steepest descent and conjugate gradient methods
with variable preconditioning, SIAM J. Matrix Anal. Appl. 29 (2007) 1267–
1280.
[14] R.B. Morgan, Computing interior eigenvalues of large matrices, Linear Al
gebra Appl. 154–156 (1991) 289–309.
[15] J. Nagy, K.M. Palmer, Steepest descent, CG, and iterative regularization
of ill-posed problems, BIT Numerical Mathematics 43 (2003) 1003–1017.
[16] C.C. Paige, M.A. Saunders, Solution of sparse indefinite systems of linear
equations, SIAM Journal on Numerical Analysis 12 (1975) 617–629.
[17] T. Rees, H. Dollar, A. Wathen, Optimal solvers for pde-constrained opti
mization, SIAM J. Sci. Comput. 32 (2009) 271–298.
[18] Y. Saad, Iterative Methods for Sparse Linear Systems, SIAM, Philadelphia,
PA, 2003.
[19] D. Silvester, A. Wathen, Fast iterative solution of stabilised stokes systems
part II: Using general block preconditioners, SIAM Journal on Numerical
Analysis 31 (1994) 1352–1367.
[20] D.B. Szyld, E. Vecharynski, F. Xue, Preconditioned eigensolvers for large
scale nonlinear hermitian eigenproblems with variational characterizations.
II. Interior eigenvalues, to appear in SIAM J. Sci. Comput., 2015. URL:
`[http://arxiv.org/abs/1504.02811](http://arxiv.org/abs/1504.02811)` .
[21] M.P. Teter, M.C. Payne, D.C. Allan, Solution of Schr¨odinger’s equation for
large systems, Physical Review B 40 (1989) 12255–12263.
[22] U. Trottenberg, C.W. Oosterlee, A. Sch¨uller, Multigrid, Academic Press,
2001.
[23] E. Vecharynski, Preconditioned Iterative Methods for Linear Systems,
Eigenvalue and Singular Value Problems, PhD thesis, University of Colorado Denver, 2011, 2011. URL: `[http://math.ucdenver.edu/graduate/](http://math.ucdenver.edu/graduate/thesis/evecharynski.pdf)`
`[thesis/evecharynski.pdf](http://math.ucdenver.edu/graduate/thesis/evecharynski.pdf)` .
[24] E. Vecharynski, A.V. Knyazev, Absolute value preconditioning for symmet
ric indefinite linear systems, SIAM J. Sci. Comput. 35 (2013) A696–A718.
22
[25] E. Vecharynski, C. Yang, F. Xue, Generalized preconditioned locally har
monic residual method for non-hermitian eigenproblems, submitted, 2015.
URL: `[http://arxiv.org/abs/1506.06829](http://arxiv.org/abs/1506.06829)` .
[26] A. Wathen, T. Rees, Chebyshev semi-iteration in preconditioning for prob
lems including the mass matrix, Electron. Trans. Numer. Anal. 34 (2009)
125–135.
[27] A. Wathen, D. Silvester, Fast iterative solution of stabilised stokes systems.
Part I: Using simple diagonal preconditioners, SIAM Journal on Numerical
Analysis 30 (1993) 630–649.
[28] C. Yang, J. Meza, B. Lee, L.W. Wang, KSSOLV—a MATLAB toolbox
for solving the Kohn-Sham equations, ACM Trans. Math. Softw. 36 (2009)
10:1–10:35.
[29] D.M. Young, K.C. Jea, Generalized conjugate-gradient acceleration of non
symmetrizable iterative methods, Linear Algebra and its Applications 34
(1980) 159–194.
23
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.