1. Home
  2. Archives
  3. Vol 50 (2018) Issue 2
  4. Articles

Enhancing the Stability of Lanczos-type Algorithms by Embedding Interpolation and Extrapolation for the Solution of Systems of Linear Equations

Abstract

A new method to treat the inherent instability of Lanczos-type algorithms is introduced. It enables us to capture the properties of the sequence of iterates generated by a Lanczos-type algorithm by interpolating on this sequence of points. The interpolation model found is then used to generate a point that is outside the range. It is expected that this new point will link up the rest of the sequence of points generated by the Lanczos-type algorithm if breakdown does not occur. However, because we assume that the interpolation model captures the properties of the Lanczos sequence, the new point belongs to that sequence since it is generated by the model. This paper introduces the so-called Embedded Interpolation and Extrapolation Model in Lanczos-type Algorithms (EIEMLA). The model was implemented in algorithms A13/B6 and A13/B13, which are new variants of the Lanczos algorithm. Individually, these algorithms perform badly on high dimensional systems of linear equations (SLEs). However, with the embedded interpolation and extrapolation models, EIEM A13/B6 and EIEM A13/B13, a substantial improvement in the performance on SLEs with up to 105 variables can be achieved.

Keywords

1 Introduction

Systems of linear equations (SLEs) are ubiquitous in science and engineering applications. There are several approaches for solving them, broadly classified as direct and iterative methods. There are two general classes of iterative methods to solve SLEs: stationary and non-stationary methods. Stationary methods include Richardson [1], Jacobi, Gauss-Seidel [2], and Successive Over-relaxation (SOR) [3], among others. Non-stationary methods include

Received May 16th, 2017, 1st Revision October 24th, 2017, 2nd Revision February 17th, 2018, Accepted for publication March 6th, 2018.

Copyright © 2018 Published by ITB Journal Publisher, ISSN: 2337-5760, DOI: 10.5614/j.math.fund.sci.2018.50.2.4

Conjugate Gradient [4], BCG, BICG [5], GMRES, Arnoldi type [6], and Lanczos type [7,8]. Non-stationary methods are generally more efficient and suitable for large systems of linear equations. They are based on orthogonal polynomials and are often referred to as Krylov subspace methods [9,10].

Among the iterative methods, for solving large linear systems with a sparse non-symmetric matrix, those based on the Lanczos process are the most effective. This is because they feature short recurrence relations for the generation of the Krylov subspace, which means low cost and low memory requirement [5]. They are, however, prone to breakdown [11]. Ways to avoid breakdown in Krylov subspace algorithms have been researched extensively in the last decades, resulting in new, more robust and efficient algorithms using, for instance, restarting and switching strategies that allow us to restart and switch between Lanczos-type algorithms before they break down [12,13]. A recent work, discussed in Maharani & Salhi [14], considered three quality points for restarting Lanczos-types algorithms.

In this study, we propose a novel strategy for SLEs that have a unique solution, which takes advantage of the existence of patterns in the solutions generated by Lanczos-type algorithms. The patterns persist in the entries of the iterates during the iteration process. Interpolating every entry of the iterates allows to obtain model functions that can be used to predict the entries of a new iterate. This iterate is expected to be better than the previous iterates generated by the Lanczos-type algorithm.

This paper is organized as follows. In Section 1, we look at the background theory of Lanczos-type algorithms for solving SLEs. The motivation and derivation of the new approach are given in Sections 2 and 3, respectively. Section 4 discusses the numerical results of EIEMLA's implementation of algorithms A13/B6 and A13/B13. The conclusion is given in Section 5.

2 Review of Lanczos-type Algorithms for the Solution of SLEs

The Lanczos method to solve system

\[A\mathbf{x} = \mathbf{b} \,, \tag{1}\] where ∈௫ and vectors , ∈ , is based on the Krylov subspace method. If and are two Krylov subspaces in , then we can choose an initial approximate solution so that

\[\mathbf{x}_{k} - \mathbf{x}_{0} \in K_{k}(A, \mathbf{r}_{0}) \tag{2}\] and

\[\mathbf{r}_{k} = \mathbf{b} - \mathbf{x}_{k} \perp L_{k} = K_{k}(A^{T}, \mathbf{y})\] (3)

where \(\mathbf{r}_0 = \mathbf{b} - \mathbf{x}_0\) is the corresponding residual vector, and \(\mathbf{y}\) is an arbitrary non-zero vector. Moreover, the residual \(\mathbf{r}_k\) satisfies the condition:

\[\langle \mathbf{y}, A^i P_k(A) \mathbf{r}_0 \rangle = 0\], for \(i = 0, 1, ..., n-1\), (4)

where \(P_k(t) = 1 + \alpha_1 t + \dots + \alpha_k t^k\) is a residual polynomial, i.e. \((\mathbf{r}_k = P_k(A)\mathbf{r}_0)\), of degree k at most. This polynomial satisfies the normal condition, \(P_k(0) = 1\). Let c be a linear functional in the vector space of polynomials, defined by

\[c_i = c(\mathbf{x}^i) \tag{5}\]

If we set \(c_i = \langle \mathbf{y}, A^i \mathbf{r}_0 \rangle\), then Relation in Eq. (4) can be written as

\[c(t^{i}P_{k}(t)) = 0, i = 0, 1, ..., k-1\] (6)

Relation in Eq. (6) indicates that the highest degree of \(P_k\) is k, and it belongs to the family of orthogonal polynomials with respect to function c. Thus, by using formula \(\mathbf{r}_k = P_k(A)\mathbf{r}_0\), we can set up the update solution, which is \(\mathbf{x}_k = \mathbf{b} - A\mathbf{r}_k\). All of this is derived recursively.

Some formulas that Lanczos-type algorithms are based on have been discovered by Brezinski, et al. (see [15,16]). They include formulas \(A_i\) and \(B_j\), for i,j=1,2,...,10. The extension of these formulas, which involve polynomials with a difference in degrees of at most two or three, were investigated in Farooq & Salhi [17]. They are formulas \(A_i\) and \(B_j\), for i,j=11,12,...,16. New variants of the Lanczos-type algorithm, which combine Baheux-type and Farooq-type algorithms, have been investigated in Ulah, et al. [18] and Suharto, et al. [19], who discovered formulas , A13/B6 and A13/B10.

3 Motivation

Breakdown can be avoided in a variety of ways. Here, we suggest regression as a means for that purpose. When breakdown occurs it is possible to remove the last iterate that caused breakdown from the sequence of Lanczos-type algorithm points, regress on this sequence (their entries) to find a suitable model, and then use this model to generate new points that are within the sequence of points that would have been generated by the Lanczos-type algorithm if breakdown had not occurred.

The idea is to exploit patterns that may exist in the sequences generated by a given Lanczos-type algorithm. After running such an algorithm for a certain number of iterations it was pre-emptively stopped before it breaks down. We then considered the generated iterates to see if any patterns existed. To illustrate what we mentioned above, we considered a Lanczos-type algorithm such as Orthodir [15], and ran it for 30 iterations to solve an SLE in 50 dimensions. We collected all iterates and saved them in Eq. (7) as follows:

\[data_{sol} = \begin{bmatrix} x_1^{(1)} & x_1^{(2)} & \dots & x_1^{(50)} \\ x_2^{(1)} & x_2^{(2)} & \dots & x_2^{(50)} \\ \vdots & & & & \\ x_{30}^{(1)} & x_{30}^{(2)} & \dots & x_{30}^{(50)} \end{bmatrix}\] \[(7)\]

We then plotted all the above iterates by using the Parallel Coordinate System (PCS) [20-23]. By visualizing high-dimensional data, PCS gives insight into the behavior of high-dimensional iterates generated over a number of iterations. This is the main motivation behind our idea to exploit patterns that may exist in iterates generated by Lanczos-type algorithms to improve the robustness of these algorithms.

5

Figure 1 Behavior of EIEM Orthodir and Orthodir algorithms on SLEs in 50 dimensions. The blue line corresponding to EIEM Orthodir, has some very good points and grows much slower than the one corresponding to Orthodir.

Figure 1 illustrates the PCS representation of all iterates generated by Orthodir. The entries of the iterates are represented on the x-axis, while the values of the entries are represented on the y-axis. As we can see here, after some time several iterates start to form similar shapes. Our assumption is that these iterates are close enough to the true solution. In other words, these iterates have a small

residual norm. We investigated this further by exploiting the patterns at the level of a single coordinate. More precisely, we were interested in the patterns of the entries of the iterates. This allowed us to work in a single dimension. If we have k iterates of an n-dimension problem, the following sequence

\[S = \left\{ \mathbf{x}_1, \mathbf{x}_2, ..., \mathbf{x}_k \right\} \tag{8}\]

holds them all. Now, consider the first entries of all iterates in S, the second entries of all iterates in S, etc. A regression model over all first entries will be used to generate the 1st entry of a new point; a regression model over all 2<sup>nd</sup> entries will be used to generate the second entry of the new point, etc. In this fashion we generate a new point that, as we will establish later, belongs to the sequence of iterates of the Lanczos-type algorithm that was stopped prematurely according to some norm. This idea should be applicable for instance when Lanczos process-based algorithms are used to generate eigenvalues and eigenvectors and in any iterative process where breakdown is an issue.

4 Generating the Approximate Solutions Using Interpolation and Extrapolation Model

A new approach to enhance the stability of Lanczos-type algorithms was developed, henceforth called Embedded Interpolation and Extrapolation Model in Lanczos-type Algorithms (EIEMLA).

4.1 Derivation of EIEMLA

Consider k iterates that form set S as in Eq. (8). As explained above, among the \(\mathbf{x}_k\), there are some iterates with small residual norms in interval [m-j,k]. Let \(\mathbf{x}_m\) have a corresponding minimum residual norm, \(\|\mathbf{r}_m\|\) and set

\[V_1 = \left\{ \mathbf{x}_{m-j}, \mathbf{x}_{m-j+1}, \dots, \mathbf{x}_k \right\} \tag{9}\] where

\[\mathbf{x}_{m-j} = [x_{m-j}^{(1)}, x_{m-j}^{(2)}, \cdots, x_{m-j}^{(n)}]^{T}\] \[\mathbf{x}_{m-j+1} = [x_{m-j+1}^{(1)}, x_{m-j+1}^{(2)}, \cdots, x_{m-j+1}^{(n)}]^{T}\] \[\vdots\] \[\mathbf{x}_{k} = [x_{k}^{(1)}, x_{k}^{(2)}, \cdots, x_{k}^{(n)}]^{T}\] (10)

We assume that the sequences \(v_1 = \{x_{m-j}^{(1)}, x_{m-j+1}^{(1)}, \cdots, x_k^{(1)}\},\) \(v_2 = \{x_{m-j}^{(2)}, x_{m-j+1}^{(2)}, \cdots, x_k^{(2)}\},\) ..., and \(v_n = \{x_{m-j}^{(n)}, x_{m-j+1}^{(n)}, \cdots, x_k^{(n)}\}\) have special properties, such as increasing or decreasing monotonically. In this case,

\(v_1, v_2, ..., v_n\) are obtained by rearranging entries in Eq. (10). According to [24], each \(v_i\) for i = 1, 2, ..., n, is monotonic and convergent to its limit. This means that

\[\lim_{k \to \infty} x_k^{(i)} = x_i^* \tag{11}\]

If we set

\[w_{1} = \left\{ \left( t_{m-j}, \mathbf{x}_{m-j}^{(1)} \right), \left( t_{m-j+1}, \mathbf{x}_{m-j+1}^{(1)} \right), \dots, \left( t_{k}, \mathbf{x}_{k}^{(1)} \right) \right\}\] \[w_{2} = \left\{ \left( t_{m-j}, \mathbf{x}_{m-j}^{(2)} \right), \left( t_{m-j+1}, \mathbf{x}_{m-j+1}^{(2)} \right), \dots, \left( t_{k}, \mathbf{x}_{k}^{(2)} \right) \right\},\] \[\vdots\] \[w_{n} = \left\{ \left( t_{m-j}, \mathbf{x}_{m-j}^{(n)} \right), \left( t_{m-j+1}, \mathbf{x}_{m-j+1}^{(n)} \right), \dots, \left( t_{k}, \mathbf{x}_{k}^{(n)} \right) \right\}\] \[(12)\] where \(t \in R\), then we can use PCHIP to interpolate and extrapolate Eq. (12). Let \(f_i\), for i = 1, 2, ..., n, be functions of the interpolation process. This means they satisfy

\[f_i(t) \cong x_t^{(i)}\], for \(i = 1, 2, ..., n\), (13)

for some t = m - j, m - j + 1, ..., k. For \(t^* \in [k+1, s] \subset R\), we have

\[f_i(t^*) \cong x_r^{(i)}\], for \(i = 1, 2, ..., n\) (14)

where \(s \ge k+1\). It is guaranteed that \(x_r^{(i)}\) has a similar property as \(x_t^{(i)}\) since the later vectors are the extrapolation results of the first one. In fact, we use PCHIP to produce, \(x_t^{(i)}\), where it preserves the properties of the data and captures the persistent patterns of the data. This process terminates by rearranging vectors \(x_r\), with \(x_r^{(i)}\) being the \(i^{th}\) entries of the vector. This whole process is called Embedded Interpolation and Extrapolation Model in Lanczostype Algorithms (EIEMLA).

Theoretically, since PCHIP captures the persistent pattern of the \(i^{th}\) entry, i=1,2,...,n, of the iterates generated by a Lanczos-type algorithm, the entries of the new iterate, as a result of the model function, are likely to behave the same as those entries. Furthermore, we can produce as many vector solutions as we want by applying the functions \(f_i\) over \(t^* \in R\) without running the Lanczos-type algorithm again. However, we should be aware that the quality of these generated solutions may not be good enough, in which case we must either restart the iterative process from the best point or take the best solution found so far as the candidate solution. It is therefore, reasonable to choose the integer s

such that the residual norms of the iterates generated by these functions, \(\mathbf{x}_{k+1}, \mathbf{x}_{k+2}, \dots, \mathbf{x}_s\), are small enough. In this case, we obtain another sequence of the iterates generated by EIEMLA. It is expected that these iterates replace the 'missing' iterates not generated by the Lanczos-type algorithm due to breakdown.

4.2 Implementation of the EIEMLA Method

The above results suggest a procedure for EIEMLA (see Algorithm 1). As an illustration of the implementation of EIEMLA, consider System in Eq. (1) with n=5. Orthodir is used to solve it over 50 iterations. Following the above procedures, we first collect all of the 50 iterates as. \(S = \{\mathbf{x}_1, \mathbf{x}_2, ..., \mathbf{x}_{150}\}\). A visualization of several entries of S is shown in Figure 1, Section 1. Secondly, we calculate index m of iterate \(\mathbf{x}_m\) associated with the lowest residual norm, \(\|\mathbf{r}_m\|\). In this particular example, \(\|\mathbf{r}_m\| - 0.0067\) with m=17. Thus rearranging S as in Eq. (1) yields the following sequence:

\[w_{1} = \left\{ \left( t_{7}, \mathbf{x}_{7}^{(1)} \right), \left( t_{8}, \mathbf{x}_{8}^{(1)} \right), ..., \left( t_{50}, \mathbf{x}_{50}^{(1)} \right) \right\}\] \[w_{2} = \left\{ \left( t_{7}, \mathbf{x}_{7}^{(2)} \right), \left( t_{8}, \mathbf{x}_{8}^{(2)} \right), ..., \left( t_{50}, \mathbf{x}_{50}^{(2)} \right) \right\}\] \[w_{50} = \left\{ \left( t_{7}, \mathbf{x}_{7}^{(n)} \right), \left( t_{8}, \mathbf{x}_{8}^{(n)} \right), ..., \left( t_{50}, \mathbf{x}_{50}^{(n)} \right) \right\}\] \[(18)\] where t is an integer within the range [m-10,50]. The choice of this range is based on our observation that some good iterates can be found in it. Also, based on Figure 1, the entries of the iterates in that range are increasing or decreasing monotonically.

The next step is to interpolate each \(w_i\) in Eq. (18) using PCHIP to get functions \(f_i\). We use these functions to extrapolate and generate points that are outside the range. In this case, we choose \(t^* \in [17,50]\). The interpolation and extrapolation results are captured in Figure 2. As can be seen, PCHIP interpolates the data accurately and smoothly (see the blue curves). However, the extrapolation results in some points are of poor quality. In Figure 2(a), for instance, the blue curve, which represents the PCHIP data, goes up after the \(\{50\}^{th}\) iteration. The PCHIP curve, on the other hand, seems monotone after the \(\{50\}^{th}\) iteration in Figures 2(b), (2c), and (2d).

Among the iterates generated by Orthdir, some entries behave as in Figure 2(a). This means their trend goes up or down after k iterations. However, there are many other entries that behave monotonically. Since we put all entries in one vector, overall, the effect of the fluctuating entries is smaller, which means that a good approximate solution may be generated.

After calculating functions over ∗, we now have the approximate solutions as in Eq. (16). We compute the residual norms accordingly. The behavior of EIEM Orthodir and Orthodir for this case, is represented in Figure 3. As can be seen, generally, the residual norms of the iterates generated by EIEM Orthodir (the blue curve) are found below those generated by Orthodir (the red curve) from iteration 17 to 50. In fact, at iteration 31, the residual norm hits the value of 0.003. However, it goes up after iteration 71.

3

Figure 2 The interpolation and extrapolation results of sequences , for ൌ 7,8, … 50 as in Eq. (18). The red curve represents all of the entries of the ௧ sequence, while the blue curve represents their interpolation and extrapolation results using PCHIP.

We can safely say that some iterates generated by EIEM Orthodir have smaller residual norms than all previous iterates generated by the Orthodir. On its own, it does not find solutions with such low residual norms, even with a high number of iterations.

2

Figure 3 Behavior of EIEM Orthodir and Orthodir algorithms on SLEs in 50 dimensions. The blue line, corresponding to EIEM Orthodir, has some very good points and grows much slower than that corresponding to Orthodir.

Algorithm 1. The EIEMLA method

  • 1. Initialization. Choose \(\mathbf{x}_0\) and \(\mathbf{y}\), Set \(\mathbf{r}_0 = \mathbf{b} A\mathbf{x}_0\), \(\mathbf{y}_0 = \mathbf{y}\), and \(\mathbf{z}_0 = \mathbf{r}_0\).
  • 2. Fix the number of iterations to, say, k, and the tolerance, \(\epsilon\), to E-13 and run the Lanczos-type algorithm.
  • 3. IF \(\{\|\mathbf{r}_m\| < \epsilon\}\)
  • 4. The solution is obtained
  • 5. Stop
  • 6. ELSE
  • 7. Collect all k vector solutions as in Eq. (7).
  • 8. Choose some j such that m j < k.
  • 9. Set \(w_i\) as in Eq. (18), for i = 1, 2, ..., n.
  • 10. Interpolate \(w_i\) using PCHIP to get \(f_i\).
  • 11. Choose \(t^* \in [m, s] \subset R\), where \(s \le m \le k\) is an integer, and calculate \(f_i(t^*)\)
  • 12. FOR \(\{q = 1, 2, ..., l\}\) DO
  • 13. Arrange vectors

14. \[\mathbf{x}_{*}^{(q)} = \begin{bmatrix} f_{1}^{(q)}(t^{*}) \\ f_{2}^{(q)}(t^{*}) \\ \vdots \\ f_{n}^{(q)}(t^{*}) \end{bmatrix}\] (16)

  • 15. Where l = length([m, s]).
  • 16. Calculate the residual norms of Eq. (16) as follows

17. \[\left\| \mathbf{r}_{*}^{(q)} \right\| = \mathbf{b} - A \mathbf{x}_{*}^{(q)}\] (17)

  • 18. ENDFOR
  • 19. ENDIF
  • 20. The solutions of the systems are \(\left\{x_*^{(1)}, x_*^{(2)}, \dots, x_*^{(l)}\right\}\)
  • 21. Stop.

4.3 Formal Basis of EIEMLA

As mentioned in the previous section, the sequences generated by Lanczos-type algorithms have the property of monotonicity. Since we consider PCHIP, which preserves monotonicity [25], to interpolate the sequences, we can assume that points returned by the function are also monotonic. This leads to the theorem below, which guarantees the monotonicity of sequences generated by Lanczos-type algorithms. The proofs of the theorems can be seen in the Appendix.

Theorem 1. Given a sequence \(x_k\) of k iterates generated by a Lanczos-type algorithm, sequences of \(x_k^{(i)}\), i = 1, 2, n, and k = 1, ... namely the entries of k iterates, are monotonic.

Lemma 1 [26]. Let \(A = VAV^{-1}\) be a nonsingular diagonalizable matrix, where V is a matrix that consists of the eigenvectors of A, S is a diagonal matrix with

\[A = \begin{bmatrix} B & -I & \cdots & \cdots & 0 \\ -I & B & -I & \cdots & & \\ \vdots & \ddots & \ddots & \ddots & \vdots \\ \vdots & & -I & B & -I \\ 0 & \cdots & \cdots & -I & B \end{bmatrix}\] \[a_{ii} \in \sigma(A) \text{ being the diagonal entries, and } \sigma(A)\] \[A = \begin{bmatrix} B & -I & \cdots & 0 \\ \vdots & \ddots & \ddots & \vdots \\ \vdots & & & & & & \\ 0 & \cdots & \cdots & & & & \\ \end{bmatrix}\] is the set of the eigenvalues of A. Then, \(||P_k(A)|| \le \kappa_2(V) \max_{\lambda \in \sigma(A)} |\lambda|\) where \(\kappa_2(V)\) is the condition of matrix V.

Theorem 2. Let \(x_1, x_2, ..., x_k, x_{k+1}\) be the iterates generated by the Orthodir algorithm. Let \(x_{model}\) be a vector returned by EIEMLA as explained in the previous section. Then, for some \(\in > 0\), \(||x_{k+1} - x_{model}|| \le \in\), where ||.|| is the Euclidean norm.

Based on the above theorem, we finally show that the residual norm of an iterate generated by EIEMLA is always smaller or equal to that of an iterate

generated by the Lanczos-type algorithm considered. In other words, better solutions are generated through this process.

Theorem 3. Let \(x_1, x_2, ..., x_k\) be the iterates generated by the Orthodir algorithm. Let \(r_{model}\) be a residual vector that corresponds to the iterate generated by EIEMLA. Then, \(||r_{model}|| \le (1 + |\lambda|) ||r_k||\).

5 Numerical Results and Discussion

Our test problems used in this study arise in the 5-point discretization of the operator \(-\frac{\partial^2}{\partial x^2} - \frac{\partial^2}{\partial y^2} + \gamma \frac{\partial}{\partial x}\) on a rectangular region [27]. This yields System in Eq. (1) with

\[A = \begin{bmatrix} B & -I & \cdots & \cdots & 0 \\ -I & B & -I & \cdots & & \\ \vdots & \ddots & \ddots & \ddots & \vdots \\ \vdots & & -I & B & -I \\ 0 & \cdots & \cdots & -I & B \end{bmatrix} \text{ and } B = \begin{bmatrix} 4 & \alpha & \cdots & \cdots & 0 \\ \beta & 4 & \alpha & \cdots & & \\ \vdots & \ddots & \ddots & \ddots & \vdots \\ \vdots & & \beta & 4 & \alpha \\ 0 & \cdots & \cdots & \beta & 4 \end{bmatrix}\] and \(\alpha = -1 + \delta\), \(\beta = -1 - \delta\), \(\delta\) takes values 0; 0.2; 0.5; 0.8; 5; 8. The parameter \(\delta\) plays an important role in the singularity of matrix A. For instance, when \(\delta = 0\), A is a symmetric matrix. The condition number of matrix A for this particular value of \(\delta\) is large enough, i.e. 119.9999. Any system built by this matrix tends to be ill-conditioned [28-30]. When \(\delta\) is large enough, matrix A can become well-conditioned. We can also say here that the SLEs that involve matrix A have a unique solution.

Furthermore, we use iterations \(k = 100 \le n\). The choice of k is based on the observation that Lanczos-type algorithms generally fail to find a good approximate solution after 100 iterations. In addition, the right-hand side \(\boldsymbol{b}\) is taken to be \(\boldsymbol{b} = A\boldsymbol{x}\), where \(\boldsymbol{x} = (x_1, x_2, ..., x_n)^T\) is the solution of the system, and \(x_i\), i = 1, 2, ..., n is a random value between 0 and 1. We use formulas \(A_{13}/B_6\) and \(A_{13}/B_{13}\) in this experiment as representative of Lanczos-type algorithms. Note, that the first formula is a new type of Lanczos algorithm, investigated in Ullah, et al. [18], while the second one is found in Suharto, et al. [19].

5.1 Numerical Results

The test problems were carried out under MATLAB 2015b on a computer with an Intel 2.40 GHz processor, Core i7, and 16 GB RAM. The aim of the experiment was to examine the reduction in the residual norm of the iterates generated by EIEMLA compared with the original Lanczos-type algorithms. All of the results are recorded in Tables 1 and 2, and visualized graphically.

Table 1 Comparison of residual norms of iterates generated by A13/B6 and generated by EIEM A13/B6 over 100 iterations.

Dim
n
A13B6
‖𝐫𝒌‖
EIEM A13B6
‖𝐫𝒎𝒐𝒅𝒆𝒍‖
Time (s)
10003.62E+0210.64980.3232
20006.42E+048.49980.3903
3000NaN4.98490.6783
40001.87E+0912.317417.8791
50001.87E+0912.31740.6783
6000NaN16.61640.7714
70004.69E+0312.77360.8029
80005.03E+082.23341.0650
90003.54E+031.17180.9489
100009.56E+0514.92701.0276
20000NaN9.68351.6685
300007.24E+10152.96142.6506
400001.15E+0313.12403.3747
500001.13E+1053.23634.3543
600001.67E+06154.00325.1728
70000NaN138.90455.8259
80000NaN82.38366.6018
900007.13E+0323.23967.1726
1000001.53E+074.47108.0383

Table 2 Comparison of residual norms of iterates generated by A13/B13 and generated by EIEM A13/B13 over 100 iterations.

Dim
n
A13B13
‖𝐫𝒌‖
EIEM A13B13
‖𝐫𝒎𝒐𝒅𝒆𝒍‖
Time (s)
1000NaN7.03910.3607
2000NaN3.62170.4311
3000NaN57.37440.7274
4000NaN50.13651.0101
5000NaN40.54671.5103
6000NaN3.52612.0745
7000NaN29.25772.6821
8000NaN78.55102.9997
9000NaN713.70554.2056
10000NaN9.98094.9926
20000NaN19.662720.0117
30000NaN24.783454.4602
2

Figure 4 Performance of Lanczos A13/B6 and EIEM A13/B6 on a variety of SLEs. Blue and red curves illustrate the residual norms of respectively Lanczos A13/B6 and EIEM A13/B6.

2

Figure 5 Performance of Lanczos A13/B13 and EIEM A13/B13 on a variety of SLEs. Blue and red curves illustrate the residual norms of respectively Lanczos A13/B13 and EIEM A13/B13 .

5.2 Discussion

Overall, the approximate solutions generated by the new algorithms, EIEM A13/B6 and EIEM A13/B13, were better than those from all of the previous iterates generated by the Lanczos-type algorithms alone. The residual norms of the iterates generated by both algorithms were smaller than all residual norms of the iterates generated by algorithms A13/B6 and A13/B13 individually. This is clearly visible in Tables 1 and 2. This was even worse for Lanczos A13/B13, where breakdown occurred in every SLE. There were, however, some cases where the new method seemed unsuccessful. It occurred, for instance, on the SLEs of dimensions 30000, 60000 and 70000 for algorithm EIEM A13/B6, and on the SLE of dimension 9000 for algorithm EIEM A13/B13.

Our above observations are supported by Figures 5 and 6. As can be seen in both figures, the residual norms of the iterates generated by either A13/B6 or A13/B13 individually, became larger and larger so that convergence was never reached. In contrast, both EIEM A13/B6 and EIEM A13/B13 generated approximate solutions with small residual norms, even smaller than the smallest residual norm of the iterates generated by A13/B6 and A13/B13 alone. Note that the residual norms of the solutions generated by EIEM A13/B6 and A13/B13 are still larger than the ambitious tolerance of 1E-13 we have imposed. One way of improving accuracy is perhaps to restart the algorithms with the final iterates, which are rather good. A discussion of the restarting strategy can be found in [31].

6 Summary

We have introduced a new approach to solving high-dimension SLEs by embedding an interpolation model in Lanczos-type algorithms, called EIEMLA. We implemented this approach for algorithms A13/B6 and A13/B13, which are new Lanczos-type algorithms. Experimentally, the idea enables us to find a good solution in terms of the residual norm, i.e. the solutions must have smaller residual norms than all of the previous iterates generated by algorithms A13/B6 and A13/B13. This helps avoid breakdown in both algorithms since we interpolate over a low number of iterations. Further investigation is required to find a prediction strategy, such as a regression, that fits the data in such a way that the embedded model produces better iterates still.

Acknowledgements

The experiments using formulas A13/B6 and A13/B13 were carried out by a coworker with one of my students, therefore my thanks go to Alifhar Juliansyah.

Research Intelligence

Data from OpenAlex ↗

Metrics

10
Citations
0.86
FWCIfield-weighted
77th
Percentilevs same year + field
Article
Work type
Open Access

Citation Trend

Citation Timeline

YearCitations
20261
20233
20222
20212
20192

Semantic Profile AI-classified research signals

Institution Network

References

  1. Golub, G.H. & Overton, M.L., Convergence of a Two-stage Richardson Iterative Procedure for Solving Systems of Linear Equations, Numerical Analysis, 912, pp. 125-139, 1982. DOI: 10.1007/bfb0093153
  2. Barret, R., Berry, M., Cahn, T.F., Demmel, J., Dongarra, J., Eijkhout, V. and Pozo, R., Romine, C. & Van der Vorst, V.A., Templates for the Solutions of Linear Systems: Building Block for Iterative Methods, Philadelphia: SIAM, pp. 3-155, 1994.
  3. Young Jr., D.M., Iterative Methods for Solving Partial Difference Equations of Elliptic type, Ph.D dissertation, Department of Mathematics, Harvard University, Cambridge, 1950.
  4. Magnus, R.H. & Stiefel, E., Methods of Conjugate Gradients for Solving Linear Systems, Journal of Research of the National Bureau of Standards, 49(6), pp. 409-436, 1952. DOI: 10.6028/jres.049.044
  5. Gutknecht, M.H., Lanczos-type Solvers for Nonsymmetric Linear Systems of Equations, Cambridge University Press, pp. 271-397, 1997. DOI: 10.1017/s0962492900002737
  6. Morgan, R.B., On Restarting the Arnoldi Method for Large Nonsymmetric Eigenvalue Problems, Mathematics of Computation, 65(4), pp. 1213-1230, 1996. DOI: 10.1090/s0025-5718-96-00745-4
  7. Lanczos, C., An Iteration Method for The Solution of the Eigenvalue Problem of Linear Differential and Integral Operator, Journal of Research of the National Bureau of Standards, 45, pp. 255-282, 1950.
  8. Lanczos, C., Solution of Systems of Linear Equations by Minimized Iteration, Journal of Research of the National Bureau of Standards, 49, pp. 33-53, 1952.
  9. Saad, Y., Krylov Subspace Method for Solving Large Unsymmetric Linear Systems, Mathematics of Computations, 37(155), pp. 105-126, 1981.
  10. Saad, Y., Iterative Methods for Sparse Linear Systems, Philadelphia: Society for Industrial and Applied Mathematics, 3rd Ed., pp. 5-10, 2003. DOI: 10.1137/1.9780898718003
  11. Brezinski, C. & Zaglia, R.H., A New Presentation of Orthogonal Polynomials with Applications to Their Computation, Numerical Algorithm, 1, pp. 207-221, 1991. DOI: 10.1007/bf02142322
  12. Farooq, M. & Salhi, A., A Preemptive Restarting Approach to Beating Inherent Instability, Iranian Journal of Science and Technology Transaction a Science, 37(Special Issue), pp. 349-358, 2013.
  13. Farooq, M. & Salhi, A., A Switching Approach to Beating the Inherent Instability of Lanczos-type Algorithms, Journal of Applied Mathematics and Information Systems, 8(5), pp. 2161-2169, 2014.
  14. Maharani, M. & Salhi, A., Restarting from Specific Points to Cure Breakdown in Lanczos-type Algorithms, Journal of Mathematical and Fundamental Sciences, 2(47), pp. 167-184, 2015. DOI: 10.5614/j.math.fund.sci.2015.47.2.5
  15. Brezinski, C. & Sadok, H., Lanczos-type Algorithms for Solving Systems of Linear Equation, Applied Numerical Mathematics, 11, pp. 443-473, 1993.
  16. Brezinski, C., Zaglia, R.H. & Sadok, H., The Matrix and Polynomial Approaches to Lanczos-type Algorithms, Journal Of Computational and Applied Mathematics, 123, pp. 241-260, 2000. DOI: 10.1016/s0377-0427(00)00397-6
  17. Farooq, M. & Salhi, A., New Recurrence Relationships between Orthogonal Polynomials which Lead to New Lanczos-type Algorithms, Journal of Prime Research in Mathematics, 8, pp. 61-75, 2012.
  18. Ullah, Z., Farooq, M. & Salhi, A., A19/B6: A New Lanczos-type Algorithm and its Implementation, Journal of Prime Research in Mathematics, 11, pp.106-122, 2015.
  19. Suharto, Rifka, A., Maharani, Maryani, S. & Juliansyah, A., New Lanczos Formula Types A13/B6 and A13/B10 for Solving Large Scale of Linear Systems, 1st International Conference on Mathematics, Science, and Education (ICOMSE 2017), 2017.
  20. Inselberg, A. & Dimsdale, B., Parallel Coordinates: A Tool for Visualizing Multi-Dimensional Geometry, IEEE Computer Society Press, Conference, pp. 361-378, 1990.
  21. Kosara, R., Parallel Coordinates, Cambridge University Press, http://eagereyes.org/techniques/parallel-coordinates.html, 2012.
  22. Shanon, R., Holland, T. & Quigley, A., Multivariate Graph Drawing using Parallel Coordinate Visualization, University College Dublin, pp. 361-378, 2008.
  23. Few, S., Multivariate Analysis Using Parallel Coordinates, https://www.perceptualedge.com/articles/b-eye/parallel_coordinates.pdf, (30 June 2012).
  24. Sidi, A., William, F.F. & Smith, D.A., Acceleration of Convergence of Vector Sequences, SIAM Journal on Numerical Analysis, 23(1), pp. 178-196, 1986. DOI: 10.1137/0723013
  25. Delbourgo, R. & Gregory, J.A., Shape Preserving Piecewise Rational Interpolation, SIAM Journal on Scientific and Statistical Computing, 10, 1983.
  26. Kelley, C.T., Iterative Methods for Linear and Nonlinear Equations, Philadelphia: Society for Industrial and Applied Mathematics, pp. 25-30, 1995.
  27. Baheux, C., New Implementations of Lanczos Method, Journal of Computational and Applied Mathmatics, 57(3), pp. 3-155, 1995. DOI: 10.1016/0377-0427(93)e0230-j
  28. Datta, B.N., Numerical Linear Algebra and Applications, Philadelphia: Society for Industrial and Applied Mathematics, 5th Ed., pp. 5-10, 2000.
  29. Farooq, M. & Salhi, A., Improving the Solvability of Ill-Conditioned Systems of Linear Equations by Reducing the Condition Number of their Matrices, Journal of the Korean Mathematical Society, 48(5), pp. 939-952, 2011. DOI: 10.4134/jkms.2011.48.5.939
  30. Higham, N.J., Accuracy and Stability of Numerical Algorithms, Philadelphia: Society for Industrial and Applied Mathematics, 3rd Ed., pp. 5-10, 2002. DOI: 10.1137/1.9780898718027
  31. Maharani, M., Salhi, A. & Khan, W., Enhanced the Stability of Lanczos-type Algorithms by Restarting the Point Generated by EIEMLA for the Solution of Systems of Linear Equations, International Science Journal, Lahore, 28(4), pp. 3325-3335, 2016.