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
Show me the math: how a Telegram airdrop score stays reproducible
0dev.to Go
Latent Jacobian Steer: Eliciting Contact-Rich Out-of-Distribution Behaviors from Pretrained Humanoid Controllers
0arXiv cs.RO
Re-JEPA: Coupling Representation Prediction and Signal Reconstruction for State-Conditioned EMG Tracking
0arXiv cs.RO

هل أثبت Claude فرضية ريمان؟ ما الذي حدث فعلاً
0dev.to AI
Building Responsive Layouts with Tailwind CSS Grid (and the auto-fill Trick I Wish I Knew Sooner)
0dev.to CSS
Don't rely on color alone (Web HIG tip #20)
0dev.to WebDev