Early truncation with a Gaussian test matrix, through injection and approximate multiplication
Library · Source module
Early truncation with a Gaussian test matrix, through injection and approximate multiplication
The Gaussian instance of NLAlib.LowRank.Oblivious.EarlyTruncation, for the family of NLAlib.Sketching.Gaussian.Gaussian: for a standard Gaussian n \times \ell test matrix \mathbf{\Omega}, the early-truncated randomized SVD \mathsf{earlyTruncatedRSVD}(\mathbf{A}, \mathbf{\Omega}, k) reaches error (1 + \varepsilon)\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2 with probability 1 - \delta at \ell = O((k/\delta + \log(1/\delta))/\varepsilon^2) through the second JL moment, and at \ell = O(k\log(1/\delta)/\varepsilon^2) through the JL moment at p = \log(1/\delta). The family's predicates are about the normalised sketch \ell^{-1/2}\mathbf{\Omega}^{\mathsf{H}} (the transpose of a Gaussian matrix is Gaussian, NLAlib.hasLaw_conjTranspose_of_hasLaw_gaussianMatrix); the generic theorem runs there with the projector of \llbracket\mathbf{A}\mathbf{\Omega}\rrbracket_k computed at the raw test matrix, so the conclusion is about the output the user computes. Real throughout.
Statements with no per-family form. The randomized SVD itself with a Gaussian test matrix has the sharper tails of NLAlib.LowRank.Gaussian.RangeFinderTail. The generic Nyström, generalized Nyström and truncation tails apply to the Gaussian sketch through its OSI and JL moment property, for hX : HasLaw X (gaussianMatrix n l) μ and hG := hasLaw_conjTranspose_of_hasLaw_gaussianMatrix hX:
isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix_of_gaussianInjectionDim_le hG hε hε2 hδ hδ1 hl hasJLMoment_of_hasLaw_gaussianMatrix hG hε
both about fun ω => (√(Fintype.card l : ℝ))⁻¹ • (X ω)ᴴ, which is fun ω => ((√(Fintype.card l : ℝ))⁻¹ • X ω)ᴴ by Matrix.conjTranspose_smul; a statement about rsvd at the rescaled test matrix is one about the raw one by NLAlib.rsvd_smul_right (the library has no such identity for the other outputs yet, and early truncation needs none: the projector form takes the projector of the raw output).
Main results
* NLAlib.measureReal_frobNorm_sub_earlyTruncatedRSVD_sq_gt_le_of_hasLaw_gaussianMatrix: the explicit tail; measureReal_frobNorm_sub_earlyTruncatedRSVD_sq_gt_le_of_hasLaw_gaussianMatrix_of_jlMomentDim_le, its \log(1/\delta) twin, and the asymptotic form exists_forall_measureReal_frobNorm_sub_earlyTruncatedRSVD_sq_gt_le_of_hasLaw_gaussianMatrix.