NLA-lib Explorer

Projections of a uniform unit vector

Library · Source module

Projections of a uniform unit vector

For \mathbf{u} uniform on the unit sphere of \mathbb{R}^n and V : Matrix n k ℝ with orthonormal columns, \|\mathbf{V}^{\mathsf{H}}\mathbf{u}\|^2 is the squared length of the projection of \mathbf{u} onto a fixed \lvert k \rvert-dimensional subspace. Its law does not depend on \mathbf{V}, and it is the law of \|\mathbf{Q}^{\mathsf{H}}\mathbf{x}\|^2 for an n \times k Haar frame \mathbf{Q} and a fixed unit \mathbf{x}: this is the Haar sketch's Johnson–Lindenstrauss variable. This file gives the law, the Chernoff tails of Dasgupta and Gupta (2003) around the mean \lvert k \rvert / \lvert n \rvert, on either side, and the exact fourth moment \mathbb{E}\|\mathbf{V}^{\mathsf{H}}\mathbf{u}\|^4 = \frac{\lvert k \rvert (\lvert k \rvert + 2)}{\lvert n \rvert (\lvert n \rvert + 2)} \,.

The tails go through \mathbf{u} = \mathbf{g} / \|\mathbf{g}\| for a standard Gaussian \mathbf{g} (NLAlib.hasLaw_inv_norm_smul_of_hasLaw_gaussianVector), the orthogonal \mathbf{W} = \begin{\mathbf{b}matri\mathbf{x}} \mathbf{V} & \mathbf{V}_{\perp} \end{\mathbf{b}matri\mathbf{x}}^{\mathsf{H}} from NLAlib.HasOrthonormalCols.exists_fromCols and NLAlib.hasLaw_mulVec_of_hasLaw_gaussianVector, which reduce \|\mathbf{V}^{\mathsf{H}}\mathbf{u}\|^2 \le c to the event 0 \le \sum_i \theta_i \mathbf{g}_i^2 with two weights, and Chernoff's bound with NLAlib.integral_exp_sum_mul_sq_of_hasLaw_gaussianVector. The fourth moment uses invariance alone (NLAlib.HasOrthonormalCols.uniformSphereVector_map_conjTranspose_mulVec_eq: the law of \mathbf{V}^{\mathsf{H}}\mathbf{u} depends only on the column type of \mathbf{V}): \sum_i \mathbf{u}_i^2 = 1 and a 45^\circ rotation give \mathbb{E}\,\mathbf{u}_1^4 = 3 \, \mathbb{E}\,\mathbf{u}_1^2 \mathbf{u}_2^2 when \lvert n \rvert \ge 2; for \lvert n \rvert = 1, \mathbf{u} = \pm 1.

For 0 < k < n, \|\mathbf{V}^{\mathsf{H}}\mathbf{u}\|^2 \sim \mathrm{Beta}(k/2, (n-k)/2): the two blocks of \mathbf{W}^{\mathsf{H}}\mathbf{g} give independent chi-square laws, whose ratio is Beta. With the Beta sub-Gaussian proxy [MarchalArbel2017], \|\mathbf{V}^{\mathsf{H}}\mathbf{u}\|^2 - k/n has variance proxy 1/(2(n+2)) for every 0 \le k \le n, and Hoeffding gives the tail 2e^{-m(n+2)\tau^2} of the mean of m independent copies (the last theorem of the file; its name is too long for the list below).

Main results

* NLAlib.hasLaw_conjTranspose_mulVec_of_hasLaw_haarFrame: \mathbf{Q}^{\mathsf{H}}\mathbf{x} has the law of \mathbf{V}^{\mathsf{H}}\mathbf{u}. * NLAlib.measureReal_norm_conjTranspose_mulVec_sq_ge_mul_div_le_of_hasLaw_uniformSphereVector, NLAlib.measureReal_norm_conjTranspose_mulVec_sq_le_mul_div_le_of_hasLaw_uniformSphereVector: the two Chernoff tails. * The relative deviation (in namespace NLAlib): measureReal_abs_div_mul_norm_conjTranspose_mulVec_sq_sub_one_ge_le_of_hasLaw_uniformSphereVector * NLAlib.ae_norm_eq_one_uniformSphereVector: a uniform unit vector has norm 1 almost surely. * NLAlib.HasOrthonormalCols.uniformSphereVector_map_conjTranspose_mulVec_eq: sphere invariance. * NLAlib.integral_norm_conjTranspose_mulVec_pow_four_of_hasLaw_uniformSphereVector: the fourth moment. * NLAlib.hasLaw_norm_conjTranspose_mulVec_sq_of_hasLaw_uniformSphereVector: the Beta law. * NLAlib.hasSubgaussianMGF_norm_conjTranspose_mulVec_sq_sub_of_hasLaw_uniformSphereVector: the sub-Gaussian proxy 1/(2(n+2)).

Declarations