NLA-lib Explorer

Sketch-and-project

Definition (Sketch-and-project). For a sequence of sketches \mathbf{S}_j, set \mathbf{x}_{j+1}=\mathbf{x}_j+(\mathbf{S}_j\mathbf{A})^\dagger\mathbf{S}_j(\mathbf{b}-\mathbf{A}\mathbf{x}_j). This is a minimum-norm correction for the sketched residual. Convergence results specify consistency, the starting error, independence, and a lower bound on the mean projected row-space operator.

Copy link

Results

Theorem (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]. Asymptotic: NLAlib.integral_norm_sub_sketchAndProjectIterate_sq_le_mul_of_hasLaw_iidSequence_of_log_div_le

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

Mathematical background

Appears under these tasks