NLA-lib Explorer

Tail bounds for the Gaussian range finder and the randomized SVD

Library · Source module

Tail bounds for the Gaussian range finder and the randomized SVD

For \mathbf{A} \in \mathbb{R}^{m \times n}, a standard Gaussian test matrix \mathbf{X} \in \mathbb{R}^{n \times \ell} and a target rank k, the error of the randomized SVD is A - rsvd A (X ω), \mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{X}), and the error of its late truncation is A - truncatedSVD (rsvd A (X ω)) k. Throughout, \mathbf{E} = \mathbf{A} - \llbracket\mathbf{A}\rrbracket_k,\qquad \|\mathbf{E}\|_2 = \sigma_k(\mathbf{A}),\qquad d = \ell - k + 1\,, the last written hd : k + d = Fintype.card l + 1 (singular values are indexed from 0).

Every statement bounds the probability of the failure event, written positively (docs/contributing/naming.md N15), μ.real {ω | bound < error ω}. The primary tail is Tropp and Webber's (RSVD1): in Gram form for every unitarily invariant norm, with its Schatten, Frobenius and spectral corollaries and the truncated outputs. Its noise term is (tk/d)(\|\mathbf{E}\|_{\mathsf{F}} + s\,\sigma_k(\mathbf{A}))^2 and its failure probability is <!-- value gaussianPinvFrobTail k d t --> e^{-s^2/2} + 2\sqrt{k}\,(d/(2t))^{d/2}/\Gamma(d/2 + 1), for s \ge 0 and t > 0. They print the noise term (utk/d)\|\mathbf{E}\|_{\mathsf{F}}^2 with failure probability e^{-(u-2)/4} + \sqrt{\pi k}\,(e/t)^{d/2}, which follows at s = \sqrt{u} - 1: the deviation is measured with the Lipschitz constant \|\mathbf{S}\|_2\|\mathbf{G}_1^{+}\|_2 rather than \|\mathbf{S}\|_{\mathsf{F}}\|\mathbf{G}_1^{+}\|_{\mathsf{F}}, and the second term (NLAlib.gaussianPinvFrobTail k d t) is smaller than theirs. Beside it, Halko, Martinsson and Tropp's deviation bounds (Theorems 10.7 and 10.8) with the constants the library reaches, in the squared form the Pythagorean structural bound gives; they are incomparable with (RSVD1) and better for a large oversampling \ell - k, at the cost of a spectral failure term t^{-(\ell - k)}.

All proofs follow one route. A frame \mathbf{Z} with \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}} = \llbracket\mathbf{A}\rrbracket_k and its orthogonal complement \mathbf{V}_2 turn the structural bound of NLAlib/LowRank/Structural/RangeFinder.lean, which holds almost surely, into a bound by the Gaussian block \mathbf{S}(\mathbf{V}_2^{\mathsf{H}}\mathbf{X})(\mathbf{Z}^{\mathsf{H}}\mathbf{X})^{+},\qquad \mathbf{S} = \mathbf{E}\mathbf{V}_2\,, whose tails are in NLAlib/RandomMatrix/Gaussian/BlockTail.lean.

Measurability. The spectral error of the truncated output depends on the choice the truncation makes. Its tails hold for every choice of best approximations, measurable or not; for a non-measurable one they bound μ.real of a possibly non-measurable set, which is the outer measure: the failure event lies in a measurable event of at most the stated probability. At truncatedSVD, which is Borel measurable (NLAlib.measurable_truncatedSVD), the failure event is measurable and the success-set form follows by measureReal_compl.

Main results

* The Gram form, every unitarily invariant norm, in the namespace NLAlib.SymmetricGauge: measureReal_matrixNorm_conjTranspose_mul_self_sub_rsvd_gt_le_of_hasLaw_gaussianMatrix. * NLAlib.measureReal_schattenNorm_sub_rsvd_sq_gt_le_of_hasLaw_gaussianMatrix, NLAlib.measureReal_frobNorm_sub_rsvd_sq_gt_le_of_hasLaw_gaussianMatrix, NLAlib.measureReal_specNorm_sub_rsvd_sq_gt_le_of_hasLaw_gaussianMatrix: Schatten p \in [2, \infty], Frobenius and spectral. * NLAlib.measureReal_frobNorm_sub_truncatedSVD_rsvd_sq_gt_le_of_hasLaw_gaussianMatrix, NLAlib.measureReal_specNorm_sub_sq_gt_le_of_isBestRankApprox_of_hasLaw_gaussianMatrix, NLAlib.measureReal_specNorm_sub_truncatedSVD_rsvd_sq_gt_le_of_hasLaw_gaussianMatrix: the truncated outputs. * The deviation bounds of Halko, Martinsson and Tropp, in squared (Pythagorean) form, in the NLAlib namespace: measureReal_frobNorm_sub_rsvd_sq_gt_gaussianPinvSpecNormBound_le_of_hasLaw_gaussianMatrix, measureReal_specNorm_sub_rsvd_sq_gt_gaussianPinvSpecNormBound_le_of_hasLaw_gaussianMatrix.

Declarations