Iterative rational Krylov algorithm

From HandWiki

The iterative rational Krylov algorithm (IRKA), is an iterative algorithm, useful for model order reduction (MOR) of single-input single-output (SISO) linear time-invariant dynamical systems.[1] At each iteration, IRKA does an Hermite type interpolation of the original system transfer function. Each interpolation requires solving r shifted pairs of linear systems, each of size n×n; where n is the original system order, and r is the desired reduced model order (usually rn). The algorithm was first introduced by Gugercin, Antoulas and Beattie in 2008.[2] It is based on a first order necessary optimality condition, initially investigated by Meier and Luenberger in 1967.[3] The first convergence proof of IRKA was given by Flagg, Beattie and Gugercin in 2012,[4] for a particular kind of systems.

MOR as an optimization problem

Consider a SISO linear time-invariant dynamical system, with input v(t), and output y(t):

{x˙(t)=Ax(t)+bv(t)y(t)=cTx(t)An×n,b,cn,v(t),y(t),x(t)n.

Applying the Laplace transform, with zero initial conditions, we obtain the transfer function G, which is a fraction of polynomials:

G(s)=cT(sIA)1b,An×n,b,cn.

Assume G is stable. Given r<n, MOR tries to approximate the transfer function G, by a stable rational transfer function Gr, of order r:

Gr(s)=crT(sIrAr)1br,Arr×r,br,crr.

A possible approximation criterion is to minimize the absolute error in H2 norm:

Grargmindim(G^)=r,G^ stableGG^H2,GH22:=12π|G(ja)|2da.

This is known as the H2 optimization problem. This problem has been studied extensively, and it is known to be non-convex;[4] which implies that usually it will be difficult to find a global minimizer.

Meier–Luenberger conditions

The following first order necessary optimality condition for the H2 problem, is of great importance for the IRKA algorithm.

Theorem ([2][Theorem 3.4] [4][Theorem 1.2]) —  Assume that the H2 optimization problem admits a solution Gr with simple poles. Denote these poles by: λ1(Ar),,λr(Ar). Then, Gr must be an Hermite interpolator of G, through the reflected poles of Gr:

Gr(σi)=G(σi),Gr(σi)=G(σi),σi=λi(Ar),i=1,,r.

Note that the poles λi(Ar) are the eigenvalues of the reduced r×r matrix Ar.

Hermite interpolation

An Hermite interpolant Gr of the rational function G, through r distinct points σ1,,σr, has components:

Ar=Wr*AVr,br=Wr*b,cr=Vr*c,Arr×r,brr,crr;

where the matrices Vr=(v1vr)n×r and Wr=(w1wr)n×r may be found by solving r dual pairs of linear systems, one for each shift [4][Theorem 1.1]:

(σiIA)vi=b,(σiIA)*wi=c,i=1,,r.

IRKA algorithm

As can be seen from the previous section, finding an Hermite interpolator Gr of G, through r given points, is relatively easy. The difficult part is to find the correct interpolation points. IRKA tries to iteratively approximate these "optimal" interpolation points.

For this, it starts with r arbitrary interpolation points (closed under conjugation), and then, at each iteration m, it imposes the first order necessary optimality condition of the H2 problem:

1. find the Hermite interpolant Gr of G, through the actual r shift points: σ1m,,σrm.

2. update the shifts by using the poles of the new Gr: σim+1=λi(Ar),i=1,,r.

The iteration is stopped when the relative change in the set of shifts of two successive iterations is less than a given tolerance. This condition may be stated as:

|σim+1σim||σim|<tol,i=1,,r.

As already mentioned, each Hermite interpolation requires solving r shifted pairs of linear systems, each of size n×n:

(σimIA)vi=b,(σimIA)*wi=c,i=1,,r.

Also, updating the shifts requires finding the r poles of the new interpolant Gr. That is, finding the r eigenvalues of the reduced r×r matrix Ar.

Pseudocode

The following is a pseudocode for the IRKA algorithm [2][Algorithm 4.1].

algorithm IRKA
    input: A,b,c, tol>0, σ1,,σr closed under conjugation
        (σiIA)vi=b,i=1,,r % Solve primal systems
        (σiIA)*wi=c,i=1,,r % Solve dual systems

    while relative change in {σi} > tol
        Ar=Wr*AVr % Reduced order matrix
        σi=λi(Ar),i=1,,r % Update shifts, using poles of Gr
        (σiIA)vi=b,i=1,,r % Solve primal systems
        (σiIA)*wi=c,i=1,,r % Solve dual systems
    end while

    return Ar=Wr*AVr,br=Wr*b,crT=cTVr % Reduced order model

Convergence

A SISO linear system is said to have symmetric state space (SSS), whenever: A=AT,b=c. This type of systems appear in many important applications, such as in the analysis of RC circuits and in inverse problems involving 3D Maxwell's equations.[4] For SSS systems with distinct poles, the following convergence result has been proven:[4] "IRKA is a locally convergent fixed point iteration to a local minimizer of the H2 optimization problem."

Although there is no convergence proof for the general case, numerous experiments have shown that IRKA often converges rapidly for different kind of linear dynamical systems.[1][4]

Extensions

IRKA algorithm has been extended by the original authors to multiple-input multiple-output (MIMO) systems, and also to discrete time and differential algebraic systems [1][2][Remark 4.1].

See also

Model order reduction

References

  1. 1.0 1.1 1.2 "Iterative Rational Krylov Algorithm". https://morwiki.mpi-magdeburg.mpg.de/morwiki/index.php/Iterative_Rational_Krylov_Algorithm. 
  2. 2.0 2.1 2.2 2.3 Gugercin, S.; Antoulas, A.C.; Beattie, C. (2008), H2 Model Reduction for Large-Scale Linear Dynamical Systems, Journal on Matrix Analysis and Applications, 30, SIAM, pp. 609–638 
  3. L. Meier; D.G. Luenberger (1967), Approximation of linear constant systems, IEEE Transactions on Automatic Control, 12, pp. 585–588 
  4. 4.0 4.1 4.2 4.3 4.4 4.5 4.6 G. Flagg; C. Beattie; S. Gugercin (2012), Convergence of the Iterative Rational Krylov Algorithm, Systems & Control Letters, 61, pp. 688–691