Flattening by a randomized unitary transform
Library · Source module
Flattening by a randomized unitary transform
Let \mathbf{F} be a bounded orthonormal transform with constant \beta (NLAlib.IsBoundedOrthonormal F β: unitary, \lvert n \rvert \, \lvert \mathbf{F}_{i,j} \rvert^2 \le \beta) and \mathbf{D} = \operatorname{diag}(\boldsymbol{\xi}) a diagonal of independent random signs. For every \mathbf{U} of rank d, the leverage scores of \mathbf{F}\mathbf{D} \mathbf{U} are all at most \frac{\beta\,(d + 2\sqrt{d t} + 2t)}{\lvert n \rvert} outside probability \lvert n \rvert e^{-t}: the randomized transform makes every subspace incoherent (flattening). Row i of \mathbf{F}\mathbf{D}\mathbf{Q}, for an orthonormal basis \mathbf{Q} of \operatorname{range}\mathbf{U}, is the image of the sign vector under a matrix \mathbf{M}_i with \|\mathbf{M}_i\|_{\mathsf{F}}^2 \le \beta d / \lvert n \rvert and \|\mathbf{M}_i\|_2^2 \le \beta / \lvert n \rvert, so the Hsu–Kakade–Zhang tail (NLAlib.IsSubgaussianVector.measureReal_norm_mulVec_sq_ge_le) bounds it, over any RCLike field with the real constant. At t = \log(\lvert n \rvert/\delta), outside probability \delta the leverage scores are at most <!-- value srhtRowBound {\lvert n \rvert} d \delta --> \frac{\beta\,\bigl(d + 2\sqrt{d \log(\lvert n \rvert/\delta)} + 2 \log(\lvert n \rvert/\delta)\bigr)}{\lvert n \rvert}\,, whose numerator is the threshold NLAlib.srhtRowBound. The same argument bounds the rows of \mathbf{F}\mathbf{D}\mathbf{A} for a general \mathbf{A}: outside probability \lvert n\rvert e^{-t} every squared row norm is at most \beta times the flattened row-norm bound <!-- value srhtRowNormBound \mathbf{A} t --> \|\mathbf{A}\|_{\mathsf{F}}^2 + 2\|\mathbf{A}\|_{\mathsf{F}}\|\mathbf{A}\|_2\sqrt{t} + 2\|\mathbf{A}\|_2^2 t over \lvert n\rvert (NLAlib.srhtRowNormBound), the input of the SRHT's spectral approximate multiplication.
The second half is generic: a sampler that injects (or embeds) every fixed subspace whose leverage scores are at most L / \lvert n \rvert, composed with an independent random unitary \mathbf{T} that makes \mathbf{T}\mathbf{U} so incoherent outside probability \delta_2, injects (or embeds) \operatorname{range}\mathbf{U} outside probability \delta_1 + \delta_2 (flatten, then sample). The subsampled randomized trigonometric transforms of NLAlib.Sketching.Structured.SRHT instantiate it with uniform row sampling; rerandomized transforms and sparse samplers are other instances.
Degenerate cases. Rank zero: every leverage score is 0 and the flattening event is empty. Empty n: every event is empty. For nonempty n, \beta \ge 1. The signs are \pm 1 only almost surely, so \mathbf{F}\mathbf{D} is unitary only almost surely. The transfer takes 0 \le \delta_1: with L < 0 its sampling hypothesis is vacuous.
Main definitions
* NLAlib.srhtRowBound: the flattening threshold at failure probability \delta, the value <!-- value srhtRowBound n d \delta --> d + 2\sqrt{d \log(n/\delta)} + 2 \log(n/\delta) for dimension d and n rows. * NLAlib.srhtRowNormBound: the flattened row-norm bound of a general matrix, the value <!-- value srhtRowNormBound \mathbf{A} t --> \|\mathbf{A}\|_{\mathsf{F}}^2 + 2\|\mathbf{A}\|_{\mathsf{F}}\|\mathbf{A}\|_2\sqrt{t} + 2\|\mathbf{A}\|_2^2 t\,.
Main results
* NLAlib.HasOrthonormalCols.ae_hasOrthonormalCols_mul_diagonal_of_hasLaw_rademacherVector: \mathbf{F}\mathbf{D} is unitary almost surely. * NLAlib.measureReal_exists_leverageScore_mul_diagonal_gt_le_of_hasLaw_rademacherVector: flattening; its \delta form, in namespace NLAlib, measureReal_exists_leverageScore_mul_diagonal_gt_srhtRowBound_le_of_hasLaw_rademacherVector. * NLAlib.srhtRowBound_nonneg, NLAlib.srhtRowBound_mono, NLAlib.srhtRowBound_le, NLAlib.srhtRowBound_div_two_le: the API of the threshold. * NLAlib.measureReal_exists_norm_mul_diagonal_mul_apply_sq_gt_le_of_hasLaw_rademacherVector: flattening of the rows of a general matrix. * NLAlib.hasSubspaceInjection_mul_of_indepFun_of_leverageScore_le, NLAlib.hasSubspaceEmbedding_mul_of_indepFun_of_leverageScore_le: flatten, then sample.
Declarations
- NLAlib.HasOrthonormalCols.ae_hasOrthonormalCols_mul_diagonal_of_hasLaw_rademacherVector
- NLAlib.hasSubspaceEmbedding_mul_of_indepFun_of_leverageScore_le
- NLAlib.hasSubspaceInjection_mul_of_indepFun_of_leverageScore_le
- NLAlib.measureReal_exists_leverageScore_mul_diagonal_gt_le_of_hasLaw_rademacherVector
- NLAlib.measureReal_exists_leverageScore_mul_diagonal_gt_srhtRowBound_le_of_hasLaw_rademacherVector
- NLAlib.measureReal_exists_norm_mul_diagonal_mul_apply_sq_gt_le_of_hasLaw_rademacherVector
- NLAlib.srhtRowBound
- NLAlib.srhtRowBound_def
- NLAlib.srhtRowBound_div_two_le
- NLAlib.srhtRowBound_le
- NLAlib.srhtRowBound_mono
- NLAlib.srhtRowBound_nonneg
- NLAlib.srhtRowNormBound
- NLAlib.srhtRowNormBound_def
- NLAlib.srhtRowNormBound_le
- NLAlib.srhtRowNormBound_nonneg