[Paper Review] Numerical Stability of s-step Enlarged Krylov Subspace Conjugate Gradient Methods
This paper introduces s-step enlarged Krylov subspace Conjugate Gradient methods that merge s iterations of enlarged Krylov methods into one to reduce communication in parallel computing. By computing st basis vectors per s-step iteration, the method achieves faster convergence and lower message-passing overhead than classical CG and standard enlarged CG, with numerically stable variants proposed for high-performance computing workloads.
Recently, enlarged Krylov subspace methods, that consists of enlarging the Krylov subspace by a maximum of t vectors per iteration based on the domain decomposition of the graph of A, were introduced in the aim of reducing communication when solving systems of linear equations Ax=b. In this paper, the s-step enlarged Krylov subspace Conjugate Gradient methods are introduced, whereby s iterations of the enlarged Conjugate Gradient methods are merged in one iteration. The numerical stability of these s-step methods is studied, and several numerically stable versions are proposed. Similarly to the enlarged Krylov subspace methods, the s-step enlarged Krylov subspace methods have a faster convergence than Krylov methods, in terms of iterations. Moreover, by computing st basis vectors of the enlarged Krylov subspace $\mathscr{K}_{k,t}(A,r_0)$ at the beginning of each s-step iteration, communication is further reduced. It is shown in this paper that the introduced methods are parallelizable with less communication, with respect to their corresponding enlarged versions and to Conjugate Gradient.
Motivation & Objective
- Address the communication bottleneck in Krylov subspace methods by reducing data movement in distributed memory systems.
- Accelerate convergence of Conjugate Gradient methods through enlarged Krylov subspaces that incorporate up to t vectors per iteration based on domain decomposition.
- Develop s-step versions of enlarged CG methods to merge s iterations into one, further minimizing communication while maintaining numerical stability.
- Propose numerically stable formulations of s-step and communication-avoiding (CA) enlarged CG variants for practical high-performance computing deployment.
- Demonstrate that the proposed methods reduce total communication costs compared to classical CG and standard enlarged CG, especially for large-scale systems.
Proposed method
- Introduce s-step enlarged Krylov subspace methods by merging s iterations of existing enlarged CG methods (SRE-CG, SRE-CG2, MSDO-CG) into a single iteration.
- Construct the enlarged Krylov subspace $\mathscr{K}_{k,t}(A,r_0)$ by computing st basis vectors at the start of each s-step iteration to minimize communication.
- Adapt short-recurrence formulas from SRE-CG and SRE-CG2 to s-step and communication-avoiding (CA) variants to maintain low memory usage.
- Develop preconditioned s-step and CA versions using split preconditioning to improve convergence and stability.
- Use modified Gram-Schmidt and orthogonalization techniques to maintain numerical stability in the s-step framework.
- Analyze communication complexity and message counts in distributed systems, showing reduced total messages compared to classical CG and standard enlarged CG.
Experimental results
Research questions
- RQ1Can s-step merging of enlarged Krylov subspace iterations reduce communication costs in parallel linear solvers while preserving numerical stability?
- RQ2How does the convergence rate of s-step enlarged CG methods compare to classical CG and standard enlarged CG in terms of iteration count and communication overhead?
- RQ3What are the numerical stability characteristics of s-step and communication-avoiding versions of enlarged CG methods, especially as s increases?
- RQ4To what extent do the proposed methods reduce total message-passing in distributed memory architectures compared to existing Krylov methods?
- RQ5How does preconditioning affect the performance and stability of s-step and CA enlarged CG methods in practice?
Key findings
- The s-step enlarged Krylov subspace CG methods reduce total communication by up to 67.37% compared to classical CG when $s=8$, $t=16$, and $j=5$, due to fewer iterations.
- For $s=2^i$ and $t=2^j$, the s-step SRE-CG version reduces communication by approximately 37.7% compared to classical CG when $i=2$, $j=5$.
- Numerical stability is maintained even for $s \geq 10$, with convergence iterations roughly halved per doubling of s, indicating robustness.
- The communication-avoiding (CA) SRE-CG variant reduces communication by 67.37% compared to CG under the same conditions, with stable convergence after preconditioning.
- The SRE-CG variants are the most memory-efficient among enlarged CG methods, storing only $(s+2)t$ vectors, making them practical for large-scale deployment.
- Despite higher per-iteration message counts, the total number of messages is lower than classical CG due to reduced iteration counts, especially for $t \geq 16$.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.