Lune

NeurIPS2022Top-tier venue

Fast Distance Oracles for Any Symmetric Norm

Yichuan Deng, Zhao Song, Omri Weinstein, Ruizhe Zhang

Abstract

In the Distance Oracle problem, the goal is to preprocess nn vectors x1,x2,⋯ ,xnx_1, x_2, \cdots, x_n in a dd-dimensional metric space (Xd,∥⋅∥l)(\mathbb{X}^d, \| \cdot \|_l) into a cheap data structure, so that given a query vector q∈Xdq \in \mathbb{X}^d and a subset S⊆[n]S\subseteq [n] of the input data points, all distances ∥q−xi∥l\| q - x_i \|_l for xi∈Sx_i\in S can be quickly approximated (faster than the trivial ∼d∣S∣\sim d|S| query time). This primitive is a basic subroutine in machine learning, data mining and similarity search applications. In the case of ℓp\ell_p norms, the problem is well understood, and optimal data structures are known for most values of pp. Our main contribution is a fast (1+ε)(1+\varepsilon) distance oracle for any symmetric norm ∥⋅∥l\|\cdot\|_l. This class includes ℓp\ell_p norms and Orlicz norms as special cases, as well as other norms used in practice, e.g. top-kk norms, max-mixture and sum-mixture of ℓp\ell_p norms, small-support norms and the box-norm. We propose a novel data structure with O~(n(d+mmc(l)2))\tilde{O}(n (d + \mathrm{mmc}(l)^2 ) ) preprocessing time and space, and tq=O~(d+∣S∣⋅mmc(l)2)t_q = \tilde{O}(d + |S| \cdot \mathrm{mmc}(l)^2) query time, for computing distances to a subset SS of data points, where mmc(l)\mathrm{mmc}(l) is a complexity-measure (concentration modulus) of the symmetric norm. When l=ℓpl = \ell_{p} , this runtime matches the aforementioned state-of-art oracles.

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.

5 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

  • Towards Sampling Data Structures for Tensor Products in Turnstile Streams cites Sketching Meets Differential Privacy: Fast Algorithm for Dynamic Kronecker Projection Maintenance
  • An Efficient Orlicz-Sobolev Approach for Transporting Unbalanced Measures on a Graph cites Generalized Sobolev Transport for Probability Measures on a Graph
  • Sketching Meets Differential Privacy: Fast Algorithm for Dynamic Kronecker Projection Maintenance cites Breaking the Linear Iteration Cost Barrier for Some Well-known Conditional Gradient Methods Using MaxIP Data-structures
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Sketching Meets Differential Privacy: Fast Algorithm for Dynamic Kronecker Projection MaintenanceZhao Song, Xin Yang, Yuanyuan Yang, Lichen ZhangICML 2023 · 30 citations
  2. Generalized Sobolev Transport for Probability Measures on a GraphTam Le, Truyen Nguyen, Kenji FukumizuICML 2024 · 9 citations
  3. Metric Transforms and Low Rank Representations of Kernels for Fast AttentionTimothy Chu, Josh Alman, Gary L. Miller, Shyam Narayanan et al.NeurIPS 2024 · 4 citations
  4. Towards Sampling Data Structures for Tensor Products in Turnstile StreamsZhao Song, Shenghao Xie, Samson ZhouICLR 2026 · 1 citation
  5. An Efficient Orlicz-Sobolev Approach for Transporting Unbalanced Measures on a GraphTam Le, Truyen Nguyen, Hideitsu Hino, Kenji FukumizuNeurIPS 2025

Builds on2

  1. On Adaptive Distance EstimationYeshwanth Cherapanamjeri, Jelani NelsonNeurIPS 2020 · 34 citations
  2. Breaking the Linear Iteration Cost Barrier for Some Well-known Conditional Gradient Methods Using MaxIP Data-structuresZhaozhuo Xu, Zhao Song, Anshumali ShrivastavaNeurIPS 2021 · 32 citations

Related papers

  1. Average Distortion SketchingYiqiao Bao, Anubhav Baweja, Nicolas Menand, Erik Waingarten et al.FOCS 2025 · 3 citations
  2. Fully Dynamic Algorithms for Chamfer DistanceGramoz Goranci, Shaofeng H.-C. Jiang, Peter Kiss, Eva Szilagyi et al.NeurIPS 2025 · 3 citations
  3. The ℓp-Subspace Sketch Problem in Small Dimensions with Applications to Support Vector MachinesYi Li, Honghao Lin, David P. WoodruffSODA 2023
  4. High-Dimensional Geometric Streaming for Nearly Low Rank DataHossein Esfandiari, Praneeth Kacham, Vahab Mirrokni, David P. Woodruff et al.ICML 2024 · 1 citation
  5. Faster Linear Algebra for Distance MatricesPiotr Indyk, Sandeep SilwalNeurIPS 2022 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines