NLA-lib Explorer

Second moments of random sketches

Library · Source module

Second moments of random sketches

If the entries of a random matrix \mathbf{X}, read as a vector indexed by m \times n, are isotropic, then \mathbb{E} \|\mathbf{S}\mathbf{X}\mathbf{T}\|_{\mathsf{F}}^2 = \|\mathbf{S}\|_{\mathsf{F}}^2 \|\mathbf{T}\|_{\mathsf{F}}^2 for fi\mathbf{x}ed \mathbf{S} and \mathbf{T} (Halko, Martinsson and Tropp 2011, Proposition 10.1, for a Gaussian \mathbf{X}); the proof writes \mathbf{S}\mathbf{X}\mathbf{T} as \mathbf{S} \otimes \mathbf{T}^{\mathsf{T}} applied to the entries and uses \mathbb{E} \|\mathbf{A}\mathbf{y}\|^2 = \|\mathbf{A}\|_{\mathsf{F}}^2 for an isotropic \mathbf{y}. The same holds when \mathbf{S} and \mathbf{T} are random but independent of \mathbf{X}: \mathbb{E} \|\mathbf{S}\mathbf{X}\mathbf{T}\|_{\mathsf{F}}^2 = \mathbb{E}\bigl[\|\mathbf{S}\|_{\mathsf{F}}^2 \|\mathbf{T}\|_{\mathsf{F}}^2\bigr], which is the conditioning step of the randomized range finder's error bound; the two sides are integrable together.

The isotropic statements are over \Bbbk and are stated at the root (their subject is Function.uncurry X, so the IsIsotropic dot notation would not apply); the Gaussian ones are their corollaries over \mathbb{R}.

Main results

* NLAlib.integral_frobNorm_mul_mul_sq_of_isIsotropic. * NLAlib.integral_frobNorm_mul_mul_sq_of_hasLaw_gaussianMatrix. * NLAlib.integral_frobNorm_mul_mul_le_of_hasLaw_gaussianMatrix: the Frobenius mean, \mathbb{E}\|\mathbf{S}\mathbf{G}\mathbf{T}\|_{\mathsf{F}} \le \|\mathbf{S}\|_{\mathsf{F}}\|\mathbf{T}\|_{\mathsf{F}}. * NLAlib.integral_frobNorm_pow_four_of_hasLaw_gaussianMatrix: the fourth moment, \mathbb{E}\|\mathbf{G}\|_{\mathsf{F}}^4 = d^2 + 2d with d = \lvert m \rvert\lvert n \rvert; NLAlib.integrable_frobNorm_pow_four_of_hasLaw_gaussianMatrix. * NLAlib.integral_frobNorm_mul_mul_sq_of_isIsotropic_of_indepFun, NLAlib.integrable_frobNorm_mul_mul_sq_iff_of_isIsotropic_of_indepFun. * NLAlib.integral_frobNorm_mul_mul_sq_of_hasLaw_gaussianMatrix_of_indepFun.

Declarations