Faster Deterministic and Las Vegas Algorithms for Offline Approximate Nearest Neighbors in High Dimensions
Josh Alman, Timothy M. Chan, R. Ryan Williams
Abstract
We present a deterministic, truly subquadratic algorithm for offline (1 + ε)-approximate nearest or farthest neighbor search (in particular, the closest pair or diameter problem) in Hamming space in any dimension d ≤ nδ, for a sufficiently small constant δ > 0. The running time of the algorithm is roughly for nearest neighbors, or for farthest. The algorithm follows from a simple combination of expander walks, Chebyshev polynomials, and rectangular matrix multiplication. We also show how to eliminate errors in the previous Monte Carlo randomized algorithm of Alman, Chan, and Williams [FOCS’16] for offline approximate nearest or farthest neighbors, and obtain a Las Vegas randomized algorithm with expected running time . Finally, we note a simplification of Alman, Chan, and Williams' method and obtain a slightly improved Monte Carlo randomized algorithm with running time . As one application, we obtain improved deterministic and randomized (1 + ε)-approximation algorithms for MAX-SAT.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
its abstract · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers5
- Fine-grained hardness of CVP(P) - Everything that we can prove (and nothing else)Divesh Aggarwal, Huck Bennett, Alexander Golovnev, Noah Stephens-DavidowitzSODA 2021 · 22 citations
- Range Avoidance, Remote Point, and Hard Partial Truth Table via Satisfying-Pairs AlgorithmsYeyuan Chen, Yizhi Huang, Jiatu Li, Hanlin RenSTOC 2023 · 8 citations
- Improving the Leading Constant of Matrix MultiplicationJosh Alman, Hantao YuSODA 2025 · 2 citations
- Approximating text-to-pattern Hamming distancesTimothy M. Chan, Shay Golan, Tomasz Kociumaka, Tsvi Kopelowitz et al.STOC 2020 · 2 citations
- Generalizations of Matrix Multiplication can solve the Light Bulb ProblemJosh Alman, Hengjie ZhangFOCS 2023 · 1 citation
Related papers
- Approximate Orthogonal Vectors and Diameter via Regularity LemmaAlexandr Andoni, Shunhua Jiang, Stepan ZharkovSTOC 2026
- Near-linear time approximation schemes for Steiner tree and forest in low-dimensional spacesYair Bartal, Lee-Ad GottliebSTOC 2021 · 5 citations
- Faster Algorithms for Text-to-Pattern Hamming DistancesTimothy M. Chan, Ce Jin, Virginia Vassilevska Williams, Yinzhan XuFOCS 2023 · 3 citations
- Disjoint Paths in Expanders in Deterministic Almost-Linear Time via Hypergraph Perfect MatchingMatija Bucic, Zhongtian He, Shang-En Huang, Thatchaphol SaranurakSODA 2026
- Lower Bounds for Oblivious Near-Neighbor SearchKasper Green Larsen, Tal Malkin, Omri Weinstein, Kevin YeoSODA 2020 · 12 citations
