Lune

FOCS2025Top-tier venue

Embeddings into Similarity Measures for Nearest Neighbor Search

Alexandr Andoni, Negev Shekel Nosatzki

Abstract

We introduce the notion of metric embeddings into a similarity measure over R+m\mathbb{R}_{+}^{m}, such as the weighted Jaccard coefficient. We develop average embeddings into such similarity measures for a number of metric spaces, with (appropriately defined) distortion that is smaller than the best possible or known distortion of embedding into ℓ1\ell_{1} or ℓ2\ell_{2} spaces (biLipschitz or average). We complement our embeddings with a new algorithm for Approximate Nearest Neighbor Search (ANNS) that leverages such an embedding in a black box fashion. Combining these results, we obtain new efficient algorithms for ANNS under the following two classic metrics, achieving an exponential improvement to longstanding prior work: - Edit distance over length- k strings: poly⁡(log⁡k)\operatorname{poly}(\log k) approximation; - ℓp\ell_{p} over Rd\mathbb{R}^{d}, for p>2:O(log⁡p)p\gt2: O(\log p) approximation (known to be asymptotically optimal in relevant models of computation).

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.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Average Distortion SketchingYiqiao Bao, Anubhav Baweja, Nicolas Menand, Erik Waingarten et al.FOCS 2025 · 3 citations
  2. The Power of Recursive Embeddings for ℓp MetricsRobert Krauthgamer, Nir Petruschka, Shay SapirFOCS 2025 · 7 citations
  3. Approximate Nearest Neighbors Beyond Space PartitionsAlexandr Andoni, Aleksandar Nikolov, Ilya P. Razenshteyn, Erik WaingartenSODA 2021 · 4 citations
  4. LiteHST: A Tree Embedding based Method for Similarity SearchYuxiang Zeng, Yongxin Tong, Lei ChenSIGMOD 2023 · 8 citations
  5. RaBitQ: Quantizing High-Dimensional Vectors with a Theoretical Error Bound for Approximate Nearest Neighbor SearchJianyang Gao, Cheng LongSIGMOD 2024 · 83 citations
Dusk over the sea between two cliffs drawn in fine vertical lines