NLA-lib Explorer

The randomized SVD and early truncation with a CountSketch test matrix

Library · Source module

The randomized SVD and early truncation with a CountSketch test matrix

The CountSketch instances of NLAlib.LowRank.Oblivious.RangeFinder and NLAlib.LowRank.Oblivious.EarlyTruncation, for the family of NLAlib.Sketching.Sparse.CountSketch and NLAlib.Sketching.Sparse.CountSketchEmbedding: a test matrix \mathbf{\Omega} \in \Bbbk^{n \times \ell} whose sketch \mathbf{\Omega}^{\mathsf{H}} is a CountSketch (hX : HasLaw (fun ω => (X ω)ᴴ) (countSketch l n) μ), unnormalised and over any RCLike field. The randomized SVD \mathsf{rsvd}(\mathbf{A}, \mathbf{\Omega}) reaches error (1 + \varepsilon)\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2 with probability 1 - \delta at \ell = O((k^2 + k/\varepsilon)/\delta), and the early-truncated randomized SVD \mathsf{earlyTruncatedRSVD}(\mathbf{A}, \mathbf{\Omega}, k) at \ell = O(k^2/(\varepsilon^2\delta)). Both run the injection of the family at the head with the CountSketch's own approximate-multiplication tail (NLAlib.measureReal_frobNorm_conjTranspose_mul_sub_ge_le_of_hasLaw_countSketch, failure 2/(\ell\varepsilon^2), over any field), through the generic forms that take a multiplication tail: NLAlib.HasSubspaceInjection.measureReal_frobNorm_sub_truncatedSVD_rsvd_sq_gt_add_le and NLAlib.HasSubspaceInjection.measureReal_frobNorm_sub_mul_sq_gt_one_add_mul_le.

Statements with no per-family form. Nyström, generalized Nyström and the truncations apply through the family's OSI:

isObliviousSubspaceInjection_of_hasLaw_countSketch_of_countSketchEmbeddingDim_le hX k hε hδ hl

about fun ω => (X ω)ᴴ itself (the CountSketch is isotropic unscaled).

Main results

* NLAlib.measureReal_frobNorm_sub_rsvd_sq_gt_le_of_hasLaw_countSketch: the randomized SVD, and its asymptotic form exists_forall_measureReal_frobNorm_sub_rsvd_sq_gt_le_of_hasLaw_countSketch. * NLAlib.measureReal_frobNorm_sub_earlyTruncatedRSVD_sq_gt_le_of_hasLaw_countSketch: early truncation, and its asymptotic form exists_forall_measureReal_frobNorm_sub_earlyTruncatedRSVD_sq_gt_le_of_hasLaw_countSketch.

Declarations