NLA-lib Explorer

Nyström subspace iteration: gapless bounds

Library · Result group

Theorem (Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_le_mul_rpow_of_hasLaw_gaussianMatrix). Tropp and Webber's gapless bound for Nyström subspace iteration, Nyström-native shape: for positive semidefinite \mathbf{H}, a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a target rank r with r + 2 \le \ell and \sigma_r(\mathbf{H}) > 0, the bound <!-- value rangeFinderTailRatio \mathbf{H}^{1/2} r \ell --> \mathbb{E}\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{H}^p\mathbf{X})\|_2 \le \sigma_r(\mathbf{H})\Bigl(1 + \frac{r}{\ell - r - 1}\, \frac{\|\mathbf{H}^{1/2} - \llbracket\mathbf{H}^{1/2}\rrbracket_r\|_{\mathsf{F}}^2} {\sigma_r(\mathbf{H}^{1/2})^2}\Bigr)^{1/(2p+1)}\,. By the Gram correspondence from NLAlib.integral_specNorm_sub_rsvd_pow_mul_sq_le_mul_rpow_of_hasLaw_gaussianMatrix at \mathbf{H}^{1/2}. [TroppWebber2023, Theorem 9.1 (NysSI)]; there on the squared error with the Frobenius tail ratio and rate 1/(m - 1/2) for m = p + 1 products; this statement is the Nyström-native shape; the two are incomparable. Asymptotic form: NLAlib.exists_forall_integral_specNorm_sub_nystrom_pow_mul_le_of_hasLaw_gaussianMatrix.

Headline General form: sizes are index types

Lean statement and details
Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_le_mul_rpow_of_hasLaw_gaussianMatrix.{u_1,
    u_2, u_3}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {l : Type u_3} [Fintype n]
  [Fintype l] {X : Ω → Matrix n l ℝ} {H : Matrix n n ℝ} [DecidableEq n] (hH : H.PosSemidef)
  (hX : HasLaw X (gaussianMatrix n l) μ) {r : ℕ} (hr : r + 2 ≤ Fintype.card l) (p : ℕ)
  (hσ : 0 < singularValues H r) :
  ∫ (ω : Ω), specNorm (H - nystrom H (H ^ p * X ω)) ∂μ ≤
    singularValues H r * rangeFinderTailRatio (CFC.sqrt H) r (Fintype.card l) ^ (1 / (2 * ↑p + 1))

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_le_one_add_sq_mul_of_hasLaw_gaussianMatrix). The gapless bound for Nyström subspace iteration, (1 + \varepsilon) form: for positive semidefinite \mathbf{H}, a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a target rank r with r + 2 \le \ell and every \varepsilon > 0, \mathbb{E}\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{H}^p\mathbf{X})\|_2 \le (1 + \varepsilon)^2\sigma_r(\mathbf{H}) + e^{-8p\varepsilon/(2 + \varepsilon)}\,\frac{r}{\ell - r - 1} \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_r\|_*\,. By the Gram correspondence from the RSI (1 + \varepsilon) form at \mathbf{H}^{1/2}. [MuscoMusco2015, Theorem 10 (proof)]; [TroppWebber2023, Theorem 9.2]; constants composed here.

General form: sizes are index types

Lean statement and details
Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_le_one_add_sq_mul_of_hasLaw_gaussianMatrix.{u_1,
    u_2, u_3}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {l : Type u_3} [Fintype n]
  [Fintype l] {X : Ω → Matrix n l ℝ} {H : Matrix n n ℝ} [DecidableEq n] (hH : H.PosSemidef)
  (hX : HasLaw X (gaussianMatrix n l) μ) {r : ℕ} (hr : r + 2 ≤ Fintype.card l) (p : ℕ) {ε : ℝ}
  (hε : 0 < ε) :
  ∫ (ω : Ω), specNorm (H - nystrom H (H ^ p * X ω)) ∂μ ≤
    (1 + ε) ^ 2 * singularValues H r +
      rexp (-8 * ↑p * (ε / (2 + ε))) * (↑r / (↑(Fintype.card l) - ↑r - 1)) *
        nuclearNorm (H - truncatedSVD H r)

Full source on GitHub

Copy link

Theorem (exists_forall_integral_specNorm_sub_nystrom_pow_mul_le_of_hasLaw_gaussianMatrix). O(\log(\lvert n \rvert + 1)/\varepsilon) power steps suffice for Nyström subspace iteration, no gap: there are absolute constants C, \varepsilon_0 > 0 such that for positive semidefinite \mathbf{H}, a standard Gaussian n \times \ell test matrix \mathbf{X}, a target rank r with r + 2 \le \ell, 0 < \varepsilon \le \varepsilon_0 and p \ge C\log(\lvert n \rvert + 1)/\varepsilon power steps, \mathbb{E}\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{H}^p\mathbf{X})\|_2 \le (1 + \varepsilon)\,\sigma_r(\mathbf{H})\,. The asymptotic form of the Tropp–Webber-form gapless bound Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_le_mul_rpow_of_hasLaw_gaussianMatrix, with the tail ratio of \mathbf{H}^{1/2} at most 1 + \lvert n \rvert^2 (NLAlib.rangeFinderTailRatio_le_one_add_card_sq). When \sigma_r(\mathbf{H}) = 0 the (1 + \varepsilon) form (Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_le_one_add_sq_mul_of_hasLaw_gaussianMatrix) gives error 0, so no positivity hypothesis is needed. The proof takes C = 2 and \varepsilon_0 = 1. [TroppWebber2023, Theorem 9.1 (NysSI)]; there for the squared error with m = p + 1 products.

General form: sizes are index types

Lean statement and details
NLAlib.exists_forall_integral_specNorm_sub_nystrom_pow_mul_le_of_hasLaw_gaussianMatrix :
  ∃ C ε₀,
    0 < C ∧
      0 < ε₀ ∧
        ∀ {Ω n l : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
          [inst_3 : Fintype l] (μ : Measure Ω) (H : Matrix n n ℝ) (X : Ω → Matrix n l ℝ) (r p : ℕ)
          (ε : ℝ),
          H.PosSemidef →
            HasLaw X (gaussianMatrix n l) μ →
              r + 2 ≤ Fintype.card l →
                0 < ε →
                  ε ≤ ε₀ →
                    C * Real.log (↑(Fintype.card n) + 1) / ε ≤ ↑p →
                      ∫ (ω : Ω), specNorm (H - nystrom H (H ^ p * X ω)) ∂μ ≤
                        (1 + ε) * singularValues H r

Full source on GitHub

Copy link

General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.