Papers
Topics
Authors
Recent
Search
2000 character limit reached

Randomized Krylov-Schur Eigsolver

Updated 8 July 2026
  • Randomized Krylov-Schur (rKS) is a randomized eigensolver that extracts a few eigenpairs from large matrices using low-dimensional sketching.
  • It replaces costly full-dimensional orthogonalization with sketch-based methods, ensuring stable eigenvalue extraction via Schur reordering and restart.
  • The method incorporates deflation and locking of converged eigenpairs, accelerating convergence and maintaining backward stability in large-scale eigenproblems.

Searching arXiv for the rKS paper and related randomized orthogonalization references mentioned in the source material. First, locating the main paper by arXiv id. Randomized Krylov–Schur (rKS) is a randomized eigensolver for large-scale eigenvalue problems that seeks a small subset of eigenpairs of a matrix ARn×nA\in\mathbb R^{n\times n} with n1n\gg 1. It is introduced as a variant of the Krylov–Schur framework in which full-dimensional orthogonalization is replaced by low-dimensional sketching, while Schur truncation, restart, and a practical deflation technique for converged eigenpairs are retained. The method is designed for settings in which only a few largest-magnitude or interior eigenvalues are needed, and a full Schur or QR factorization is impractical. Its defining features are sketch-orthogonalization in a reduced dimension, stable reordering of small Schur factorizations, and locking of converged Ritz vectors so that the eigenspace associated with a prescribed spectral region can be computed efficiently (Damas et al., 7 Aug 2025).

1. Problem formulation and relation to Krylov–Schur

The method addresses the eigenvalue problem

Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,

under the assumption that only a small subset knk\ll n of eigenpairs is sought. The motivating examples stated for this regime include structural mechanics, quantum chemistry, and data science, where the dimension is too large for direct dense factorizations and only part of the spectrum is relevant (Damas et al., 7 Aug 2025).

Like classical Krylov methods, rKS operates through low-dimensional projection onto a Krylov subspace,

Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,

from which approximate eigenpairs are extracted by Rayleigh–Ritz projection. The description explicitly places rKS in the lineage of the classical Krylov–Schur method of Stewart (2002), which alternates between constructing an Arnoldi-like decomposition of length mm, computing a small Schur decomposition and truncating unwanted directions, and restarting by re-expanding back to length mm (Damas et al., 7 Aug 2025).

The principal distinction is computational. In the classical setting, repeated orthonormalization of mm vectors of length nn incurs a cost of approximately O(nm2)O(nm^2), while each restart also requires an n1n\gg 10 Schur factorization with cost n1n\gg 11. rKS modifies the orthogonalization stage by maintaining a sketch of the basis in a much lower-dimensional space, so that orthogonality is checked and enforced in the sketch rather than directly in n1n\gg 12. This suggests that rKS should be viewed not as a new spectral projection principle, but as a randomized implementation of the existing Krylov–Schur cycle with a different orthogonalization mechanism (Damas et al., 7 Aug 2025).

2. Randomized sketching and the Arnoldi factorization

The randomization mechanism is formulated through an n1n\gg 13-subspace embedding n1n\gg 14, with n1n\gg 15, such that for every n1n\gg 16 in the relevant n1n\gg 17-dimensional subspace,

n1n\gg 18

By Johnson–Lindenstrauss arguments, the description states that a Gaussian or sparse-sign n1n\gg 19 of size Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,0 has this property with high probability, so orthogonality in the sketch reflects true orthogonality up to Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,1 distortion (Damas et al., 7 Aug 2025).

The algorithm begins by drawing an oblivious Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,2-embedding Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,3 with Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,4, for example using sparse Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,5 signs, and by selecting a random unit vector Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,6 whose sketch is normalized so that Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,7. It then constructs a length-Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,8 randomized Arnoldi factorization

Ax=λx,ARn×n,  n1,A x = \lambda x,\qquad A\in\mathbb R^{n\times n},\; n\gg 1,9

where knk\ll n0 is sketch-orthonormal and knk\ll n1 is upper-Hessenberg (Damas et al., 7 Aug 2025).

The parallel sketch variables are

knk\ll n2

At each step knk\ll n3, the method computes knk\ll n4, forms its sketch knk\ll n5, projects in the sketch space via

knk\ll n6

uses the resulting coefficients in the high-dimensional update

knk\ll n7

and normalizes by the sketched norm,

knk\ll n8

After augmentation of knk\ll n9 and Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,0, the resulting factorization satisfies

Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,1

with

Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,2

in the stated formulation (Damas et al., 7 Aug 2025).

The reduction in orthogonalization cost is central. Replacing full Gram–Schmidt on Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,3-vectors by Gram–Schmidt on Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,4-dimensional sketches changes the orthogonalization cost from Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,5 to Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,6, with only an Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,7 degradation in conditioning. In the paper’s formulation, the randomized Arnoldi basis is therefore controlled through the geometry of the sketch rather than through explicit Euclidean orthogonalization in the ambient space (Damas et al., 7 Aug 2025).

3. Schur contraction, Ritz extraction, and restart

Once the length-Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,8 factorization is available, rKS returns to a standard Krylov–Schur pattern in reduced dimension. The projected Hessenberg matrix Km(A,v1)=span{v1,Av1,,Am1v1},mn,\mathcal K_m(A,v_1)=\operatorname{span}\{v_1,Av_1,\dots,A^{m-1}v_1\},\quad m\ll n,9 is factorized in real Schur form,

mm0

where mm1 is orthonormal and mm2 is block-upper triangular. The Schur form is then reordered so that the mm3 wanted Ritz values occupy the leading mm4 block. Writing mm5 with mm6, the method contracts the decomposition to

mm7

so that

mm8

The small eigenproblem

mm9

is then solved, and each eigenpair mm0 lifts to the Ritz pair

mm1

(Damas et al., 7 Aug 2025).

The paper’s pseudocode presents the rKS cycle as five stages: expansion to length mm2 via randomized Arnoldi; Schur factorization and reordering; Ritz extraction and residual checking; deflation or locking of converged Ritz pairs; and contraction to the unlocked invariant component before the next restart. In that pseudocode, the residual proxy is written as

mm3

with reference to equation (2.33) in the paper, and Ritz vectors with mm4 are locked (Damas et al., 7 Aug 2025).

This design preserves the Arnoldi mm5 Schur mm6 truncate mm7 restart logic of classical Krylov–Schur while moving the most expensive orthogonalization work into the sketch space. A plausible implication is that the method’s behavior remains structurally familiar to practitioners of implicitly restarted Arnoldi and Krylov–Schur, even though the basis management strategy is randomized.

4. Deflation and locking of converged eigenpairs

A distinguishing feature of the method is its practical deflation technique for converged eigenpairs. In the single-vector case, after contraction the decomposition is assumed to have the form

mm8

with mm9. Under this condition, mm0 approximately satisfies mm1, and the vector is locked by replacing mm2 with the deflated operator

mm3

The description states that mm4 is then an exact Schur vector of mm5 with eigenvalue mm6, while the remaining factorization becomes

mm7

Subsequent Arnoldi steps enforce orthogonality to the locked vector through

mm8

(Damas et al., 7 Aug 2025).

The subspace version generalizes this mechanism. If mm9 vectors nn0 have converged, the projector is formed as

nn1

and the operator is replaced by

nn2

The stated consequence is that the locked subspace nn3 remains invariant under nn4, with zero eigenvalues in nn5, while the rKS cycle continues on the complement nn6 (Damas et al., 7 Aug 2025).

In operational terms, the deflation mechanism reduces the active subspace dimension after convergence of part of the spectrum. The numerical summary explicitly reports that locking converged vectors reduced subsequent subspace dimension and accelerated convergence, with backward error consistent with theory (Damas et al., 7 Aug 2025). This suggests that deflation is not merely an implementation convenience, but an integral component of the method’s scalability when a sequence of targeted eigenpairs is required.

5. Complexity, conditioning, and stability

The per-restart computational cost is decomposed into matrix–vector products, sketching, low-dimensional orthogonalization, and a small Schur factorization. The paper states the following costs for one cycle: nn7 products nn8 with complexity nn9; sketch formation O(nm2)O(nm^2)0 at O(nm2)O(nm^2)1 per step, or O(nm2)O(nm^2)2 if O(nm2)O(nm^2)3 is very sparse; computation of O(nm2)O(nm^2)4 and related Gram–Schmidt operations in sketch space at O(nm2)O(nm^2)5; and Schur factorization of O(nm2)O(nm^2)6 at O(nm2)O(nm^2)7. The resulting total is summarized as

O(nm2)O(nm^2)8

in contrast to the classical cost

O(nm2)O(nm^2)9

(Damas et al., 7 Aug 2025).

The stability discussion is likewise phrased in terms of the sketch. Because n1n\gg 100 is an n1n\gg 101-embedding for the evolving Krylov subspace, the sketched basis satisfies

n1n\gg 102

Using Corollary 2.2 in Balabanov–Grigori ’22 as cited in the paper, the condition number of the full basis n1n\gg 103 remains n1n\gg 104, which is used to justify that the projected small problem is well-conditioned (Damas et al., 7 Aug 2025).

For a Ritz pair n1n\gg 105 extracted from

n1n\gg 106

the residual norm is bounded according to Theorem 2.14 of the paper by

n1n\gg 107

The deflation stage introduces an additional tolerance parameter n1n\gg 108, and the paper states that the backward error on each locked eigenpair is n1n\gg 109, so the method is backward stable up to the sketch distortion n1n\gg 110 (Damas et al., 7 Aug 2025).

The stated interpretation is that randomization changes the orthogonalization model but does not forfeit the stability guarantees typically required of restarted Krylov eigensolvers. A plausible implication is that parameter selection for n1n\gg 111, n1n\gg 112, and n1n\gg 113 governs an explicit trade-off between orthogonalization cost and spectral accuracy.

6. Parameterization, implementation, and numerical behavior

The implementation guidance in the paper is specific. The sketch dimension is taken as n1n\gg 114 with n1n\gg 115, and n1n\gg 116 is reported to give n1n\gg 117 in practice. The Krylov dimension is often recommended as n1n\gg 118; if n1n\gg 119 is too small, convergence slows, whereas excessively large n1n\gg 120 increases per-cycle cost. For the embedding n1n\gg 121, the two listed options are dense Gaussian and sparse n1n\gg 122 signs with a few nonzeros per column. For sketch-orthonormalization, the recommended choices are Randomized Gram–Schmidt (RGS) of Balabanov–Grigori ’22 and Randomized Householder QR of Grigori–Timsit ’24, which the description states cost half the flops of classical Gram–Schmidt and maintain sketch-orthonormality to high accuracy. For Schur reordering, LAPACK’s dtrsen or Kressner’s block-reordering algorithms are suggested. Storage requires both n1n\gg 123 and its sketch n1n\gg 124, and contraction applies the same orthonormal transformations to both (Damas et al., 7 Aug 2025).

The numerical experiments summarized in the source description cover both synthetic and real sparse problems. For synthetic tri-diagonal tests with n1n\gg 125 up to n1n\gg 126, n1n\gg 127, and n1n\gg 128, using exponential, logarithmic, harmonic, and geometric diagonal spectra with Gaussian sub-diagonal noise, rKS was reported as n1n\gg 129–n1n\gg 130 faster than classical IRA/KS, often converging in fewer restarts, while producing identical Ritz values and residuals below n1n\gg 131. For real sparse matrices from the UF collection, including Atmosmodl and Vas_stokes_4M, with n1n\gg 132 and n1n\gg 133, the method ran n1n\gg 134–n1n\gg 135 faster than both MATLAB’s eigs (IRA) and the authors’ deterministic Krylov–Schur implementation, and was described as robust to the choice of n1n\gg 136 (Damas et al., 7 Aug 2025).

These results are presented as evidence that the method scales on large nonsymmetric problems while preserving the overall Krylov–Schur architecture. Within that framing, rKS is characterized by three coupled design choices: low-dimensional sketching in place of full-dimensional orthogonalization, Schur-based restart and truncation on the projected problem, and locking of converged eigenpairs through deflation.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Randomized Krylov-Schur (rKS).