Randomized Kaczmarz
Library · Source module
Randomized Kaczmarz
NLAlib.kaczmarzIterate A ι b x₀ q is the sketch-and-project iterate whose q-th sketch selects row \iota_q of \mathbf{A}: each step projects the iterate orthogonally onto the hyperplane \{\mathbf{y} : (\mathbf{A}\mathbf{y})_{\iota_q} = \mathbf{b}_{\iota_q}\}, and the familiar row-action update is NLAlib.kaczmarzIterate_succ. Randomized Kaczmarz draws the rows independently with the squared-row-norm probabilities p_i = \|\mathbf{a}_i\|^2/\|\mathbf{A}\|_{\mathsf{F}}^2 (NLAlib.rowNormSqDistribution), written as the i.i.d.-sequence hypothesis HasLaw ι (iidSequence (samplingMeasure (rowNormSqDistribution A))) μ.
The rate is 1 - (\|\mathbf{A}\|_{\mathsf{F}}\|\mathbf{A}^{+}\|_2)^{-2}, with the Frobenius pseudo-condition number NLAlib.frobPseudoConditionNumber, and no rank assumption is needed. For any right-hand side the expected squared error about any reference point \mathbf{x}_\star with \mathbf{x}_\star - \mathbf{x}_0 in the row space contracts at this rate up to the horizon \|\mathbf{A}^{+}\|_2^2\|\mathbf{b} - \mathbf{A}\mathbf{x}_\star\|^2; about the least-squares solution nearest \mathbf{x}_0 the horizon is the optimal residual. For consistent systems this is Strohmer and Vershynin's theorem. Through sketch-and-project, any row probabilities give the rate of the least eigenvalue of the expected row projector on the row space; and the mean iterate is Landweber's iteration with step \|\mathbf{A}\|_{\mathsf{F}}^{-2}. [StrohmerVershynin2009]; [ZouziasFreris2013]; [GowerRichtarik2015]; [LeventhalLewis2010]; [Needell2010]; [MaNeedellRamdas2015]. Block Kaczmarz with row pavings [NeedellTropp2014] and the randomized extended Kaczmarz method are not here yet.
Main definitions
* NLAlib.kaczmarzIterate: the Kaczmarz iterate for a sequence of rows.
Main results
* NLAlib.kaczmarzIterate_succ: the row-action formula. * NLAlib.integral_norm_sub_kaczmarzIterate_succ_sq_le_of_hasLaw_iidSequence: the one-step bound in expectation. * NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_add_of_hasLaw_iidSequence: randomized Kaczmarz for any right-hand side. * NLAlib.integral_norm_add_pinv_mulVec_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence: convergence to the least-squares solution nearest the start, up to the horizon. * NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence: Strohmer and Vershynin's theorem, any rank. * Any row probabilities: NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence_of_smul_rangeProjector_le. * NLAlib.integral_kaczmarzIterate_eq_richardsonIterate_conjTranspose_of_hasLaw_iidSequence, NLAlib.integral_kaczmarzIterate_of_hasLaw_iidSequence: the mean iterate is Landweber's iteration. * The iteration counts NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_mul_of_hasLaw_iidSequence_of_mul_log_le and NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_mul_add_of_hasLaw_iidSequence_of_mul_log_le, with their asymptotic forms.
Declarations
- NLAlib.exists_forall_integral_norm_sub_kaczmarzIterate_sq_le_mul_add_of_hasLaw_iidSequence_of_mul_log_le
- NLAlib.exists_forall_integral_norm_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence_of_mul_log_le
- NLAlib.integral_kaczmarzIterate_eq_richardsonIterate_conjTranspose_of_hasLaw_iidSequence
- NLAlib.integral_kaczmarzIterate_of_hasLaw_iidSequence
- NLAlib.integral_norm_add_pinv_mulVec_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence
- NLAlib.integral_norm_add_pinv_mulVec_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence_of_mem_range
- NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_add_of_hasLaw_iidSequence
- NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_mul_add_of_hasLaw_iidSequence_of_mul_log_le
- NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_mul_of_hasLaw_iidSequence_of_mul_log_le
- NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence
- NLAlib.integral_norm_sub_kaczmarzIterate_sq_le_of_hasLaw_iidSequence_of_smul_rangeProjector_le
- NLAlib.integral_norm_sub_kaczmarzIterate_succ_sq_le_of_hasLaw_iidSequence
- NLAlib.integral_norm_sub_kaczmarzIterate_succ_sq_of_hasLaw_iidSequence
- NLAlib.integral_rangeProjector_conjTranspose_selectionMatrix_mul
- NLAlib.integral_rangeProjector_conjTranspose_selectionMatrix_mul_rowNormSqDistribution
- NLAlib.kaczmarzIterate
- NLAlib.kaczmarzIterate_sub_mem_range
- NLAlib.kaczmarzIterate_succ
- NLAlib.kaczmarzIterate_zero
- NLAlib.mulVec_kaczmarzIterate_succ_apply
- NLAlib.norm_sub_kaczmarzIterate_succ_sq