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/δ))$ rows with $O(\varepsilon^{-1}\log(nN/δ))$ nonzeros per row estimate $N$ cosine similarities in $\mathbb{R}^n$ to accuracy $\varepsilon$ with probability $1-δ$: 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.


翻译:暂无翻译

0
下载
关闭预览

相关内容

年度最佳? ETHZ最新《简化版Transformer》论文
专知会员服务
50+阅读 · 2023年11月29日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
BERT大火却不懂Transformer?读这一篇就够了
大数据文摘
12+阅读 · 2019年1月8日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
论文浅尝 | Question Answering over Freebase
开放知识图谱
19+阅读 · 2018年1月9日
【推荐】RNN/LSTM时序预测
机器学习研究会
25+阅读 · 2017年9月8日
IJCAI | Cascade Dynamics Modeling with Attention-based RNN
KingsGarden
13+阅读 · 2017年7月16日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
12+阅读 · 2012年12月31日
Arxiv
0+阅读 · 11月21日
VIP会员
最新内容
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
14+阅读 · 11月25日
乌克兰无人机饱和战场中的错误教训
专知会员服务
19+阅读 · 11月17日
面向最后一战术英里:美军无人机创新尝试
专知会员服务
15+阅读 · 11月17日
相关VIP内容
年度最佳? ETHZ最新《简化版Transformer》论文
专知会员服务
50+阅读 · 2023年11月29日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
相关资讯
BERT大火却不懂Transformer?读这一篇就够了
大数据文摘
12+阅读 · 2019年1月8日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
论文浅尝 | Question Answering over Freebase
开放知识图谱
19+阅读 · 2018年1月9日
【推荐】RNN/LSTM时序预测
机器学习研究会
25+阅读 · 2017年9月8日
IJCAI | Cascade Dynamics Modeling with Attention-based RNN
KingsGarden
13+阅读 · 2017年7月16日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
12+阅读 · 2012年12月31日
Top
微信扫码咨询专知VIP会员