Iterative sketching
Library · Source module
Iterative sketching
NLAlib.iterativeSketching A S ω y x₀ q is iterative refinement on the normal equations of the least-squares problem \min_{\mathbf{x}}\|\mathbf{y} - \mathbf{A}\mathbf{x}\|, preconditioned by the sketched Gram matrix \mathbf{G} = (\mathbf{S}\mathbf{A})^{\mathsf{H}}\mathbf{S}\mathbf{A} with step \omega: \mathbf{x}_{i+1} = \mathbf{x}_i + \omega\mathbf{G}^{+}\mathbf{A}^{\mathsf{H}}(\mathbf{y} - \mathbf{A}\mathbf{x}_i), one sketch for all steps. It is the rectangular Richardson iterate NLAlib.richardsonIterate with \mathbf{M} = \omega\mathbf{G}^{+}\mathbf{A}^{\mathsf{H}}, and Richardson on the normal equations with \omega\mathbf{G}^{+} (NLAlib.iterativeSketching_eq). Step \omega = 1 is Epperly's iterative sketching; \omega = 1 - \varepsilon^2 is the optimal damping for an embedding with constants 1 \mp \varepsilon in squared norms.
If \mathbf{S} embeds \operatorname{range}\mathbf{A} with constants a > 0, \mathbf{b} in squared norms, \mathbf{A} has full column rank and \omega > 0, the energy error is bounded by the geometric factor \max(\lvert 1 - \omega/\mathbf{b}\rvert, \lvert 1 - \omega/a\rvert) per step, with no prefactor. This proves convergence only when that factor is below one; an arbitrary positive step can amplify the error. Sketch-and-precondition (NLAlib.sketchAndPrecondition), preconditioned CG with the same preconditioner, is never worse (Matrix.PosDef.re_quadForm_sub_pcgIterate_le_re_quadForm_sub_richardsonIterate). [Epperly2024]; [MartinssonTropp2020].
Main definitions
* NLAlib.iterativeSketching: the iterative sketching iterate with step \omega.
Main results
* NLAlib.iterativeSketching_eq: Richardson on the normal equations. * NLAlib.IsQR.iterativeSketching_succ, NLAlib.IsSVD.iterativeSketching_succ: the step through a factorization of the sketch. * NLAlib.IsSubspaceEmbedding.norm_mulVec_sub_iterativeSketching_sq_le: energy-error propagation for every positive step. * NLAlib.IsSubspaceEmbedding.tendsto_norm_mulVec_sub_iterativeSketching_sq: convergence when the geometric factor is below one. * NLAlib.IsSubspaceEmbedding.norm_mulVec_sub_iterativeSketching_one_sq_le, NLAlib.IsSubspaceEmbedding.norm_mulVec_sub_iterativeSketching_one_sub_sq_sq_le: undamped and optimally damped. * NLAlib.IsSubspaceEmbedding.norm_sub_mulVec_iterativeSketching_one_sub_sq_sq_le: the residual from the sketch-and-solve start. * NLAlib.HasSubspaceEmbedding.measureReal_norm_mulVec_sub_iterativeSketching_sq_gt_le, NLAlib.HasSubspaceEmbedding.measureReal_norm_sub_mulVec_iterativeSketching_one_sub_sq_sq_gt_le: the same with a random embedding.
Declarations
- NLAlib.HasSubspaceEmbedding.measureReal_norm_mulVec_sub_iterativeSketching_sq_gt_le
- NLAlib.HasSubspaceEmbedding.measureReal_norm_sub_mulVec_iterativeSketching_one_sub_sq_sq_gt_le
- NLAlib.IsQR.iterativeSketching_succ
- NLAlib.IsSVD.iterativeSketching_succ
- NLAlib.IsSubspaceEmbedding.norm_mulVec_sub_iterativeSketching_one_sq_le
- NLAlib.IsSubspaceEmbedding.norm_mulVec_sub_iterativeSketching_one_sub_sq_sq_le
- NLAlib.IsSubspaceEmbedding.norm_mulVec_sub_iterativeSketching_sq_le
- NLAlib.IsSubspaceEmbedding.norm_sub_mulVec_iterativeSketching_one_sub_sq_sq_le
- NLAlib.IsSubspaceEmbedding.tendsto_norm_mulVec_sub_iterativeSketching_sq
- NLAlib.iterativeSketching
- NLAlib.iterativeSketching_eq