The expected error of the Gaussian randomized SVD
Library · Source module
The expected error of the Gaussian randomized SVD
For a real \mathbf{A} and a standard Gaussian n \times \ell test matrix \mathbf{X}, the randomized SVD \mathsf{rsvd}(\mathbf{A}, \mathbf{X}) (NLAlib.rsvd) has, for a target rank k with k + 2 \le \ell and \mathbf{E} = \mathbf{A} - \llbracket\mathbf{A}\rrbracket_k, \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{X})\|_{\mathsf{F}}^2 \le \Bigl(1 + \frac{k}{\ell - k - 1}\Bigr)\|\mathbf{E}\|_{\mathsf{F}}^2\,, Halko, Martinsson and Tropp's Theorem 10.5, and its Gram form in every quadratic unitarily invariant norm, of which the Schatten forms of Tropp and Webber's Theorem 8.1 (RSVD2) and the squared spectral form are corollaries. The first spectral moment (HMT Theorem 10.6), its second-moment form, in which the Frobenius tail enters with weight O(1/\ell), and the late-truncated output truncatedSVD (rsvd A (X ω)) k in the Frobenius norm, with HMT's constant, are here too. Every error is \mathbf{A} minus the named output.
The proof completes a top-k frame \mathbf{Z} by \mathbf{V} to an orthogonal matrix (NLAlib.exists_hasOrthonormalCols_mul_mul_conjTranspose_eq_truncatedSVD_completion), so that the structural bounds of NLAlib.LowRank.Structural.RangeFinder hold almost surely with \mathbf{M} = (\mathbf{E}\mathbf{V})(\mathbf{V}^{\mathsf{H}}\mathbf{X}) (\mathbf{Z}^{\mathsf{H}}\mathbf{X})^{+}, and integrates them with the block moments of NLAlib.RandomMatrix.Gaussian.BlockMoments. No hypothesis on the shape of \mathbf{A} is needed: if k exceeds the number of columns, \operatorname{rank}\mathbf{A} \le \ell and the error is \mathbf{0} almost surely (NLAlib.ae_rsvd_eq_self_of_hasLaw_gaussianMatrix). The hypothesis k + 2 \le \ell is necessary: at \ell = k + 1 the expectation is not bounded by any multiple of \|\mathbf{E}\|_{\mathsf{F}}^2.
The spectral error of the truncated output depends on the choice truncatedSVD makes; its expectation is stated for any measurable choice of best approximations and, directly, for truncatedSVD, which is Borel measurable (NLAlib.measurable_truncatedSVD). The integrability companions are law-free, in NLAlib.LowRank.Random.RangeFinder.
Main results
* NLAlib.ae_rsvd_eq_self_of_hasLaw_gaussianMatrix: exact recovery at \operatorname{rank}\mathbf{A} \le \ell. * the Gram form, every quadratic unitarily invariant norm, in the NLAlib.SymmetricGauge namespace: integral_matrixNorm_conjTranspose_mul_self_sub_rsvd_le_of_hasLaw_gaussianMatrix. * NLAlib.integral_frobNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix: HMT Theorem 10.5, squared (the printed first-moment form follows by Jensen). * NLAlib.integral_schattenNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix, NLAlib.integral_specNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix: TW Theorem 8.1 (RSVD2). * NLAlib.rangeFinderTailRatio: the spectral bound of TW Theorem 8.1 (RSVD2) divided by \sigma_k(\mathbf{A})^2, with NLAlib.one_le_rangeFinderTailRatio and NLAlib.singularValues_sq_mul_rangeFinderTailRatio. <!-- mention rangeFinderTailRatio --> * NLAlib.rangeFinderTailRatio_le_one_add_card_sq and the two tail-weight bounds before it: dimension bounds for the asymptotic forms of the block Krylov and subspace iteration bounds. * NLAlib.integral_specNorm_sub_rsvd_le_of_hasLaw_gaussianMatrix: HMT Theorem 10.6; NLAlib.integral_specNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix_pinvSpecNormBound: its second-moment form. * NLAlib.integral_specNorm_sub_rsvd_sq_le_div_of_hasLaw_gaussianMatrix: the second spectral moment is at most 121/\ell times the optimal Frobenius error, for 4k \le \ell. * NLAlib.integral_frobNorm_sub_truncatedSVD_rsvd_sq_le_of_hasLaw_gaussianMatrix: the truncated output, Frobenius norm. * the asymptotic forms of the two Frobenius bounds above (HMT Theorem 10.5 squared and the truncated output), O(k/\varepsilon) samples for relative error 1 + \varepsilon: NLAlib.exists_forall_ followed by their names. * NLAlib.integral_specNorm_sub_sq_le_of_isBestRankApprox_of_hasLaw_gaussianMatrix: the truncated output, spectral norm, for a measurable selector; NLAlib.integral_specNorm_sub_truncatedSVD_rsvd_sq_le_of_hasLaw_gaussianMatrix, its direct form.
Declarations
- NLAlib.SymmetricGauge.integral_matrixNorm_conjTranspose_mul_self_sub_rsvd_le_of_hasLaw_gaussianMatrix
- NLAlib.ae_rsvd_eq_self_of_hasLaw_gaussianMatrix
- NLAlib.exists_forall_integral_frobNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix
- NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_rsvd_sq_le_of_hasLaw_gaussianMatrix
- NLAlib.integral_frobNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix
- NLAlib.integral_frobNorm_sub_truncatedSVD_rsvd_sq_le_of_hasLaw_gaussianMatrix
- NLAlib.integral_schattenNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix
- NLAlib.integral_specNorm_sub_rsvd_le_of_hasLaw_gaussianMatrix
- NLAlib.integral_specNorm_sub_rsvd_sq_le_div_of_hasLaw_gaussianMatrix
- NLAlib.integral_specNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix
- NLAlib.integral_specNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix_pinvSpecNormBound
- NLAlib.integral_specNorm_sub_sq_le_of_isBestRankApprox_of_hasLaw_gaussianMatrix
- NLAlib.integral_specNorm_sub_truncatedSVD_rsvd_sq_le_of_hasLaw_gaussianMatrix
- NLAlib.natCast_div_sub_sub_one_mul_frobNorm_sub_truncatedSVD_sq_le_card_mul_frobNorm_sub_truncatedSVD_sq
- NLAlib.natCast_div_sub_sub_one_mul_frobNorm_sub_truncatedSVD_sq_le_card_sq_mul_singularValues_sq
- NLAlib.one_le_rangeFinderTailRatio
- NLAlib.rangeFinderTailRatio
- NLAlib.rangeFinderTailRatio_le_one_add_card_sq
- NLAlib.singularValues_sq_mul_rangeFinderTailRatio