Sketched least squares
Library · Source module
Sketched least squares
The deterministic consequences of a subspace embedding or injection for least squares. If \mathbf{S} is a subspace embedding with constants a, \mathbf{b} for a subspace containing \operatorname{range}\mathbf{A} and \mathbf{y}, every minimizer \mathbf{x} of the sketched problem \|\mathbf{S}\mathbf{A}\mathbf{x} - \mathbf{S}\mathbf{y}\| has residual within \mathbf{b} / a (squared) of the optimal residual (\mathbf{I} - \mathbf{P}_{\mathbf{A}})\mathbf{y} (sketch-and-solve). If \mathbf{S} embeds \operatorname{range}\mathbf{A} and \mathbf{S}\mathbf{A}\mathbf{M} has orthonormal columns (QR's \mathbf{R}^{-1}, SVD's \mathbf{V}\mathbf{\Sigma}^{-1}), then \mathbf{A}\mathbf{M} has pseudo-condition number \|\mathbf{A}\mathbf{M}\|_2 \|(\mathbf{A}\mathbf{M})^{+}\|_2 (NLAlib.pseudoConditionNumber) at most \sqrt{\mathbf{b} / a} (sketch-and-precondition).
The injection alone controls the error of the sketched solution against the sketched residual (CEMT's Lemma 2.6), for a vector and for a matrix right-hand side, and gives the deterministic half of CEMT's Lemma 2.1. These are what the tail bounds for oblivious subspace injections in NLAlib.Regression.Oblivious use.
Main results
* NLAlib.IsSubspaceEmbedding.norm_sub_mulVec_sq_le: sketch-and-solve. * NLAlib.IsSubspaceEmbedding.pseudoConditionNumber_mul_sq_le: sketch-and-precondition. * NLAlib.IsSubspaceEmbedding.spectrum_pinv_mul_subset_Icc: its spectral form, the spectrum of the sketch-preconditioned normal equations, used by NLAlib.sketchAndPrecondition. * NLAlib.IsSubspaceInjection.norm_sub_mulVec_sq_le: the sketch-and-solve error formula. * NLAlib.IsSubspaceInjection.frobNorm_sub_mul_pinv_mul_sq_le: its matrix form. * NLAlib.IsSubspaceInjection.frobNorm_mul_pinv_sq_le: the deterministic half of CEMT Lemma 2.1.
Declarations
- NLAlib.IsSubspaceEmbedding.conjTranspose_mul_self_le_inv_smul_one
- NLAlib.IsSubspaceEmbedding.inv_smul_one_le_conjTranspose_mul_self
- NLAlib.IsSubspaceEmbedding.norm_sub_mulVec_le
- NLAlib.IsSubspaceEmbedding.norm_sub_mulVec_sq_le
- NLAlib.IsSubspaceEmbedding.norm_sub_mulVec_sq_le_of_fromCols
- NLAlib.IsSubspaceEmbedding.pseudoConditionNumber_mul_inv_sq_le_of_isQR
- NLAlib.IsSubspaceEmbedding.pseudoConditionNumber_mul_sq_le
- NLAlib.IsSubspaceEmbedding.spectrum_pinv_mul_subset_Icc
- NLAlib.IsSubspaceInjection.frobNorm_mul_pinv_sq_le
- NLAlib.IsSubspaceInjection.frobNorm_sub_mul_pinv_mul_sq_le
- NLAlib.IsSubspaceInjection.norm_mulVec_sub_rangeProjector_mulVec_sq_le
- NLAlib.IsSubspaceInjection.norm_sub_mulVec_sq_le