Optimal Data-Dependent Hashing for Approximate Near Neighbors
The DOI matches its Crossref record; 31 of the 31 references it cites were found in a registry or an index.
Abstract
We show an optimal data-dependent hashing scheme for the approximate near neighbor problem. For an n-point dataset in a d-dimensional space our data structure achieves query time O(d ⋅ nρ+o(1)) and space O(n1+ρ+o(1) + d ⋅ n), where ρ=1/(2c2-1) for the Euclidean space and approximation c>1. For the Hamming space, we obtain an exponent of ρ=1/(2c-1). Our result completes the direction set forth in (Andoni, Indyk, Nguyen, Razenshteyn 2014) who gave a proof-of-concept that data-dependent hashing can outperform classic Locality Sensitive Hashing (LSH). In contrast to (Andoni, Indyk, Nguyen, Razenshteyn 2014), the new bound is not only optimal, but in fact improves over the best (optimal) LSH data structures (Indyk, Motwani 1998) (Andoni, Indyk 2006) for all approximation factors c>1.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Approximate nearest neighbors: towards removing the curse of dimensionality
Indyk, P., & Motwani, R. (1998) · Proceedings of the thirtieth annual ACM symposium on Theory of computing - STOC '98 · doi:10.1145/276698.276876 · Cited by 4,188
Locality-sensitive hashing scheme based on p-stable distributions
Datar, M., Immorlica, N., Indyk, P., & Mirrokni, V. S. (2004) · Proceedings of the twentieth annual symposium on Computational geometry · doi:10.1145/997817.997857 · Cited by 2,936 · cited 1×
“Focusing on the Euclidean space, subsequent research showed that one can obtain a better exponent: ρ ≤ 1/c(2) [11, 3](2).”
Weiss, Y., Torralba, A. B., & Fergus, R. (2008) · neural information processing systems · Cited by 2,772
Extensions of Lipschitz mappings into a Hilbert space
Johnson, W. B., & Lindenstrauss, J. (1984) · Contemporary Mathematics · doi:10.1090/conm/026/737400 · Cited by 2,523
Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions
Andoni, A., & Indyk, P. (2008) · Communications of the ACM · doi:10.1145/1327452.1327494 · Cited by 1,437 · cited 2×
“Focusing on the Euclidean space, subsequent research showed that one can obtain a better exponent: ρ ≤ 1/c(2) [11, 3](2).”
BackgroundSelf-citationSalakhutdinov, R., & Hinton, G. (2009) · International Journal of Approximate Reasoning · doi:10.1016/j.ijar.2008.11.006 · Cited by 1,246 · cited 1×
“Many or most of the practical applications of LSH involve designing data-aware hash functions [27, 19, 29, 31, 26, 32] (see also a recent survey [30]).”
BackgroundNear-Optimal Hashing Algorithms for Approximate Nearest Neighbor in High Dimensions
Andoni, A., & Indyk, P. (2006) · 2006 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS'06) · doi:10.1109/focs.2006.49 · Cited by 1,067
Self-citationProceedings of the 26th Conference on Uncertainty in Artificial Intelligence (UAI 2010)
Adams, R. P., Dahl, G. E., & Murray, I. (2010) · Cited by 966
The geometry of graphs and some of its algorithmic applications
Linial, N., London, E., & Rabinovich, Y. (1995) · Combinatorica · doi:10.1007/bf01200757 · Cited by 952
An elementary proof of a theorem of Johnson and Lindenstrauss
Dasgupta, S., & Gupta, A. (2003) · Random Structures & Algorithms · doi:10.1002/rsa.10073 · Cited by 932
Approximate Nearest Neighbor: Towards Removing the Curse of Dimensionality
Har-Peled, S., Indyk, P., & Motwani, R. (2012) · Theory of Computing · doi:10.4086/toc.2012.v008a014 · Cited by 827 · cited 4×
“Now we are ready to state a very general way to solve ANN, if we have a good (r, cr, p1, p2)-sensitive partition [15, 14].”
BackgroundMethodInfluentialStoring a Sparse Table with 0 (1) Worst Case Access Time
Fredman, M. L., Komlós, J., & Szemerédi, E. (1984) · Journal of the ACM · doi:10.1145/828.1884 · Cited by 748
Refinements to nearest-neighbor searching ink-dimensional trees
Sproull, R. F. (1991) · Algorithmica · doi:10.1007/bf01759061 · Cited by 440
Approximate graph coloring by semidefinite programming
Karger, D., Motwani, R., & Sudan, M. (1998) · Journal of the ACM · doi:10.1145/274787.274791 · Cited by 420
Random projection trees and low dimensional manifolds
Dasgupta, S., & Freund, Y. (2008) · Proceedings of the fortieth annual ACM symposium on Theory of computing · doi:10.1145/1374376.1374452 · Cited by 375 · cited 1×
“speed-ups with data-dependent hashing: such hashing may adapt to the special structure, perhaps implicitly, as was done in, say, [9, 29, 1].”
BackgroundDifferentially Private High-Dimensional Approximate Range Counting, Revisited
Wang, J., Shen, H. T., Song, J., & Ji, J. (2014) · arXiv (Cornell University) · doi:10.4230/lipics.cpm.2023.20 · Cited by 370
A Randomized Algorithm for Closest-Point Queries
Clarkson, K. L. (1988) · SIAM Journal on Computing · doi:10.1137/0217052 · Cited by 248 · cited 1×
“For the latter discussion, it is useful to keep in mind what are the random dataset instances for ANN.”
BackgroundThe geometry of graphs and some of its algorithmic applications
Linial, N., London, E., & Rabinovich, Y. (2002) · Proceedings 35th Annual Symposium on Foundations of Computer Science · doi:10.1109/sfcs.1994.365733 · Cited by 190 · cited 1×
“This follows from a standard embedding of the `1 norm into `2-squared [18].”
MethodFrontiers in Massive Data Analysis
(2013) · National Academies Press eBooks · doi:10.17226/18374 · Cited by 163
The power of comparative reasoning
Yagnik, J., Strelow, D., Ross, D. A., & Lin, R.-S. (2011) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2011.6126527 · Cited by 140 · cited 1×
“Many or most of the practical applications of LSH involve designing data-aware hash functions [27, 19, 29, 31, 26, 32] (see also a recent survey [30]).”
BackgroundNearest neighbor search : the old, the new, and the impossible
Andoni, A. (2009) · Cited by 108
Self-citationBeyond Locality–Sensitive Hashing
Andoni, A., Indyk, P., Ên, H. L. N., & Razenshteyn, I. (2013) · Cited by 105
Self-citationPoint Location in Arrangements of Hyperplanes
Meiser, S. (1993) · Information and Computation · doi:10.1006/inco.1993.1057 · Cited by 88 · cited 1×
“For the latter discussion, it is useful to keep in mind what are the random dataset instances for ANN.”
BackgroundLower Bounds on Near Neighbor Search via Metric Expansion
Panigrahy, R., Talwar, K., & Wieder, U. (2010) · Annual Symposium on Foundations of Computer Science · doi:10.1109/focs.2010.82 · Cited by 80 · cited 1×
“Besides the aforementioned lower bounds, it is also a source of cell-probe lower bounds for ANN [23, 24].”
BackgroundFinding Correlations in Subquadratic Time, with Applications to Learning Parities and Juntas
Valiant, G. J. (2012) · Annual Symposium on Foundations of Computer Science · doi:10.1109/focs.2012.27 · Cited by 69 · cited 1×
“• ProcessBall(P , r1, r2, o, R) builds the data structure for a dataset P that lies inside the ball B(o,R), assuming we need to solve ANN with distance thresholds r1 and r2.”
BackgroundDubiner, M. (2010) · IEEE Transactions on Information Theory · doi:10.1109/tit.2010.2050814 · Cited by 64
Which Spatial Partition Trees are Adaptive to Intrinsic Dimension?Preprint
Verma, N., Kpotufe, S., & Dasgupta, S. (2012) · arXiv (Cornell University) · doi:10.48550/arxiv.1205.2609 · Cited by 60
Lower Bounds on Locality Sensitive Hashing
Motwani, R., Naor, A., & Panigrahy, R. (2007) · SIAM Journal on Discrete Mathematics · doi:10.1137/050646858 · Cited by 51
A Geometric Approach to Lower Bounds for Approximate Near-Neighbor Search and Partial Match
Panigrahy, R., Talwar, K., & Wieder, U. (2008) · Annual Symposium on Foundations of Computer Science · doi:10.1109/focs.2008.68 · Cited by 47 · cited 1×
“Besides the aforementioned lower bounds, it is also a source of cell-probe lower bounds for ANN [23, 24].”
BackgroundTight Lower Bounds for Data-Dependent Locality-Sensitive HashingPreprint
Andoni, A., & Razenshteyn, I. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1507.04299 · Cited by 38
Self-citationSpectral Approaches to Nearest Neighbor Search
Abdullah, A., Andoni, A., Kannan, R., & Krauthgamer, R. (2014) · Annual Symposium on Foundations of Computer Science · doi:10.1109/focs.2014.68 · Cited by 17 · cited 1×
“speed-ups with data-dependent hashing: such hashing may adapt to the special structure, perhaps implicitly, as was done in, say, [9, 29, 1].”
BackgroundSelf-citation
Cited by
Malkov, Y. A., & Yashunin, D. A. (2020) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2018.2889473 · Cited by 1,904
“A new efficient LSH algorithm for cosine similarity data [51].”
MethodJiang, Q.-Y., & Li, W.-J. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.348 · Cited by 880
Douze, M., Guzhva, A., Deng, C., Johnson, J., Szilvasy, G., Mazaré, P.-E., Lomeli, M., Hosseini, L., & Jégou, H. (2026) · IEEE Transactions on Big Data · doi:10.1109/tbdata.2025.3618474 · Cited by 478
“In practice, algorithms based on random partitioning are significantly outperformed by data-aware partitioning [20], [35].”
Li, W., Zhang, Y., Sun, Y., Wang, W., Li, M., Zhang, W., & Lin, X. (2020) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2019.2909204 · Cited by 454
Survey of vector database management systems
Pan, J. J., Wang, J., & Li, G. (2024) · The VLDB Journal · doi:10.1007/s00778-024-00864-x · Cited by 427
“These particular families are data-independent, but by exploiting structural relationships within a vector collection, [33] finds a family for Euclidean distance which yields ρ = 1 / (2 c 2 − 1) . which we refer to as randomization , learned partitioning , and navigable partitioning .”
Background
Metadata
- Authors
- Andoni, A., & Razenshteyn, I.
- Venue
- Proceedings of the forty-seventh annual ACM symposium on Theory of Computing
- Publisher
- ACM
- Published
- 2015-06-14
- Pages
- 793-801
- OpenAlex
- W2017851434
- Cited by
- 185
- References
- 31
- FWCI
- 9.84
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.