Approximate matrix multiplication from the JL moment property
Library · Source module
Approximate matrix multiplication from the JL moment property
A real sketch \mathbf{S} with the JL moment property, exponent p \ge 2, approximates every product \mathbf{A}^{\mathsf{H}}\mathbf{B}: \mathbb{E}\|\mathbf{A}^{\mathsf{H}}\mathbf{S}^{\mathsf{H}}\mathbf{S}\mathbf{B} - \mathbf{A}^{\mathsf{H}}\mathbf{B}\|_{\mathsf{F}}^p \le (\varepsilon \|\mathbf{A}\|_{\mathsf{F}} \|\mathbf{B}\|_{\mathsf{F}})^p \delta\,. At \mathbf{A} = \mathbf{B} = \mathbf{U} with orthonormal columns this is a Gram-error bound, so the sketch is a random subspace embedding for every fixed subspace with distortion \varepsilon times the dimension, hence an oblivious subspace embedding.
Over \mathbb{R} only, with constant 1: Woodruff's statement has 3 \varepsilon, and 1 is optimal (the deterministic sketch with \mathbf{S}^{\mathsf{H}}\mathbf{S} = (1 + \varepsilon)\mathbf{I}, at \mathbf{A} = \mathbf{B} a unit vector, attains it). Over \mathbb{C} the hypothesis gives only \sqrt{2}\,\varepsilon, and this is sharp: for \mathbf{E} = \mathbf{S}^{\mathsf{H}}\mathbf{S} - \mathbf{I} = c (\xi_1 \boldsymbol{\sigma}_x + \xi_2 \boldsymbol{\sigma}_y) with Rademacher \xi_1, \xi_2, Pauli matrices \boldsymbol{\sigma}_\mathbf{x}, \boldsymbol{\sigma}_y and c \le 1/\sqrt{2}, one has \mathbb{E}(\mathbf{x}^{\mathsf{H}}\mathbf{E}\mathbf{x})^2 \le c^2 \|\mathbf{x}\|^4 for every \mathbf{x} but \mathbb{E}\lvert\mathbf{e}_1^{\mathsf{H}}\mathbf{E}\mathbf{e}_2\rvert^2 = 2 c^2. A form over \Bbbk with \sqrt{2}\,\varepsilon is added when a complex consumer appears.
Main results
* NLAlib.HasJLMoment.integral_frobNorm_conjTranspose_mul_sub_rpow_le: approximate matrix multiplication in L^p. * NLAlib.HasJLMoment.measureReal_frobNorm_conjTranspose_mul_sub_ge_le: its tail. * NLAlib.HasJLMoment.hasSubspaceEmbedding, NLAlib.HasJLMoment.isObliviousSubspaceEmbedding.