NLA-lib Explorer

Randomized block Krylov iteration with a single start vector, Frobenius norm

Library Β· Result group

Theorem (frobNorm_sub_rbki_replicateCol_sq_le). 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.

Headline (provisional)

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

Other forms

Theorem (rbki_replicateCol_eq_self). Randomized block Krylov iteration with a single start vector is exact at the rank: let \mathbf{A} have rank at most t, let \mathbf{Z} \in \Bbbk^{n \times t} be an orthonormal frame with \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{Z} = \mathbf{Z}\operatorname{diag}(\sigma_0^2, \dots, \sigma_{t-1}^2), \sigma_i = \sigma_i(\mathbf{A}), with \sigma_0 > \sigma_1 > \dots > \sigma_{t-1}, and let \mathbf{x} have no vanishing coordinate of \mathbf{Z}^{\mathsf{H}}\mathbf{x}. Then for every q \ge t, \mathsf{rbki}(\mathbf{A}, \mathbf{x}, q) = \mathbf{A}\,. This is the case the gapped single-vector bound excludes by asking for positive head singular values: there \mathbf{A} vanishes on the complement of the frame, and the Krylov space of depth t already contains the range of \mathbf{Z}. Distinctness and the nonvanishing coordinates cannot be dropped: the Krylov space of one vector has dimension at most the number of distinct eigenvalues it meets. No printed source.

Lean statement and details
NLAlib.rbki_replicateCol_eq_self.{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)) (hrank : A.rank ≀ t)
  (hlt : βˆ€ (i j : β„•), i < j β†’ j < t β†’ singularValues A j < singularValues A i)
  (hx : βˆ€ (i : Fin t), (Zα΄΄ *α΅₯ x) i β‰  0) {q : β„•} (hq : t ≀ q) : rbki A (replicateCol Unit x) q = A

Full source on GitHub

Copy link

Theorem (specNorm_sub_rbki_replicateCol_sq_le). Randomized block Krylov iteration with a single start vector, spectral 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)\|_2^2 \le \sigma_r^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} and sharp for this argument: for t = 1 the gap hypothesis is empty and no power of \Delta appears; for t = 0 the bound is \|\mathbf{A}\|_2^2. The gap hypothesis does not separate \sigma_{t-1} from \sigma_t, so the tail is that of the frame \mathbf{Z}, which need not be the truncated SVD. The first r columns of \mathbf{Z} are the head frame of the filtered structural bound, and the head block \mathbf{Z}^{\mathsf{H}}[\mathbf{x}, \mathbf{H}\mathbf{x}, \dots, \mathbf{H}^{t-1}\mathbf{x}] is a diagonal matrix times a Vandermonde matrix, invertible under the hypotheses. [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.specNorm_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) :
  specNorm (A - rbki A (replicateCol Unit x) q) ^ 2 ≀
    singularValues 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