Quantized Johnson–Lindenstrauss (QJL): unbiasedness of the 1-bit estimator #
This file formalizes the unbiasedness theorem at the heart of QJL / TurboQuant's one-bit key quantization. It is built in three increasing layers:
Gaussian absolute moment (
integral_abs_gaussianReal):E|Z| = √(2/π)forZ ~ N(0,1).The asymmetric sign-product identity (
sign_product_identity): for a standard Gaussian vectorginℝ^d, a unit vectoru, and an arbitraryv,E[ sign ⟪u,g⟫ · ⟪v,g⟫ ] = √(2/π) · ⟪u,v⟫. This is the asymmetric one-bit (one-sided, linear) analogue; it is not the symmetric Grothendieck arcsin identityE[ sign ⟪u,g⟫ · sign ⟪v,g⟫ ] = (2/π)·arcsin ⟪u,v⟫. The proof decomposesv = ⟪u,v⟫·u + v⊥withv⊥ ⟂ u, uses that⟪v⊥,g⟫is independent of⟪u,g⟫(orthogonal linear functionals of a standard Gaussian are independent, viaHasGaussianLaw.indepFun_of_covariance_eq_zero), and that the cross term vanishes becauseE⟪v⊥,g⟫ = 0.QJL asymmetric estimator unbiasedness (
qjlEstimator_unbiased): the 1-bit estimatorestimator S key q = √(π/2)·(1/m)·Σᵢ sign ⟪key/‖key‖, sᵢ⟫ · ⟪q, sᵢ⟫over anm × di.i.d. standard-Gaussian sketch is unbiased for the normalized inner product:E[estimator] = ⟪key/‖key‖, q⟫.
Part 1: the Gaussian absolute moment E|Z| = √(2/π) #
Part 2: the asymmetric sign-product identity #
Integrability of a Gaussian linear functional g ↦ ⟪w, g⟫.
Asymmetric sign-product identity. For a standard Gaussian vector g in ℝ^d,
a unit vector u and an arbitrary v,
E[ sign ⟪u,g⟫ · ⟪v,g⟫ ] = √(2/π) · ⟪u,v⟫.
This is the asymmetric one-bit (one-sided, linear) identity; it is not the symmetric
Grothendieck arcsin identity E[ sign ⟪u,g⟫ · sign ⟪v,g⟫ ] = (2/π)·arcsin ⟪u,v⟫.
The proof writes v = ⟪u,v⟫·u + v⊥ with v⊥ ⟂ u. The v⊥ part contributes
E[ sign ⟪u,g⟫ · ⟪v⊥,g⟫ ] = E[sign ⟪u,g⟫]·E[⟪v⊥,g⟫] = 0 because the two orthogonal linear
functionals are independent (HasGaussianLaw.indepFun_of_covariance_eq_zero) and E⟪v⊥,g⟫ = 0;
the u part contributes ⟪u,v⟫·E|⟪u,g⟫| = ⟪u,v⟫·√(2/π).
Part 3: QJL asymmetric 1-bit estimator unbiasedness #
Integrability of g ↦ sign ⟪u,g⟫ · ⟪w,g⟫ under a standard Gaussian: the sign factor is
bounded by 1 and g ↦ ⟪w,g⟫ is integrable.
Marginalization: integrating a function of a single coordinate against a product of i.i.d. probability measures equals the single-coordinate integral.
The QJL asymmetric 1-bit estimator. Given an m × d sketch S whose rows S i are
i.i.d. standard Gaussian vectors, a key and a query q,
estimator = √(π/2) · (1/m) · Σᵢ sign ⟪key/‖key‖, sᵢ⟫ · ⟪q, sᵢ⟫.
Equations
Instances For
QJL unbiasedness. Over an m × d i.i.d. standard-Gaussian sketch, the asymmetric 1-bit
estimator is unbiased for the normalized inner product ⟪key/‖key‖, q⟫.
QJL unbiasedness, un-normalized form. ‖key‖ · E[estimator] = ⟪key, q⟫.