NLA-lib Explorer

O(\lambda^{-1}\log(1/\varepsilon)) iterations suffice for sketch-and-project

Library · Result group

Theorem (exists_forall_integral_norm_sub_sketchAndProjectIterate_sq_le_of_hasLaw_iidSequence_of_log_div_le). O(\lambda^{-1}\log(1/\varepsilon)) iterations suffice for sketch-and-project: there are absolute constants C, \varepsilon_0 > 0 such that for a consistent system \mathbf{A}\mathbf{x}_\star = \mathbf{b}, a start with \mathbf{x}_\star - \mathbf{x}_0 in the row space of \mathbf{A}, independent sketches \mathbf{S}_0, \mathbf{S}_1, \ldots, each with the probability law \nu, \lambda > 0 with \lambda\mathbf{P}_{\mathbf{A}^{\mathsf{H}}} \preceq \mathbb{E}_{\nu}[(\mathbf{S}\mathbf{A})^{+}\mathbf{S}\mathbf{A}], 0 < \varepsilon \le \varepsilon_0 and q \ge C\lambda^{-1}\log(1/\varepsilon), \mathbb{E}\|\mathbf{x}_\star - \mathsf{sketchAndProjectIterate}(\mathbf{A}, \mathbf{S}, \mathbf{b}, \mathbf{x}_0, q)\|^2 \le \varepsilon\|\mathbf{x}_\star - \mathbf{x}_0\|^2\,. The constants come before every dimension and the law. Proved from NLAlib.integral_norm_sub_sketchAndProjectIterate_sq_le_mul_of_hasLaw_iidSequence_of_log_div_le with C = 1 and \varepsilon_0 = 1. [GowerRichtarik2015, Theorem 4.6].

Headline (provisional)

Lean statement and details
NLAlib.exists_forall_integral_norm_sub_sketchAndProjectIterate_sq_le_of_hasLaw_iidSequence_of_log_div_le :
  ∃ C ε₀,
    0 < C ∧
      0 < ε₀ ∧
        ∀ {Ω 𝕜 k m n : Type} [inst : MeasurableSpace Ω] [inst_1 : RCLike 𝕜] [inst_2 : Fintype k]
          [inst_3 : Fintype m] [inst_4 : Fintype n] [inst_5 : DecidableEq n] (μ : Measure Ω)
          (ν : Measure (Matrix k m 𝕜)) [IsProbabilityMeasure ν] (S : Ω → ℕ → Matrix k m 𝕜)
          (A : Matrix m n 𝕜) (b : m → 𝕜) (xs x₀ : n → 𝕜) (lam : ℝ) (q : ℕ) (ε : ℝ),
          HasLaw S (iidSequence ν) μ →
            A *ᵥ xs = b →
              xs - x₀ ∈ Aᴴ.mulVecLin.range →
                0 < lam →
                  lam • rangeProjector Aᴴ ≤ ∫ (T : Matrix k m 𝕜), rangeProjector (T * A)ᴴ ∂ν →
                    0 < ε →
                      ε ≤ ε₀ →
                        C * (Real.log (1 / ε) / lam) ≤ ↑q →
                          ∫ (ω : Ω),
                              ‖WithLp.toLp 2 (xs - sketchAndProjectIterate A (S ω) b x₀ q)‖ ^ 2 ∂μ ≤
                            ε * ‖WithLp.toLp 2 (xs - x₀)‖ ^ 2

Full source on GitHub

Copy link

Other forms

Theorem (integral_norm_sub_sketchAndProjectIterate_sq_le_of_hasLaw_iidSequence). Sketch-and-project converges linearly in expectation: for a consistent system \mathbf{A}\mathbf{x}_\star = \mathbf{b}, a start with \mathbf{x}_\star - \mathbf{x}_0 in the row space of \mathbf{A}, independent sketches \mathbf{S}_0, \mathbf{S}_1, \ldots, each with the probability law \nu, and \lambda\mathbf{P}_{\mathbf{A}^{\mathsf{H}}} \preceq \mathbb{E}_{\nu}[\mathbf{Z}] with \mathbf{Z} = (\mathbf{S}\mathbf{A})^{+}\mathbf{S}\mathbf{A}, \mathbb{E}\|\mathbf{x}_\star - \mathsf{sketchAndProjectIterate}(\mathbf{A}, \mathbf{S}, \mathbf{b}, \mathbf{x}_0, q)\|^2 \le (1 - \lambda)^q\|\mathbf{x}_\star - \mathbf{x}_0\|^2\,. [GowerRichtarik2015, Theorem 4.6]; there for \mathbb{E}[\mathbf{Z}] positive definite (full column rank) and \lambda = \lambda_{\min}(\mathbb{E}[\mathbf{Z}]), with a metric \mathbf{B}; here any rank, any law and \mathbf{B} = \mathbf{I}. Since \nu is a probability measure and \mathbf{Z} \preceq \mathbf{P}_{\mathbf{A}^{\mathsf{H}}}, \lambda \le 1 whenever \mathbf{A} \ne \mathbf{0}. Iteration count: NLAlib.integral_norm_sub_sketchAndProjectIterate_sq_le_mul_of_hasLaw_iidSequence_of_log_div_le.

Lean statement and details
NLAlib.integral_norm_sub_sketchAndProjectIterate_sq_le_of_hasLaw_iidSequence.{u_1, u_2, u_3, u_4,
    u_5}
  {𝕜 : Type u_1} [RCLike 𝕜] {k : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype k] [Fintype m]
  [Fintype n] {Ω : Type u_5} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [DecidableEq n]
  {ν : Measure (Matrix k m 𝕜)} [IsProbabilityMeasure ν] {S : Ω → ℕ → Matrix k m 𝕜}
  (hS : HasLaw S (iidSequence ν) μ) {A : Matrix m n 𝕜} {b : m → 𝕜} {xs x₀ : n → 𝕜}
  (hxs : A *ᵥ xs = b) (hx₀ : xs - x₀ ∈ Aᴴ.mulVecLin.range) {lam : ℝ}
  (hlam : lam • rangeProjector Aᴴ ≤ ∫ (T : Matrix k m 𝕜), rangeProjector (T * A)ᴴ ∂ν) (q : ℕ) :
  ∫ (ω : Ω), ‖WithLp.toLp 2 (xs - sketchAndProjectIterate A (S ω) b x₀ q)‖ ^ 2 ∂μ ≤
    (1 - lam) ^ q * ‖WithLp.toLp 2 (xs - x₀)‖ ^ 2

Full source on GitHub

Copy link