Preconditioning the Restarted and Shifted Block FOM Algorithm for Matrix Exponential Computation

Gang Wu, Hong‐Kui Pang, Jiang-li Sun · DOI

Abstract

The approximation of $e^{tA}B$ where $A$ is a large sparse matrix and $B$ a rectangular matrix is the key ingredient in many scientific and engineering computations. A powerful tool to manage the matrix exponential function is to resort to a suitable rational approximation such as the Carathéodory-Fejér approximation, whose core reduces to solve shifted linear systems with multiple right-hand sides. The restarted and shifted block FOM algorithm is a commonly used technique for this problem. However, determining good preconditioners for shifted systems that preserve the original structure is a difficult task. In this paper, we propose a new preconditioner for the restarted and shifted block FOM algorithm. The key is that the absolute values of the poles of the Carathéodory-Fejér approximation are medium sized and can be much smaller than the norm of the matrix in question. The advantages of the proposed strategy are that we can precondition all the shifted linear systems simultaneously, and preserve the original structure of the shifted linear systems after restarting. Theoretical results are provided to show the rationality of our preconditioning strategy. Applications of the new approach to Toeplitz matrix exponential problem are also discussed. Numerical experiments illustrate the superiority of the new algorithm over many state-of-the-art algorithms for matrix exponential.

1. Introduction

The computation of the action of a matrix exponential on a block of vectors, denoted as $e^{tA}B$, is a fundamental operation in various scientific and engineering domains, including fluid dynamics, quantum mechanics, and the numerical solution of differential equations. For large-scale sparse matrices $A$, direct computation is computationally prohibitive. Krylov subspace methods are typically employed; however, standard polynomial approximations can converge slowly for certain spectra. Rational approximations, such as the Carathéodory-Fejér (CF) approximation, offer a robust alternative by transforming the problem into the solution of multiple shifted linear systems.

2. The Challenge of Shifted Linear Systems

The CF approximation reduces the matrix exponential problem to solving a set of systems of the form: $$(A - \tau_i I)X_i = B, \quad i = 1, \dots, N$$ where $\tau_i$ are complex shifts. While Krylov methods like the Shifted Block Full Orthogonalization Method (SBFOM) can solve these systems simultaneously by exploiting the shift-invariance of the Krylov subspace, they often suffer from slow convergence without preconditioning.

Traditional preconditioning poses a "paradox": applying a different preconditioner $M_i$ to each system $(A - \tau_i I)$ destroys the shift-invariant structure, requiring the construction of $N$ separate Krylov subspaces. This significantly increases the computational cost, negating the benefits of the shifted approach.

3. The PSBFOM-DR Algorithm

To address this, we propose the Preconditioned Shifted Block FOM with Deflated Restarting (PSBFOM-DR). The central innovation lies in the selection of a global preconditioner that preserves the shifted structure.

3.1. A as a Global Preconditioner

We propose using $M = A^{-1}$ as a right preconditioner for all shifted systems. By transforming the systems into: $$(I - \tau_i A^{-1})Y_i = B, \quad \text{where } X_i = A^{-1}Y_i$$ the identity matrix $I$ and the operator $A^{-1}$ remain consistent across all shifts $\tau_i$. Consequently, all systems share the same Krylov subspace $\mathcal{K}_m(A^{-1}, B)$. This allows for the simultaneous solution of all systems within a single subspace construction.

3.2. Theoretical Justification

The effectiveness of this strategy is rooted in the observation that for many physical systems (e.g., those involving discretized differential operators), the norm $\|A\|$ is significantly larger than the absolute values of the poles $|\tau_i|$ in the CF approximation. When $\|A\| \gg |\tau_i|$, the shifted matrix $(A - \tau_i I)$ is a small perturbation of $A$, making $A^{-1}$ an excellent preconditioner for the entire set of systems.

3.3. Deflated Restarting

To manage memory constraints in large-scale problems, PSBFOM-DR incorporates a deflated restarting mechanism. By retaining Ritz vectors corresponding to the smallest eigenvalues from previous cycles, the algorithm accelerates convergence in subsequent iterations, preventing the "stagnation" often seen in standard restarted Krylov methods.

4. Numerical Experiments and Discussion

The PSBFOM-DR algorithm was evaluated against state-of-the-art methods, including expv, phipm, and expmv, across various benchmarks.

4.1. Large-Scale Sparse Matrices

In tests using the Pres_Poisson matrix ($t = -1000$), PSBFOM-DR demonstrated superior efficiency. While the phipm method required a comparable amount of time (approx. 44.5 seconds), it necessitated 15 times more matrix-vector products to achieve the target accuracy. This highlights the efficiency of the preconditioned Krylov basis.

4.2. Toeplitz and Ill-conditioned Systems

The algorithm's scalability was tested on Toeplitz matrices with dimensions up to $n = 200,000$. Leveraging the Gohberg–Semencul formula for fast application of $A^{-1}$, PSBFOM-DR converged in 227 seconds, whereas competing Krylov methods failed to converge within reasonable time limits. Furthermore, the method proved robust for fractional diffusion problems with condition numbers as high as $10^{12}$.

5. Conclusion

PSBFOM-DR provides a powerful framework for computing $e^{tA}B$ by successfully integrating preconditioning with shifted Krylov subspace methods. By utilizing $A$ itself as a preconditioner, the method maintains shift-invariance while significantly accelerating convergence. Future research will explore the use of inexact solvers for the application of $A^{-1}$, potentially extending the reach of this method to even larger, memory-constrained problems.

Summary updated

BibTeX
@misc{wu2014preconditioning,
  author = {Gang Wu and Hong‐Kui Pang and Jiang-li Sun},
  title = {{Preconditioning the Restarted and Shifted Block FOM Algorithm for Matrix Exponential Computation}},
  year = {2014},
  eprint = {1405.0707},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1405.0707},
}
Figure