The expectation of the error of randomized block Krylov iteration from one start vector
on the head event
Library · Result group
Theorem (integral_setOf_specNorm_sub_rbki_sq_le_of_hasLaw_gaussianVector).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.
Headline (provisional)
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
Theorem (measureReal_frobNorm_sub_rbki_sq_gt_le_of_hasLaw_gaussianVector).The gapped tail bound for randomized block Krylov iteration from one start vector, Frobenius norm: 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), 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 start vector is the one-column block Matrix.replicateCol Unit (x ω). No positivity of \sigma_{t-1} is assumed: when \operatorname{rank}\mathbf{A} < t the error is zero almost surely. [MeyerMuscoMusco2023, Theorem 6], there for the projection onto the output basis with a factor 1 + \varepsilon, as a number of iterations in O(\cdot) form with unspecified constants, in the gap between two singular values and the smallest relative gap among the leading ones; here a tail bound with explicit constants.
Lean statement and details
NLAlib.measureReal_frobNorm_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
{ω |
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 (replicateCol Unit (x ω)) q) ^ 2} ≤
δ
Theorem (measureReal_specNorm_sub_rbki_sq_gt_le_of_hasLaw_gaussianVector).The gapped tail bound for randomized block Krylov iteration from one start vector, spectral norm: 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), 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)\|_2^2 > \sigma_r^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 start vector is the one-column block Matrix.replicateCol Unit (x ω). The first t Krylov vectors act as a block of t columns and the Chebyshev filter has degree q - t. No positivity of \sigma_{t-1} is assumed: when \operatorname{rank}\mathbf{A} < t the gap hypothesis makes the positive singular values distinct and the error is zero almost surely. No gap between \sigma_{t-1} and \sigma_t is assumed. [MeyerMuscoMusco2023, Theorem 6], there for the projection onto the output basis with a factor 1 + \varepsilon, as a number of iterations in O(\cdot) form with unspecified constants, in the gap between two singular values and the smallest relative gap among the leading ones; here a tail bound with explicit constants.
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} ≤
δ
Theorem (measureReal_specNorm_sub_truncatedSVD_rbki_sq_gt_le_of_hasLaw_gaussianVector).The gapped tail bound for truncated randomized block Krylov iteration from one start vector, spectral norm: 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), 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), the rank-r truncation keeps the right side of the untruncated form, \mathbb{P}\Bigl[\|\mathbf{A} - \llbracket\mathsf{rbki}(\mathbf{A}, \mathbf{x}, q)\rrbracket_r\|_2^2 > \sigma_r^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 start vector is the one-column block Matrix.replicateCol Unit (x ω). No positivity of \sigma_{t-1} is assumed: when \operatorname{rank}\mathbf{A} < t the output is \mathbf{A} almost surely. [MeyerMuscoMusco2023, Theorem 6], there for the projection onto the output basis with a factor 1 + \varepsilon, as a number of iterations in O(\cdot) form with unspecified constants, in the gap between two singular values and the smallest relative gap among the leading ones; here a tail bound with explicit constants.
Lean statement and details
NLAlib.measureReal_specNorm_sub_truncatedSVD_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 - truncatedSVD (rbki A (replicateCol Unit (x ω)) q) r) ^ 2} ≤
δ