Terminal Embeddings in Sublinear Time
Yeshwanth Cherapanamjeri, Jelani Nelson
Abstract
Recently (Elkin, Filtser, Neiman 2017) introduced the concept of a terminal embedding from one metric space (𝑋, 𝑑 𝑋 ) to another (𝑌 , 𝑑 𝑌 ) with a set of designated terminals 𝑇 ⊂ 𝑋. Such an embedding 𝑓 is said to have distortion 𝜌 ⩾ 1 if 𝜌 is the smallest value such that there exists a constant 𝐶 > 0 satisfying ∀𝑥 ∈ 𝑇 ∀𝑞 ∈ 𝑋, 𝐶𝑑 𝑋 (𝑥, 𝑞) ⩽ 𝑑 𝑌 ( 𝑓 (𝑥), 𝑓 (𝑞)) ⩽ 𝐶𝜌𝑑 𝑋 (𝑥, 𝑞).
When 𝑋, 𝑌 are both Euclidean metrics with 𝑌 being 𝑚-dimensional, recently (Narayanan, Nelson 2019), following work of (Mahabadi, Makarychev, Makarychev, Razenshteyn 2018), showed that distortion 1 + 𝜀 is achievable via such a terminal embedding with 𝑚 = 𝑂(𝜀 -2 log 𝑛) for 𝑛 := |𝑇 |. This generalizes the Johnson-Lindenstrauss lemma, which only preserves distances within 𝑇 and not to 𝑇 from the rest of space. The downside of prior work is that evaluating their embedding on some 𝑞 ∈ R 𝑑 required solving a semidefinite program with Θ(𝑛) constraints in 𝑚 variables and thus required some superlinear poly(𝑛) runtime. Our main contribution in this work is to give a new data structure for computing terminal embeddings. We show how to pre-process 𝑇 to obtain an almost linear-space data structure that supports computing the terminal embedding image of any 𝑞 ∈ R 𝑑 in sublinear time 𝑂 * (𝑛 1-Θ(𝜀 2 ) + 𝑑). To accomplish this, we leverage tools developed in the context of approximate nearest neighbor search.
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.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers11
- Improved Coresets for Euclidean k-MeansVincent Cohen-Addad, Kasper Green Larsen, David Saulpic, Chris Schwiegelshohn et al.NeurIPS 2022 · 47 citations
- Towards optimal lower bounds for k-median and k-means coresetsVincent Cohen-Addad, Kasper Green Larsen, David Saulpic, Chris SchwiegelshohnSTOC 2022 · 20 citations
- Solving SDP Faster: A Robust IPM Framework and Efficient ImplementationBaihe Huang, Shunhua Jiang, Zhao Song, Runzhou Tao et al.FOCS 2022 · 17 citations
- Hop-Constrained Metric Embeddings and their ApplicationsArnold FiltserFOCS 2021 · 9 citations
- 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
Builds on1
Related papers
- Terminal Dimension Reduction for Time Series with ApplicationsAlexander Munteanu, Matteo Russo, David Saulpic, Chris SchwiegelshohnICML 2026
- Average Distortion SketchingYiqiao Bao, Anubhav Baweja, Nicolas Menand, Erik Waingarten et al.FOCS 2025 · 3 citations
- Sparse Dimensionality Reduction RevisitedMikael Møller Høgsgaard, Lior Kamma, Kasper Green Larsen, Jelani Nelson et al.ICML 2024 · 3 citations
- Almost-linear ε-emulators for planar graphsHsien-Chih Chang, Robert Krauthgamer, Zihan TanSTOC 2022 · 2 citations
- The Fast Johnson-Lindenstrauss Transform Is Even FasterOra Nova Fandina, Mikael Møller Høgsgaard, Kasper Green LarsenICML 2023 · 7 citations
