NLA-lib Explorer

Nyström subspace iteration: gapped bounds

Library · Result group

Theorem (Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_le_singularGapRatio_of_hasLaw_gaussianMatrix). The gapped bound for Nyström subspace iteration: for positive semidefinite \mathbf{H}, a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, 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{nystrom}(\mathbf{H}, \mathbf{H}^p\mathbf{X})\|_2 \le \sigma_r(\mathbf{H}) + e^{-4p\gamma}\,\frac{t}{\ell - t - 1} \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_t\|_*\,. By the Gram correspondence from the RSI bound at \mathbf{H}^{1/2}. Asymptotic form: NLAlib.exists_forall_integral_specNorm_sub_nystrom_pow_mul_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix. [TroppWebber2023, Theorem 9.2 (NysSI)]; there for \mathbb{E}\|\mathbf{H} - \hat{\mathbf{H}}\|_p^2 with a squared Frobenius tail and exponent 4(m - 3/2)\gamma for m = p + 1 products; this statement is the Nyström-native shape of TW Corollary 8.2; the two are incomparable.

Headline General form: sizes are index types

Lean statement and details
Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_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 : ℕ} (hr : h + 1 = r) (hrt : r ≤ t)
  (ht : t + 2 ≤ Fintype.card l) (p : ℕ) :
  ∫ (ω : Ω), specNorm (H - nystrom H (H ^ p * X ω)) ∂μ ≤
    singularValues H r +
      rexp (-4 * ↑p * 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_nystrom_pow_mul_le_singularGapRatio_of_hasLaw_gaussianMatrix). The gapped bound for truncated Nyström subspace iteration, trace norm: for positive semidefinite \mathbf{H}, a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, 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{nystrom}(\mathbf{H}, \mathbf{H}^p\mathbf{X}) \rrbracket_r\|_* \le \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_r\|_* + e^{-4p\gamma}\,\frac{t}{\ell - t - 1}\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_t\|_*\,. By the truncated Gram correspondence from the truncated Frobenius RSI bound at \mathbf{H}^{1/2}. The untruncated spectral form is Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_le_singularGapRatio_of_hasLaw_gaussianMatrix. Asymptotic form: NLAlib.exists_forall_integral_nuclearNorm_sub_truncatedSVD_nystrom_pow_mul_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_nystrom_pow_mul_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 : ℕ} (hr : h + 1 = r) (hrt : r ≤ t)
  (ht : t + 2 ≤ Fintype.card l) (p : ℕ) :
  ∫ (ω : Ω), nuclearNorm (H - truncatedSVD (nystrom H (H ^ p * X ω)) r) ∂μ ≤
    nuclearNorm (H - truncatedSVD H r) +
      rexp (-4 * ↑p * 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_nystrom_pow_mul_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix). O(\log(\lvert n \rvert/\varepsilon)/\gamma) power steps suffice for truncated Nyström subspace iteration 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 p \ge C\log(\lvert n \rvert/\varepsilon)/\gamma power steps, \mathbb{E}\|\mathbf{H} - \llbracket\mathsf{nystrom}(\mathbf{H}, \mathbf{H}^p\mathbf{X}) \rrbracket_r\|_* \le (1 + \varepsilon)\,\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_r\|_*\,. The asymptotic form of Matrix.PosSemidef.integral_nuclearNorm_sub_truncatedSVD_nystrom_pow_mul_le_singularGapRatio_of_hasLaw_gaussianMatrix; the proof takes C = 1 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_nystrom_pow_mul_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 p : ℕ) (ε : ℝ),
          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 ≤ ↑p →
                            ∫ (ω : Ω),
                                nuclearNorm (H - truncatedSVD (nystrom H (H ^ p * X ω)) r) ∂μ ≤
                              (1 + ε) * nuclearNorm (H - truncatedSVD H r)

Full source on GitHub

Copy link

Theorem (exists_forall_integral_specNorm_sub_nystrom_pow_mul_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix). O(\log(\lvert n \rvert/\varepsilon)/\gamma) power steps suffice for Nyström subspace iteration 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 p \ge C\log(\lvert n \rvert/\varepsilon)/\gamma 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 Matrix.PosSemidef.integral_specNorm_sub_nystrom_pow_mul_le_singularGapRatio_of_hasLaw_gaussianMatrix, whose tail term is at most \lvert n \rvert^2e^{-4p\gamma}\sigma_r(\mathbf{H}); the proof takes C = 1 and \varepsilon_0 = 1/2. [TroppWebber2023, Theorem 9.2 (NysSI)]; there for the squared error in explicit form.

General form: sizes are index types

Lean statement and details
NLAlib.exists_forall_integral_specNorm_sub_nystrom_pow_mul_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 p : ℕ) (ε : ℝ),
          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 ≤ ↑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.