NLA-lib Explorer

Block Krylov Nyström: gapped bounds

Library · Result group

Theorem (Matrix.PosSemidef.integral_specNorm_sub_nystromBKI_le_singularGapRatio_of_hasLaw_gaussianMatrix). The gapped bound for block Krylov Nyström: for positive semidefinite \mathbf{H}, a standard Gaussian n \times \ell test matrix \mathbf{X}, q \ge 1 blocks, a head of r = h + 1 eigenvalues, a tail index t \ge r with t + 2 \le \ell, and \gamma = (\sigma_h(\mathbf{H}) - \sigma_t(\mathbf{H}))/(\sigma_h(\mathbf{H}) + \sigma_t(\mathbf{H})), \mathbb{E}\|\mathbf{H} - \mathsf{nystromBKI}(\mathbf{H}, \mathbf{X}, q)\|_2 \le \sigma_r(\mathbf{H}) + 4e^{-4\sqrt{2}(q-1)\sqrt{\gamma}}\,\frac{t}{\ell - t - 1} \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_t\|_*\,. By the Gram correspondence from the RBKI bound at \mathbf{H}^{1/2} (NLAlib.integral_specNorm_sub_rbki_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix), whose gap \gamma_{1/2} is at least \gamma/2; its Chebyshev filter gives the factor \operatorname{sech}^2(4(q-1)\operatorname{artanh}\sqrt{\gamma_{1/2}}) \le \operatorname{sech}^2(2\sqrt{2}(q-1)\sqrt{\gamma}) = 4e^{-4\sqrt{2}(q-1)\sqrt{\gamma}}/(1 + e^{-4\sqrt{2}(q-1)\sqrt{\gamma}})^2, and the statement drops (1 + e^{-4\sqrt{2}(q-1)\sqrt{\gamma}})^2 \le 4, which tends to 1 (docs/contributing/statements.md §2 rule 7). [TroppWebber2023, Theorem 9.2 (NysBKI)]; there for \mathbb{E}\|\mathbf{H} - \hat{\mathbf{H}}\|_p^2 with a squared Frobenius tail and exponent 4(m - 3/2)\sqrt{2\gamma} for m = q products; this statement is the Nyström-native shape of TW Corollary 8.2, obtained from the RBKI line at \mathbf{H}^{1/2}; the two are incomparable. Asymptotic form: NLAlib.exists_forall_integral_specNorm_sub_nystromBKI_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix.

Headline General form: sizes are index types

Lean statement and details
Matrix.PosSemidef.integral_specNorm_sub_nystromBKI_le_singularGapRatio_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) μ) {h r t q : ℕ} (hr : h + 1 = r) (hrt : r ≤ t)
  (ht : t + 2 ≤ Fintype.card l) (hq : 1 ≤ q) :
  ∫ (ω : Ω), specNorm (H - nystromBKI H (X ω) q) ∂μ ≤
    singularValues H r +
      4 * rexp (-4 * √2 * (↑q - 1) * √(singularGapRatio H h t)) *
          (↑t / (↑(Fintype.card l) - ↑t - 1)) *
        nuclearNorm (H - truncatedSVD H t)

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.PosSemidef.integral_nuclearNorm_sub_truncatedSVD_nystromBKI_le_singularGapRatio_of_hasLaw_gaussianMatrix). The gapped bound for truncated block Krylov Nyström, trace norm: for positive semidefinite \mathbf{H}, a standard Gaussian n \times \ell test matrix \mathbf{X}, q \ge 1 blocks, a head of r = h + 1 eigenvalues, a tail index t \ge r with t + 2 \le \ell, and \gamma = (\sigma_h(\mathbf{H}) - \sigma_t(\mathbf{H}))/(\sigma_h(\mathbf{H}) + \sigma_t(\mathbf{H})), \mathbb{E}\|\mathbf{H} - \llbracket\mathsf{nystromBKI}(\mathbf{H}, \mathbf{X}, q)\rrbracket_r\|_* \le \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_r\|_* + 4e^{-4\sqrt{2}(q-1)\sqrt{\gamma}}\,\frac{t}{\ell - t - 1} \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_t\|_*\,, by the truncated Gram correspondence (Matrix.PosSemidef.nuclearNorm_sub_truncatedSVD_nystrom) from the truncated Frobenius RBKI bound at \mathbf{H}^{1/2}. The untruncated spectral form is Matrix.PosSemidef.integral_specNorm_sub_nystromBKI_le_singularGapRatio_of_hasLaw_gaussianMatrix. Asymptotic form: NLAlib.exists_forall_integral_nuclearNorm_sub_truncatedSVD_nystromBKI_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix. [TroppWebber2023, §9.1, remark after Theorem 9.2]; there stated without a proof.

General form: sizes are index types

Lean statement and details
Matrix.PosSemidef.integral_nuclearNorm_sub_truncatedSVD_nystromBKI_le_singularGapRatio_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) μ) {h r t q : ℕ} (hr : h + 1 = r) (hrt : r ≤ t)
  (ht : t + 2 ≤ Fintype.card l) (hq : 1 ≤ q) :
  ∫ (ω : Ω), nuclearNorm (H - truncatedSVD (nystromBKI H (X ω) q) r) ∂μ ≤
    nuclearNorm (H - truncatedSVD H r) +
      4 * rexp (-4 * √2 * (↑q - 1) * √(singularGapRatio H h t)) *
          (↑t / (↑(Fintype.card l) - ↑t - 1)) *
        nuclearNorm (H - truncatedSVD H t)

Full source on GitHub

Copy link

Theorem (exists_forall_integral_nuclearNorm_sub_truncatedSVD_nystromBKI_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix). Depth O(\log(\lvert n \rvert/\varepsilon)/\sqrt{\gamma}) suffices for truncated block Krylov Nyström with a gap, trace norm: 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 head of r = h + 1 eigenvalues, a tail index t \ge r with t + 2 \le \ell, a positive relative gap \gamma = (\sigma_h(\mathbf{H}) - \sigma_t(\mathbf{H}))/(\sigma_h(\mathbf{H}) + \sigma_t(\mathbf{H})), 0 < \varepsilon \le \varepsilon_0 and q \ge C\log(\lvert n \rvert/\varepsilon)/\sqrt{\gamma} blocks, \mathbb{E}\|\mathbf{H} - \llbracket\mathsf{nystromBKI}(\mathbf{H}, \mathbf{X}, q)\rrbracket_r\|_* \le (1 + \varepsilon)\,\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_r\|_*\,. The asymptotic form of Matrix.PosSemidef.integral_nuclearNorm_sub_truncatedSVD_nystromBKI_le_singularGapRatio_of_hasLaw_gaussianMatrix; the proof takes C = 3 and \varepsilon_0 = 1/2. [TroppWebber2023, §9.1, remark after Theorem 9.2]; there stated without a proof.

General form: sizes are index types

Lean statement and details
NLAlib.exists_forall_integral_nuclearNorm_sub_truncatedSVD_nystromBKI_le_of_singularGapRatio_pos_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 ℝ)
          (h r t q : ℕ) (ε : ℝ),
          H.PosSemidef →
            HasLaw X (gaussianMatrix n l) μ →
              h + 1 = r →
                r ≤ t →
                  t + 2 ≤ Fintype.card l →
                    0 < singularGapRatio H h t →
                      0 < ε →
                        ε ≤ ε₀ →
                          C * Real.log (↑(Fintype.card n) / ε) / √(singularGapRatio H h t) ≤ ↑q →
                            ∫ (ω : Ω), nuclearNorm (H - truncatedSVD (nystromBKI H (X ω) q) r) ∂μ ≤
                              (1 + ε) * nuclearNorm (H - truncatedSVD H r)

Full source on GitHub

Copy link

Theorem (exists_forall_integral_specNorm_sub_nystromBKI_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix). Depth O(\log(\lvert n \rvert/\varepsilon)/\sqrt{\gamma}) suffices for block Krylov Nyström with a 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 head of r = h + 1 eigenvalues, a tail index t \ge r with t + 2 \le \ell, a positive relative gap \gamma = (\sigma_h(\mathbf{H}) - \sigma_t(\mathbf{H}))/(\sigma_h(\mathbf{H}) + \sigma_t(\mathbf{H})), 0 < \varepsilon \le \varepsilon_0 and q \ge C\log(\lvert n \rvert/\varepsilon)/\sqrt{\gamma} blocks, \mathbb{E}\|\mathbf{H} - \mathsf{nystromBKI}(\mathbf{H}, \mathbf{X}, q)\|_2 \le (1 + \varepsilon)\,\sigma_r(\mathbf{H})\,. The asymptotic form of Matrix.PosSemidef.integral_specNorm_sub_nystromBKI_le_singularGapRatio_of_hasLaw_gaussianMatrix, whose tail term is at most 4\lvert n \rvert^2e^{-4\sqrt{2}(q-1)\sqrt{\gamma}}\sigma_r(\mathbf{H}); the proof takes C = 3 and \varepsilon_0 = 1/2. [TroppWebber2023, Theorem 9.2 (NysBKI)]; there for the squared error in explicit form.

General form: sizes are index types

Lean statement and details
NLAlib.exists_forall_integral_specNorm_sub_nystromBKI_le_of_singularGapRatio_pos_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 ℝ)
          (h r t q : ℕ) (ε : ℝ),
          H.PosSemidef →
            HasLaw X (gaussianMatrix n l) μ →
              h + 1 = r →
                r ≤ t →
                  t + 2 ≤ Fintype.card l →
                    0 < singularGapRatio H h t →
                      0 < ε →
                        ε ≤ ε₀ →
                          C * Real.log (↑(Fintype.card n) / ε) / √(singularGapRatio H h t) ≤ ↑q →
                            ∫ (ω : Ω), specNorm (H - nystromBKI H (X ω) q) ∂μ ≤
                              (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.