NLA-lib Explorer

NLAlib.integral_kaczmarzIterate_eq_richardsonIterate_conjTranspose_of_hasLaw_iidSequence

Library · theorem

The mean Kaczmarz iterate is Landweber's iteration with step \|\mathbf{A}\|_{\mathsf{F}}^{-2}, for any right-hand side: for \mathbf{A} \ne \mathbf{0} and rows drawn independently from the squared-row-norm law, row i with probability \|\mathbf{a}_i\|^2/\|\mathbf{A}\|_{\mathsf{F}}^2 (\mathbf{a}_i the rows of \mathbf{A}), \mathbb{E}[\mathsf{kaczmarzIterate}(\mathbf{A}, \iota, \mathbf{b}, \mathbf{x}_0, q)] = \mathsf{richardsonIterate}(\mathbf{A}, \|\mathbf{A}\|_{\mathsf{F}}^{-2}\mathbf{A}^{\mathsf{H}}, \mathbf{b}, \mathbf{x}_0, q)\,, that is \mathbb{E}[\mathbf{x}_{q+1}] = \mathbb{E}[\mathbf{x}_q] + \|\mathbf{A}\|_{\mathsf{F}}^{-2}\mathbf{A}^{\mathsf{H}}(\mathbf{b} - \mathbf{A}\mathbb{E}[\mathbf{x}_q]). For \mathbf{A} = \mathbf{0} the law is the zero measure and the identity fails. The averaged form of the observation that randomized Kaczmarz is stochastic gradient descent on the least-squares objective [MaNeedellRamdas2015, §2.1]. Its normal-equations form is NLAlib.integral_kaczmarzIterate_of_hasLaw_iidSequence.

NLAlib.integral_kaczmarzIterate_eq_richardsonIterate_conjTranspose_of_hasLaw_iidSequence.{u_1, u_2,
    u_3, u_4}
  {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m]
  {Ω : Type u_4} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [MeasurableSpace m]
  [MeasurableSingletonClass m] {A : Matrix m n 𝕜} {b : m → 𝕜} {ι : Ω → ℕ → m} (hA : A ≠ 0)
  (hι : HasLaw ι (iidSequence (samplingMeasure (rowNormSqDistribution A))) μ) (x₀ : n → 𝕜) (q : ℕ) :
  ∫ (ω : Ω), kaczmarzIterate A (ι ω) b x₀ q ∂μ =
    richardsonIterate A ((frobNorm A ^ 2)⁻¹ • Aᴴ) b x₀ q

Full source on GitHub

Import NLAlib.Regression.Kaczmarz.