One-Bit Estimators via the Balanced Fast Johnson-Lindenstrauss Transform
Abstract
Vector databases and near-duplicate detectors compress high-dimensional vectors for rapid query comparison. One-bit sketches retain only the signs of random projections, estimating inner products either by correlating a sign code against a full-precision query (the asymmetric estimator) or by comparing two sign codes directly (SimHash). Existing guarantees rely on dense Gaussian projections, whose cost dominates encoding in high dimensions. The fast Johnson-Lindenstrauss transform (FJLT) offers a fast alternative: after a randomized Hadamard transform spreads coordinate energy, a sparse Gaussian matrix with roughly nonzeros per row replaces the dense projection. Signing an FJLT output is the natural fast one-bit sketch, yet has lacked theoretical guarantees. We prove nonasymptotic bounds for both the classical FJLT and a balanced variant with exactly nonzeros per row, equalizing workloads, simplifying vectorization, and reducing variance in captured energy. Conditioned on its support, a sparse Gaussian row remains an exact Gaussian projection, viewing data through a randomly distorted metric. Taking signs turns this distortion into a systematic bias that adding rows cannot average away. We bound this bias by an explicit constant times , where the cap measures peak coordinate energy after preconditioning. Thus, rows with nonzeros per row estimate cosine similarities in to accuracy with probability : one-bit quantization increases row density rather than sketch length. Matching lower bounds show the sparsity factor is unavoidable for the asymmetric estimator at small , while at full precision we recover the optimal sparsity of the linear FJLT with explicit constants.
Create a lesson
Metadata
- Categories
- cs.AI, cs.DS, cs.GT, math.ST, stat.TH
Related papers
Optimal recovery from moments and polynomial-time density estimation for Gaussian location mixtures
Shared title terminologycs.AIDo Ngoc Tuan, Dao Quang Hiep
Hierarchical Distance Decomposition for Minimum-Action-Distance Estimation
Shared title terminologycs.AILorenzo Steccanella, Joshua B. Evans, Amir Esterhuysen et al.
ReCon: Toward Balanced Learning under Inter-Context and Context-Memory Conflicts
Shared title terminologycs.AIHuipeng Ma, Dandan Song, Shaonan Ma et al.