NLA-lib Explorer

Randomized block Krylov iteration (RBKI)

Project the matrix onto a block Krylov space generated from its sketch. This page concerns the untruncated projection. Its rank-r truncation is a different output with its own statements, on the late-truncated RBKI page.

Definition

Definition (Randomized block Krylov iteration). For a matrix \mathbf{A}, a start block \mathbf\Omega with \ell columns, and q blocks, form the column space generated by

\mathbf{Y}=[\mathbf{A}\mathbf\Omega,\ (\mathbf{A}\mathbf{A}^{\mathsf{H}})\mathbf{A}\mathbf\Omega,\ldots,(\mathbf{A}\mathbf{A}^{\mathsf{H}})^{q-1}\mathbf{A}\mathbf\Omega]

and return

\mathsf{rbki}(\mathbf{A},\mathbf\Omega,q)=\mathbf{P}_{\mathbf{Y}}\mathbf{A}.

This is a deterministic function of \mathbf{A}, \mathbf\Omega, and q, over real or complex scalars. It is the zero matrix for q=0 and the range-finder approximation \mathsf{rsvd}(\mathbf{A},\mathbf\Omega) for q=1. Unlike subspace iteration, the block Krylov range retains all these powers.

Lean statement and details
NLAlib.rbki.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2} {m : Type u_3}
  {n : Type u_4} [Fintype l] [Fintype m] [Fintype n] [DecidableEq n] (A : Matrix m n 𝕜)
  (Ω : Matrix n l 𝕜) (q : ℕ) : Matrix m n 𝕜

Full source on GitHub

Copy link

Singular values are indexed from zero, \sigma_0\ge\sigma_1\ge\cdots, so the best rank-r spectral error is \sigma_r, and [\mathbf{A}]_r denotes the rank-r truncated singular-value decomposition. For a head index h and a tail index t, the relative gap is

\gamma=\frac{\sigma_h-\sigma_t}{\sigma_h+\sigma_t},

with \gamma=0 when both singular values vanish.

Components

The definition is a projection and prescribes no computation. The Golub–Kahan process computes factors whose product, in exact arithmetic, equals \mathsf{rbki}(\mathbf{A},\mathbf\Omega,q); that identity is stated on the process page and the scope of its program on the implementation page.

Golub–Kahan process

Build a pair of Krylov bases and a block bidiagonal factorization of a rectangular operator.

Mathematical guarantees

These are upper bounds on the expected squared error for a real matrix \mathbf{A} with n columns and an n\times\ell start block \mathbf{X} with independent standard normal entries. They require a block wider than the tail index, t+2\le\ell or r+2\le\ell. The gapped bounds are proved by comparing the block Krylov range with the range of a polynomially filtered sketch.

Theorem (Expected spectral error with a gap). Let q\ge1, let r=h+1 be the number of head singular values, and let t\ge r be a tail index with t+2\le\ell. Then

\mathbb{E}\|\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf{X},q)\|_2^2\le\sigma_r^2+4e^{-8(q-1)\sqrt{\gamma}}\,\frac{t}{\ell-t-1}\,\|\mathbf{A}-[\mathbf{A}]_t\|_{\mathrm{F}}^2,\qquad\gamma=\frac{\sigma_h-\sigma_t}{\sigma_h+\sigma_t}.

No positivity of the gap or of \sigma_t is assumed; the exponential factor decreases with the depth when \gamma>0.

Lean statement and details

General form: sizes are index types

NLAlib.integral_specNorm_sub_rbki_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3,
    u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l ℝ}
  (A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {h r t q : ℕ} (hr : h + 1 = r)
  (hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) (hq : 1 ≤ q) :
  ∫ (ω : Ω), specNorm (A - rbki A (X ω) q) ^ 2 ∂μ ≤
    singularValues A r ^ 2 +
      4 * rexp (-8 * (↑q - 1) * √(singularGapRatio A h t)) * (↑t / (↑(Fintype.card l) - ↑t - 1)) *
        frobNorm (A - truncatedSVD A t) ^ 2

Full source on GitHub

Copy link

Theorem (Expected Frobenius error with a gap). Under the same hypotheses (q\ge1, r=h+1\le t, t+2\le\ell),

\mathbb{E}\|\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf{X},q)\|_{\mathrm{F}}^2\le\|\mathbf{A}-[\mathbf{A}]_r\|_{\mathrm{F}}^2+4e^{-8(q-1)\sqrt{\gamma}}\,\frac{t}{\ell-t-1}\,\|\mathbf{A}-[\mathbf{A}]_t\|_{\mathrm{F}}^2.

Lean statement and details

General form: sizes are index types

NLAlib.integral_frobNorm_sub_rbki_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3,
    u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l ℝ}
  (A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {h r t q : ℕ} (hr : h + 1 = r)
  (hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) (hq : 1 ≤ q) :
  ∫ (ω : Ω), frobNorm (A - rbki A (X ω) q) ^ 2 ∂μ ≤
    frobNorm (A - truncatedSVD A r) ^ 2 +
      4 * rexp (-8 * (↑q - 1) * √(singularGapRatio A h t)) * (↑t / (↑(Fintype.card l) - ↑t - 1)) *
        frobNorm (A - truncatedSVD A t) ^ 2

Full source on GitHub

Copy link

Theorem (Expected spectral error without a gap). Let q\ge2 and let r be a target rank with r+2\le\ell and \sigma_r>0. Then

\mathbb{E}\|\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf{X},q)\|_2^2\le\sigma_r^2\exp\!\biggl(\frac{1}{16(q-1)^2}\log^2\!\Bigl(4\Bigl(1+\frac{r}{\ell-r-1}\,\frac{\|\mathbf{A}-[\mathbf{A}]_r\|_{\mathrm{F}}^2}{\sigma_r^2}\Bigr)\Bigr)\biggr).

No gap between singular values is assumed. For fixed \mathbf{A} the right side tends to \sigma_r^2 as q\to\infty.

Lean statement and details

General form: sizes are index types

NLAlib.integral_specNorm_sub_rbki_sq_le_mul_exp_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l ℝ}
  (A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {r q : ℕ} (hr : r + 2 ≤ Fintype.card l)
  (hq : 2 ≤ q) (hσ : 0 < singularValues A r) :
  ∫ (ω : Ω), specNorm (A - rbki A (X ω) q) ^ 2 ∂μ ≤
    singularValues A r ^ 2 *
      rexp (Real.log (4 * rangeFinderTailRatio A r (Fintype.card l)) ^ 2 / (16 * (↑q - 1) ^ 2))

Full source on GitHub

Copy link

Theorem (Expected spectral error without a gap, relative form). Let q\ge1, let r be a target rank with r+2\le\ell, and let \varepsilon>0. Then

\mathbb{E}\|\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf{X},q)\|_2^2\le(1+\varepsilon)^2\sigma_r^2+4e^{-8(q-1)\sqrt{\varepsilon/(2+\varepsilon)}}\,\frac{r}{\ell-r-1}\,\|\mathbf{A}-[\mathbf{A}]_r\|_{\mathrm{F}}^2.

No gap is assumed and \sigma_r>0 is not required. This bound and the preceding one are alternative regimes for the same error.

Lean statement and details

General form: sizes are index types

NLAlib.integral_specNorm_sub_rbki_sq_le_one_add_sq_mul_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l ℝ}
  (A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {r q : ℕ} (hr : r + 2 ≤ Fintype.card l)
  (hq : 1 ≤ q) {ε : ℝ} (hε : 0 < ε) :
  ∫ (ω : Ω), specNorm (A - rbki A (X ω) q) ^ 2 ∂μ ≤
    (1 + ε) ^ 2 * singularValues A r ^ 2 +
      4 * rexp (-8 * (↑q - 1) * √(ε / (2 + ε))) * (↑r / (↑(Fintype.card l) - ↑r - 1)) *
        frobNorm (A - truncatedSVD A r) ^ 2

Full source on GitHub

Copy link

The same result groups contain a form in every unitarily invariant norm for the Gram residual and forms that give a sufficient depth q for a relative accuracy \varepsilon; they are in the Library.

Block sizes below the target rank

The statements in this section hold for narrow start blocks, down to a single start vector. The tail bounds assume a relative gap \Delta among the leading singular values and a depth q at least the number of those singular values; the expectation bounds above need no gap \Delta but a block of at least t+2 or r+2 columns.

Theorem (The simulated block). Let \mathbf{A} be a real or complex m\times n matrix, \mathbf\Omega a start block with n rows, and \mathbf{H}=\mathbf{A}^{\mathsf{H}}\mathbf{A}. For all integers s,q\ge0,

\mathsf{rbki}\bigl(\mathbf{A},\ [\mathbf\Omega,\mathbf{H}\mathbf\Omega,\ldots,\mathbf{H}^{s}\mathbf\Omega],\ q+1\bigr)=\mathsf{rbki}(\mathbf{A},\mathbf\Omega,\ s+q+1).

Running s+q+1 blocks from \mathbf\Omega gives the same approximation as running q+1 blocks from the wider block built from the first s+1 Krylov blocks of \mathbf\Omega. This is an identity of matrices, with no assumption on rank or on the block.

Lean statement and details
NLAlib.rbki_blockKrylovMatrix.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2}
  {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m] [Fintype n] [DecidableEq n]
  (A : Matrix m n 𝕜) (Ω : Matrix n l 𝕜) (s q : ℕ) :
  rbki A (blockKrylovMatrix (Aᴴ * A) Ω (s + 1)) (q + 1) = rbki A Ω (s + q + 1)

Full source on GitHub

Copy link

Theorem (A block with a larger range does at least as well). Let \mathbf\Omega and \mathbf\Omega' be start blocks with \operatorname{range}(\mathbf\Omega')\subseteq\operatorname{range}(\mathbf\Omega); for example \mathbf\Omega' consists of some columns of \mathbf\Omega. Then for every number of blocks q and every index i,

\sigma_i\bigl(\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf\Omega,q)\bigr)\le\sigma_i\bigl(\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf\Omega',q)\bigr).

The comparison is for the untruncated approximation at the same depth q.

Lean statement and details
NLAlib.singularValues_sub_rbki_le_of_range_le.{u_1, u_2, u_3, u_4, u_5} {𝕜 : Type u_1} [RCLike 𝕜]
  {l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m] [Fintype n] [DecidableEq n]
  {l' : Type u_5} [Fintype l'] (A : Matrix m n 𝕜) {Ω : Matrix n l 𝕜} {Ω' : Matrix n l' 𝕜}
  (h : Ω'.mulVecLin.range ≤ Ω.mulVecLin.range) (q i : ℕ) :
  singularValues (A - rbki A Ω q) i ≤ singularValues (A - rbki A Ω' q) i

Full source on GitHub

Copy link

Theorem (Single start vector with a gap: spectral-norm tail bound). Let \mathbf{A} be a real matrix with n columns and let \mathbf{x}\in\mathbb{R}^n have independent standard normal entries. Fix a head of r=h+1 singular values, a tail index t\ge r, a depth q\ge t, and \delta>0. Suppose there is \Delta>0 with

\sigma_{i+1}^2\le(1-\Delta)\,\sigma_i^2\qquad\text{whenever } i+1<t,

and let \gamma=(\sigma_h-\sigma_t)/(\sigma_h+\sigma_t). Then

\mathbb{P}\Bigl[\|\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf{x},q)\|_2^2>\sigma_r^2+32\,e^{-8(q-t)\sqrt\gamma}\,\Delta^{-2(t-1)}\,\frac{t^3}{\delta^3}\,\|\mathbf{A}-[\mathbf{A}]_t\|_{\mathrm{F}}^2\Bigr]\le\delta.

The start block is the single column \mathbf{x}. The gap hypothesis concerns only \sigma_0,\ldots,\sigma_{t-1}: no gap between \sigma_{t-1} and \sigma_t and no positivity of \sigma_{t-1} is assumed. The same result group, listed under Further results, contains the Frobenius-norm form and an expectation restricted to an explicit event.

Lean statement and details
NLAlib.measureReal_specNorm_sub_rbki_sq_gt_le_of_hasLaw_gaussianVector.{u_1, u_2, u_3}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3} [Fintype m]
  [Fintype n] [DecidableEq n] {x : Ω → n → ℝ} (A : Matrix m n ℝ)
  (hx : HasLaw x (gaussianVector n) μ) {h r t q : ℕ} (hr : h + 1 = r) (hrt : r ≤ t) (hq : t ≤ q)
  {Δ δ : ℝ} (hΔ : 0 < Δ) (hδ : 0 < δ)
  (hgap : ∀ (i : ℕ), i + 1 < t → singularValues A (i + 1) ^ 2 ≤ (1 - Δ) * singularValues A i ^ 2) :
  μ.real
      {ω |
        singularValues A r ^ 2 +
            32 * rexp (-8 * (↑q - ↑t) * √(singularGapRatio A h t)) * Δ⁻¹ ^ (2 * (t - 1)) *
                (↑t ^ 3 / δ ^ 3) *
              frobNorm (A - truncatedSVD A t) ^ 2 <
          specNorm (A - rbki A (replicateCol Unit (x ω)) q) ^ 2} ≤
    δ

Full source on GitHub

Copy link

Theorem (Any block size with a gap: spectral-norm tail bound). Let \mathbf{A} be a real matrix with n columns and let \mathbf{X} be an n\times\ell matrix with independent standard normal entries, \ell\ge1. With r=h+1\le t\le q, \delta>0, \Delta>0 satisfying \sigma_{i+1}^2\le(1-\Delta)\sigma_i^2 whenever i+1<t, and \gamma=(\sigma_h-\sigma_t)/(\sigma_h+\sigma_t),

\mathbb{P}\Bigl[\|\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf{X},q)\|_2^2>\sigma_r^2+32\,e^{-8(q-t)\sqrt\gamma}\,\Delta^{-2(t-1)}\,\frac{t^3}{\delta^3}\,\|\mathbf{A}-[\mathbf{A}]_t\|_{\mathrm{F}}^2\Bigr]\le\delta.

The right-hand side is the single-vector bound and does not depend on \ell. The Frobenius-norm form is listed under Further results.

Lean statement and details

General form: sizes are index types

NLAlib.measureReal_specNorm_sub_rbki_sq_gt_le_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l ℝ}
  [Nonempty l] (A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {h r t q : ℕ}
  (hr : h + 1 = r) (hrt : r ≤ t) (hq : t ≤ q) {Δ δ : ℝ} (hΔ : 0 < Δ) (hδ : 0 < δ)
  (hgap : ∀ (i : ℕ), i + 1 < t → singularValues A (i + 1) ^ 2 ≤ (1 - Δ) * singularValues A i ^ 2) :
  μ.real
      {ω |
        singularValues A r ^ 2 +
            32 * rexp (-8 * (↑q - ↑t) * √(singularGapRatio A h t)) * Δ⁻¹ ^ (2 * (t - 1)) *
                (↑t ^ 3 / δ ^ 3) *
              frobNorm (A - truncatedSVD A t) ^ 2 <
          specNorm (A - rbki A (X ω) q) ^ 2} ≤
    δ

Full source on GitHub

Copy link

The deterministic bounds for a given start vector and a polynomial filter, in the spectral and Frobenius norms, and the exactness of the single-vector iteration at depth q\ge t for a matrix of rank at most t with \sigma_0>\sigma_1>\cdots>\sigma_{t-1}, are listed under Further results with their complete hypotheses.

Lower bound

The following is a lower bound on the error of this particular method, not an upper guarantee. It holds for every start block of a given width, so it is not a statement about a random block.

Theorem (A repeated singular value beyond the block size). Let \mathbf{A} be a real or complex matrix and \mathbf\Omega any start block with \ell columns; no distribution and no rank condition is assumed. If indices i,k satisfy \sigma_i(\mathbf{A})=\sigma_{i+\ell+k}(\mathbf{A}), then for every depth q,

\sigma_i(\mathbf{A})\le\sigma_k\bigl(\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf\Omega,q)\bigr).

In particular, for k=0: if \sigma_i=\sigma_{i+\ell}, then \sigma_i(\mathbf{A})\le\|\mathbf{A}-\mathsf{rbki}(\mathbf{A},\mathbf\Omega,q)\|_2 for every q. When such a \sigma_i exceeds \sigma_r, the spectral error stays above the best rank-r error at every depth. This is a statement about the exact projection defining the method.

Lean statement and details

General form: sizes are index types

NLAlib.singularValues_le_singularValues_sub_rbki_of_singularValues_eq.{u_1, u_2, u_3, u_4}
  {𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m]
  [Fintype n] [DecidableEq n] (A : Matrix m n 𝕜) (Ω : Matrix n l 𝕜) (q : ℕ) {i k : ℕ}
  (h : singularValues A i = singularValues A (i + Fintype.card l + k)) :
  singularValues A i ≤ singularValues (A - rbki A Ω q) k

Full source on GitHub

Copy link

Further results

Theorem (The gapped tail bound for randomized block Krylov iteration with a block of any size, Frobenius norm).

for a real matrix \mathbf{A} with singular values \sigma_0 \ge \sigma_1 \ge \dots, a standard Gaussian n \times \ell test matrix \mathbf{X} (independent standard normal entries) with \ell \ge 1 columns, a head of r = h + 1 singular values, a tail index t \ge r, depth q \ge t, a gap \Delta > 0 with \sigma_{i+1}^2 \le (1 - \Delta)\sigma_i^2 for every i + 1 < t, and \delta > 0, with \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), \mathbb{P}\Bigl[\|\mathbf{A} - \mathsf{rbki}(\mathbf{A}, \mathbf{X}, q)\|_{\mathsf{F}}^2 > \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2 + 32e^{-8(q-t)\sqrt{\gamma}}\,\Delta^{-2(t-1)}\,\frac{t^3}{\delta^3}\, \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\Bigr] \le \delta\,. The index type of the columns is assumed nonempty. The block does at least as well as its first column at the same depth. [MeyerMuscoMusco2023, Theorem 6], there for one start vector, as a number of iterations in O(\cdot) form with unspecified constants; here a tail bound with explicit constants for a block of any size, which does not use the block size.

General form: sizes are index types

Lean statement and details
NLAlib.measureReal_frobNorm_sub_rbki_sq_gt_le_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l ℝ}
  [Nonempty l] (A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {h r t q : ℕ}
  (hr : h + 1 = r) (hrt : r ≤ t) (hq : t ≤ q) {Δ δ : ℝ} (hΔ : 0 < Δ) (hδ : 0 < δ)
  (hgap : ∀ (i : ℕ), i + 1 < t → singularValues A (i + 1) ^ 2 ≤ (1 - Δ) * singularValues A i ^ 2) :
  μ.real
      {ω |
        frobNorm (A - truncatedSVD A r) ^ 2 +
            32 * rexp (-8 * (↑q - ↑t) * √(singularGapRatio A h t)) * Δ⁻¹ ^ (2 * (t - 1)) *
                (↑t ^ 3 / δ ^ 3) *
              frobNorm (A - truncatedSVD A t) ^ 2 <
          frobNorm (A - rbki A (X ω) q) ^ 2} ≤
    δ

Full source on GitHub

Copy link

Theorem (The expectation of the error of randomized block Krylov iteration from one start vector on the head event).

for a real matrix \mathbf{A} with singular values \sigma_0 \ge \sigma_1 \ge \dots, a standard Gaussian vector \mathbf{x} in \mathbb{R}^n (independent standard normal entries), an orthonormal frame \mathbf{Z} of t columns with \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{Z} = \mathbf{Z}\operatorname{diag}(\sigma_0^2, \dots, \sigma_{t-1}^2), a head of r = h + 1 singular values, r \le t \le q, a gap \Delta > 0 with \sigma_{i+1}^2 \le (1 - \Delta)\sigma_i^2 for every i + 1 < t, \delta > 0, \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), and the event E = \{\lvert(\mathbf{Z}^{\mathsf{H}}\mathbf{x})_i\rvert > \delta/t \text{ for every } i\}, \mathbb{E}\bigl[\mathbf{1}_E\, \|\mathbf{A} - \mathsf{rbki}(\mathbf{A}, \mathbf{x}, q)\|_2^2\bigr] \le \sigma_r^2 + 4e^{-8(q-t)\sqrt{\gamma}}\,\Delta^{-2(t-1)}\,\frac{t^3}{\delta^2}\, \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\,. The complement of E has probability at most \delta (NLAlib.measureReal_exists_abs_conjTranspose_mulVec_le_le_of_hasLaw_gaussianVector at a = \delta/t). On E the sum \sum_i (\mathbf{Z}^{\mathsf{H}}\mathbf{x})_i^{-2} is at most t^3/\delta^2, and the tail energy is integrated over the whole space, so the independence of the head and tail coordinates is not used. [MeyerMuscoMusco2023, Theorem 6], there in probability, as a number of iterations in O(\cdot) form with unspecified constants; here the expectation restricted to the event E, with explicit constants.

Lean statement and details
NLAlib.integral_setOf_specNorm_sub_rbki_sq_le_of_hasLaw_gaussianVector.{u_1, u_2, u_3}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3} [Fintype m]
  [Fintype n] [DecidableEq n] {x : Ω → n → ℝ} (A : Matrix m n ℝ)
  (hx : HasLaw x (gaussianVector n) μ) {h r t q : ℕ} {Z : Matrix n (Fin t) ℝ}
  (hZ : HasOrthonormalCols Z) (hAZ : Aᴴ * A * Z = Z * diagonal fun i ↦ singularValues A ↑i ^ 2)
  (hr : h + 1 = r) (hrt : r ≤ t) (hq : t ≤ q) {Δ δ : ℝ} (hΔ : 0 < Δ) (hδ : 0 < δ)
  (hgap : ∀ (i : ℕ), i + 1 < t → singularValues A (i + 1) ^ 2 ≤ (1 - Δ) * singularValues A i ^ 2) :
  ∫ (ω : Ω) in {ω | ∀ (i : Fin t), δ / ↑t < |(Zᴴ *ᵥ x ω) i|},
      specNorm (A - rbki A (replicateCol Unit (x ω)) q) ^ 2 ∂μ ≤
    singularValues A r ^ 2 +
      4 * rexp (-8 * (↑q - ↑t) * √(singularGapRatio A h t)) * Δ⁻¹ ^ (2 * (t - 1)) *
          (↑t ^ 3 / δ ^ 2) *
        frobNorm (A - truncatedSVD A t) ^ 2

Full source on GitHub

Copy link

Theorem (Randomized block Krylov iteration with a single start vector, Frobenius norm).

let \mathbf{H} = \mathbf{A}^{\mathsf{H}}\mathbf{A}, let \mathbf{Z} \in \Bbbk^{n \times t} be an orthonormal frame with \mathbf{H}\mathbf{Z} = \mathbf{Z}\operatorname{diag}(\sigma_0^2, \dots, \sigma_{t-1}^2), \sigma_i = \sigma_i(\mathbf{A}) > 0 for i < t and \sigma_{i+1}^2 \le (1 - \Delta)\sigma_i^2 for i + 1 < t, \Delta > 0, and let \mathbf{x} have no vanishing coordinate of \mathbf{Z}^{\mathsf{H}}\mathbf{x}. For a real polynomial f of degree less than d with t + d \le q + 1, a head index r \le t, \lvert f(\sigma_i^2) \rvert \ge c > 0 for i < r and \lvert f \rvert \le a on [0, \sigma_t^2], \|\mathbf{A} - \mathsf{rbki}(\mathbf{A}, \mathbf{x}, q)\|_{\mathsf{F}}^2 \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2 + \Bigl(\frac{a}{c}\Bigr)^2\Delta^{-2(t-1)} \Bigl(\sum_{i<t}\lvert(\mathbf{Z}^{\mathsf{H}}\mathbf{x})_i\rvert^{-2}\Bigr) \|(\mathbf{A} - \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}})\mathbf{x}\|_2^2\,. The exponent 2(t - 1) is in \mathbb{N}. The head frame of the filtered structural bound is the first r columns \mathbf{W} of \mathbf{Z}; when \sigma_{r-1} = \sigma_r (possible only for r = t) the matrix \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}} need not be \llbracket\mathbf{A}\rrbracket_r, but the two have the same Frobenius error. [MeyerMuscoMusco2023, Theorem 3], there the simulated block of a Gaussian vector is shown, in probability and for a positive semidefinite matrix, to be a good starting matrix of block Krylov iteration; here the deterministic bound for a given vector, composed with a polynomial filter; constants differ.

Lean statement and details
NLAlib.frobNorm_sub_rbki_replicateCol_sq_le.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
  {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq n] {t : ℕ} (A : Matrix m n 𝕜) (x : n → 𝕜)
  {Z : Matrix n (Fin t) 𝕜} (hZ : HasOrthonormalCols Z)
  (hAZ : Aᴴ * A * Z = Z * diagonal fun i ↦ ↑(singularValues A ↑i ^ 2)) {Δ : ℝ} (hΔ : 0 < Δ)
  (hpos : ∀ i < t, 0 < singularValues A i)
  (hgap : ∀ (i : ℕ), i + 1 < t → singularValues A (i + 1) ^ 2 ≤ (1 - Δ) * singularValues A i ^ 2)
  (hx : ∀ (i : Fin t), (Zᴴ *ᵥ x) i ≠ 0) {q d r : ℕ} {f : Polynomial ℝ} (hf : f.degree < ↑d)
  (hd : t + d ≤ q + 1) (hr : r ≤ t) {c a : ℝ} (hc : 0 < c)
  (hhead : ∀ i < r, c ≤ |Polynomial.eval (singularValues A i ^ 2) f|)
  (htail : ∀ y ∈ Set.Icc 0 (singularValues A t ^ 2), |Polynomial.eval y f| ≤ a) :
  frobNorm (A - rbki A (replicateCol Unit x) q) ^ 2 ≤
    frobNorm (A - truncatedSVD A r) ^ 2 +
      ((a / c) ^ 2 * Δ⁻¹ ^ (2 * (t - 1)) * ∑ i, ‖(Zᴴ *ᵥ x) i‖⁻¹ ^ 2) *
        ‖WithLp.toLp 2 ((A - A * Z * Zᴴ) *ᵥ x)‖ ^ 2

Full source on GitHub

Copy link

Used by other algorithms

Mathematical background

Family

Appears under these tasks