English

Average-Distortion Sketching

Data Structures and Algorithms 2025-04-11 v3

Abstract

We introduce average-distortion sketching for metric spaces. As in (worst-case) sketching, these algorithms compress points in a metric space while approximately recovering pairwise distances. The novelty is studying average-distortion: for any fixed (yet, arbitrary) distribution μ\mu over the metric, the sketch should not over-estimate distances, and it should (approximately) preserve the average distance with respect to draws from μ\mu. The notion generalizes average-distortion embeddings into 1\ell_1 [Rabinovich '03, Kush-Nikolov-Tang '21] as well as data-dependent locality-sensitive hashing [Andoni-Razenshteyn '15, Andoni-Naor-Nikolov-et-al. '18], which have been recently studied in the context of nearest neighbor search. \bullet For all p(2,)p \in (2, \infty) and any cc larger than a fixed constant, we give an average-distortion sketch for ([Δ]d,p)([\Delta]^d, \ell_p) with approximation cc and bit-complexity poly(2p/clog(dΔ))\text{poly}(2^{p/c} \cdot \log(d\Delta)), which is provably impossible in (worst-case) sketching. \bullet As an application, we improve on the approximation of sublinear-time data structures for nearest neighbor search over p\ell_p (for large p>2p > 2). The prior best approximation was O(p)O(p) [Andoni-Naor-Nikolov-et-al. '18, Kush-Nikolov-Tang '21], and we show it can be any cc larger than a fixed constant (irrespective of pp) by using nO(p/c)n^{O(p/c)} space. We give some evidence that 2Ω(p/c)2^{\Omega(p/c)} space may be necessary by giving a lower bound on average-distortion sketches which produce a certain probabilistic certificate of farness (which our sketches crucially rely on).

Keywords

Cite

@article{arxiv.2411.05156,
  title  = {Average-Distortion Sketching},
  author = {Yiqiao Bao and Anubhav Baweja and Nicolas Menand and Erik Waingarten and Nathan White and Tian Zhang},
  journal= {arXiv preprint arXiv:2411.05156},
  year   = {2025}
}
R2 v1 2026-06-28T19:52:21.517Z