Lune

NeurIPS2020Top-tier venue

On Adaptive Distance Estimation

Yeshwanth Cherapanamjeri, Jelani Nelson

Abstract

We provide a static data structure for distance estimation which supports adaptive queries. Concretely, given a dataset X={xi}i=1nX = \{x_i\}_{i = 1}^n of nn points in Rd\mathbb{R}^d and 0<p≤20 < p \leq 2, we construct a randomized data structure with low memory consumption and query time which, when later given any query point q∈Rdq \in \mathbb{R}^d, outputs a (1+ϵ)(1+\epsilon)-approximation of ∥q−xi∥p\lVert q - x_i \rVert_p with high probability for all i∈[n]i\in[n]. The main novelty is our data structure's correctness guarantee holds even when the sequence of queries can be chosen adaptively: an adversary is allowed to choose the jjth query point qjq_j in a way that depends on the answers reported by the data structure for q1,…,qj−1q_1,\ldots,q_{j-1}. Previous randomized Monte Carlo methods do not provide error guarantees in the setting of adaptively chosen queries. Our memory consumption is O~((n+d)d/ϵ2)\tilde O((n+d)d/\epsilon^2), slightly more than the O(nd)O(nd) required to store XX in memory explicitly, but with the benefit that our time to answer queries is only O~(ϵ−2(n+d))\tilde O(\epsilon^{-2}(n + d)), much faster than the naive Θ(nd)\Theta(nd) time obtained from a linear scan in the case of nn and dd very large. Here O~\tilde O hides log⁡(nd/ϵ)\log(nd/\epsilon) factors. We discuss applications to nearest neighbor search and nonparametric estimation. Our method is simple and likely to be applicable to other domains: we describe a generic approach for transforming randomized Monte Carlo data structures which do not support adaptive queries to ones that do, and show that for the problem at hand, it can be applied to standard nonadaptive solutions to ℓp\ell_p norm estimation with negligible overhead in query time and a factor dd overhead in memory.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

19 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Adversarially Robust Dense-Sparse Tradeoffs via Heavy-Hitters cites Adversarial laws of large numbers and optimal regret in online classification
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. Adversarial laws of large numbers and optimal regret in online classificationNoga Alon, Omri Ben-Eliezer, Yuval Dagan, Shay Moran et al.STOC 2021 · 23 citations
  2. Fast Private Kernel Density Estimation via Locality Sensitive QuantizationTal Wagner, Yonatan Naamad, Nina MishraICML 2023 · 11 citations
  3. Fast Distance Oracles for Any Symmetric NormYichuan Deng, Zhao Song, Omri Weinstein, Ruizhe ZhangNeurIPS 2022 · 10 citations
  4. Adversarially Robust Dense-Sparse Tradeoffs via Heavy-HittersDavid P. Woodruff, Samson ZhouNeurIPS 2024 · 9 citations
  5. On Robust Streaming for Learning with Experts: Algorithms and Lower BoundsDavid P. Woodruff, Fred Zhang, Samson ZhouNeurIPS 2023 · 7 citations

Related papers

  1. Adversarially Robust Approximate Furthest NeighborKiarash Banihashem, Jeff Michael Giliberti, Prashant Gokhale, Samira Goudarzi et al.ICML 2026
  2. Average Distortion SketchingYiqiao Bao, Anubhav Baweja, Nicolas Menand, Erik Waingarten et al.FOCS 2025 · 3 citations
  3. Decremental SSSP in Weighted Digraphs: Faster and Against an Adaptive AdversaryMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 19 citations
  4. On Differential Privacy for Adaptively Solving Search Problems via SketchingShiyuan Feng, Ying Feng, George Zhaoqi Li, Zhao Song et al.ICML 2025
  5. Kernel Density Estimation through Density Constrained Near Neighbor SearchMoses Charikar, Michael Kapralov, Navid Nouri, Paris SiminelakisFOCS 2020 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines