Frontend
Hypercube LSH for approximate near neighbors
arXiv cs.CR0 views
arXiv:1702.05760v2 Announce Type: replace-cross Abstract: A celebrated technique for finding near neighbors for the angular distance involves using a set of random hyperplanes to partition the space into hash regions [Charikar, STOC 2002]. Experiments later showed that using a set of orthogonal hyperplanes, thereby partitioning the space into the Voronoi regions induced by a hypercube, leads to even better results [Terasawa and Tanaka, WADS 2007]. However, no theoretical explanation for this improvement was ever given, and it remained unclear how the resulting hypercube hash method scales in high dimensions. In this work, we provide explicit asymptotics for the collision probabilities when using hypercubes to partition the space. Vectors at angle $\pi/3$ collide with probability $(\sqrt{3}/\pi)^{d + o(d)}$ in dimension $d$, compared to $(2/3)^d$ for random hyperplanes, and near-parallel vectors collide with similar asymptotic probabilities in both cases. The limiting exponential base tends continuously to zero as the angle approaches $\frac{\pi}{2}$ from below. For fixed near and far angular thresholds below $\pi/2$, these asymptotics determine the limiting LSH collision-probability ratio $\rho$. We further describe how to use hypercube LSH in practice. A direct partial-hypercube analysis gives a heuristic lattice-sieving time bound $2^{0.3347d+o(d)}$.
Source:https://arxiv.org/abs/1702.05760PreviousDailySafe: Benchmarking Dynamic Safety Awareness in Everyday Multi-Turn Multimodal InteractionsNextAudit Before You Merge: Provenance, Probing, and Continual LoRA Composition
Related posts

The .NET 11 changes I’d try first after .NET Conf 2026
0dev.to
Go sync.Pool and Object Reuse: Reducing GC Pressure in High-Throughput Services
0dev.to
Stay ahead in web development: latest news, tools, and insights #164
0dev.to Node

Menguji Kode API Hasil AI: Periksa Seperti Lean Memeriksa Bukti
0dev.to Testing

AI生成APIコードのテスト:Leanによる証明検証のようにコードをチェックする
0dev.to Testing

Kiểm thử mã API do AI tạo: Kiểm tra như cách Lean kiểm chứng chứng minh
0dev.to Testing