基于 Balanced FJLT 的一比特估计器理论保证研究
One-Bit Estimators via the Balanced Fast Johnson-Lindenstrauss Transform
AI 导读
arXiv 论文为 FJLT 输出取符号构成的一比特草图提供了非渐近理论保证。作者证明经典 FJLT 及每行恰有 r 个非零元的 balanced 变体的界,指出取符号会引入无法通过增加行数平均掉的系统性偏差,偏差上界为常数乘 w/r。
正文 · 原文
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 $r$ 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 $r$ 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 $w/r$, where the cap $w$ measures peak coordinate energy after preconditioning. Thus, $O(\varepsilon^{-2}\log(N/\delta))$ rows with $O(\varepsilon^{-1}\log(nN/\delta))$ nonzeros per row estimate $N$ cosine similarities in $\mathbb{R}^n$ to accuracy $\varepsilon$ with probability $1-\delta$: one-bit quantization increases row density rather than sketch length. Matching lower bounds show the $\varepsilon^{-1}$ sparsity factor is unavoidable for the asymmetric estimator at small $\varepsilon$, while at full precision we recover the optimal sparsity of the linear FJLT with explicit constants.
| Subjects: | Artificial Intelligence (cs.AI); Data Structures and Algorithms (cs.DS); Computer Science and Game Theory (cs.GT); Statistics Theory (math.ST) |
| MSC classes: | 68W20, 60E15, 36B85, 62G35, 68P30 |
| ACM classes: | F.2.1; F.2.2; G.3; E.4; H.3.3 |
| Cite as: | arXiv:2611.35730 [cs.AI] |
| (or arXiv:2611.35730v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.35730 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Alexander Smola [view email]
[v1]
Thu, 26 Nov 2026 08:14:09 UTC (542 KB)
来源:arXiv cs.AI · arxiv.org