Learning to Hash Robustly, Guaranteed
Not on the map. Why?
Abstract (arXiv)
The indexing algorithms for the high-dimensional nearest neighbor search (NNS) with the best worst-case guarantees are based on the randomized Locality Sensitive Hashing (LSH), and its derivatives. In practice, many heuristic approaches exist to "learn" the best indexing method in order to speed-up NNS, crucially adapting to the structure of the given dataset. Oftentimes, these heuristics outperform the LSH-based algorithms on real datasets, but, almost always, come at the cost of losing the guarantees of either correctness or robust performance on adversarial queries, or apply to datasets with an assumed extra structure/model. In this paper, we design an NNS algorithm for the Hamming space that has worst-case guarantees essentially matching that of theoretical algorithms, while optimizing the hashing to the structure of the dataset (think instance-optimal algorithms) for performance on the minimum-performing query. We evaluate the algorithm's ability to optimize for a given dataset both theoretically and practically. On the theoretical side, we exhibit a natural setting (dataset model) where our algorithm is much better than the standard theoretical one. On the practical side, we run experiments that show that our algorithm has a 1.8x and 2.1x better recall on the worst-performing queries to the MNIST and ImageNet datasets.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 8 of its 33 references that are in the map. First posted on arXiv 11 Aug 2021.
Builds on
8 of 33 references.
References · 8
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2015Practical and Optimal LSH for Angular Distancecited by 105
- 2018Approximate Nearest Neighbor Search in High Dimensionscited by 45
- 2015Optimal Data-Dependent Hashing for Approximate Near Neighborscited by 43
- 2015Learning to Hash for Indexing Big Data - A Surveycited by 39
- 2013Beyond Locality-Sensitive Hashingcited by 23
- 2014Spectral Approaches to Nearest Neighbor Searchcited by 5
Built on by
Citing papers per year: 2023: 3; 2024: 2; 2025: 2.
7 papers.
- 2023An Efficient Content-based Time Series Retrieval Systemcited by 5
- 2023Rethinking Warm-Starts with Predictions: Learning Predictions Close to Sets of Optimal Solutions for Faster L-/L^natural-Convex Function Minimizationcited by 3
- 2024Probabilistic Routing for Graph-Based Approximate Nearest Neighbor Searchcited by 3
- 2025Probabilistic Kernel Function for Fast Angle Testingcited by 2
- 2023Temporal Treasure Hunt: Content-based Time Series Retrieval System for Discovering Insightscited by 0
- 2024Discovering Data Structures: Nearest Neighbor Search and Beyondcited by 0
- 2025A Query-Driven Approach to Space-Efficient Range Searchingcited by 0
- 2025Probabilistic Kernel Function for Fast Angle Testing26 May 2025
- 2025A Query-Driven Approach to Space-Efficient Range Searching19 Feb 2025
- 2024Discovering Data Structures: Nearest Neighbor Search and Beyond5 Nov 2024
- 2024Probabilistic Routing for Graph-Based Approximate Nearest Neighbor Search17 Feb 2024
- 2023Temporal Treasure Hunt: Content-based Time Series Retrieval System for Discovering Insights5 Nov 2023
- 2023An Efficient Content-based Time Series Retrieval System5 Oct 2023
- 2023Rethinking Warm-Starts with Predictions: Learning Predictions Close to Sets of Optimal Solutions for Faster L-/L^natural-Convex Function Minimization2 Feb 2023