跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.35730 · v1

One-Bit Estimators via the Balanced Fast Johnson-Lindenstrauss Transform

首次提交 2026-11-26 16:14
版本更新 2026-11-26 16:14
雷达观测 2026-11-30 11:29
arXiv ↗PDF ↗

摘要

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 rr 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 rr 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/rw/r, where the cap ww measures peak coordinate energy after preconditioning. Thus, O(ε−2log⁡(N/δ))O(\varepsilon^{-2}\log(N/δ)) rows with O(ε−1log⁡(nN/δ))O(\varepsilon^{-1}\log(nN/δ)) nonzeros per row estimate NN cosine similarities in Rn\mathbb{R}^n to accuracy ε\varepsilon with probability 1−δ1-δ: one-bit quantization increases row density rather than sketch length. Matching lower bounds show the ε−1\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.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-26 16:14 · 最新观测版本

One-Bit Estimators via the Balanced Fast Johnson-Lindenstrauss Transform

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 rr 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 rr 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/rw/r, where the cap ww measures peak coordinate energy after preconditioning. Thus, O(ε−2log⁡(N/δ))O(\varepsilon^{-2}\log(N/δ)) rows with O(ε−1log⁡(nN/δ))O(\varepsilon^{-1}\log(nN/δ)) nonzeros per row estimate NN cosine similarities in Rn\mathbb{R}^n to accuracy ε\varepsilon with probability 1−δ1-δ: one-bit quantization increases row density rather than sketch length. Matching lower bounds show the ε−1\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.

查看此版本解读 →查看此版本原文 ↗