Late truncation of sketched low-rank approximations
Library · Source module
Late truncation of sketched low-rank approximations
Late truncation computes an approximation and then keeps its best rank-k part: \llbracket\mathsf{rsvd}(\mathbf{A}, \mathbf{\Omega})\rrbracket_k for the randomized SVD, \llbracket\mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\rrbracket_k for Nyström and \llbracket\mathsf{gn}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi})\rrbracket_k for generalized Nyström. They have no names: they are spelled truncatedSVD (rsvd A Ω) k, truncatedSVD (nystrom H Ω) k and truncatedSVD (generalizedNystrom A Ω Ψ) k, and their errors A - truncatedSVD (rsvd A Ω) k and so on. The algorithm's own form \mathbf{Q}\llbracket\mathbf{Q}^{\mathsf{H}}\mathbf{A}\rrbracket_k is bridged by NLAlib.HasOrthonormalCols.frobNorm_sub_truncatedSVD_rsvd.
The deterministic bounds here are instances of the truncation lemmas of NLAlib/Matrix/Spectral/BestRankApprox.lean: constant one for the randomized SVD and for Nyström of a positive semidefinite matrix (both are dominated by the input), an exact Pythagorean split for the randomized SVD in the Frobenius norm, the Gram correspondence between truncated Nyström and the truncated randomized SVD of a factor, and perturbed truncation for generalized Nyström. Every statement holds for every choice of the truncation.
Main results
* NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_window_of_singularValues_le: reciprocal-window generalized Nyström bound.
* NLAlib.SymmetricGauge.matrixNorm_sub_truncatedSVD_rsvd_le: HMT Theorem 9.3, every gauge. * NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq, NLAlib.frobNorm_rsvd_sub_truncatedSVD_le, NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq_le_frobNorm_sub_rsvd_sq_add: the Frobenius split. * NLAlib.HasOrthonormalCols.frobNorm_sub_truncatedSVD_rsvd: the algorithm's factored form. * NLAlib.IsBestRankApprox.specNorm_sub_sq_add_frobNorm_sub_truncatedSVD_sq_le: reverse Eckart–Young for a truncation of the randomized SVD. * NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq_le_frobNorm_sub_truncatedSVD_sq_add: Gu's projected form. * NLAlib.SymmetricGauge.matrixNorm_sub_truncatedSVD_nystrom_le, NLAlib.nuclearNorm_conjTranspose_mul_self_sub_truncatedSVD_nystrom, Matrix.PosSemidef.nuclearNorm_sub_truncatedSVD_nystrom, Matrix.PosSemidef.nuclearNorm_sub_le_nuclearNorm_sub_truncatedSVD_nystrom_of_isBestRankApprox: truncated Nyström, the last for any best approximation in place of the truncation; it lies below the matrix by Matrix.PosSemidef.truncatedSVD_nystrom_le (NLAlib.Matrix.Factorizations.NystromOrder). * NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_frobNorm_truncatedSVD, NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_specNorm: truncated generalized Nyström, from its core form NLAlib.exists_core_generalizedNystrom. * NLAlib.truncatedSVD_rsvd_eq_rangeProjector_mul, NLAlib.singularValues_sub_truncatedSVD_rsvd_le_of_le: the truncated randomized SVD is a projection of \mathbf{A}, and its error decreases with the rank. * NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq_le_frobNorm_sub_truncatedSVD_generalizedNystrom_sq: truncated generalized Nyström never beats the truncated randomized SVD. * NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_specNorm_mul_frobNorm: the perturbed truncation with the next-k tail in the cross term. * NLAlib.le_frobNorm_sub_truncatedSVD_generalizedNystrom_sq: the reverse perturbed truncation, under a gap. The last two are new. * NLAlib.generalizedNystrom_eq_rsvd_add, NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_eq_add: generalized Nyström is the randomized SVD plus the core noise, and its truncation error splits. * NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_window: the localized perturbed truncation of NLAlib/Matrix/Perturbation/BestRankApprox.lean for generalized Nyström.
Declarations
- Matrix.PosSemidef.nuclearNorm_sub_le_nuclearNorm_sub_truncatedSVD_nystrom_of_isBestRankApprox
- Matrix.PosSemidef.nuclearNorm_sub_truncatedSVD_nystrom
- NLAlib.HasOrthonormalCols.frobNorm_sub_truncatedSVD_rsvd
- NLAlib.IsBestRankApprox.frobNorm_sub_sq_eq_frobNorm_sub_rsvd_sq_add
- NLAlib.IsBestRankApprox.specNorm_sub_sq_add_frobNorm_sub_truncatedSVD_sq_le
- NLAlib.SymmetricGauge.matrixNorm_sub_truncatedSVD_nystrom_le
- NLAlib.SymmetricGauge.matrixNorm_sub_truncatedSVD_rsvd_le
- NLAlib.exists_core_generalizedNystrom
- NLAlib.frobNorm_rsvd_sub_truncatedSVD_le
- NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_eq_add
- NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_frobNorm_truncatedSVD
- NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_specNorm
- NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_specNorm_mul_frobNorm
- NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_window
- NLAlib.frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_window_of_singularValues_le
- NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq
- NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq_le_frobNorm_sub_rsvd_sq_add
- NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq_le_frobNorm_sub_truncatedSVD_generalizedNystrom_sq
- NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq_le_frobNorm_sub_truncatedSVD_sq_add
- NLAlib.generalizedNystrom_eq_rsvd_add
- NLAlib.le_frobNorm_sub_truncatedSVD_generalizedNystrom_sq
- NLAlib.nuclearNorm_conjTranspose_mul_self_sub_truncatedSVD_nystrom
- NLAlib.singularValues_sub_truncatedSVD_rsvd_le_of_le
- NLAlib.truncatedSVD_rsvd_eq_rangeProjector_mul