Data-Dependent LSH for the Earth Mover's Distance
Rajesh Jayaram, Erik Waingarten, Tian Zhang
Abstract
We give new data-dependent locality sensitive hashing schemes (LSH) for the Earth Mover's Distance (EMD), and as a result, improve the best approximation for nearest neighbor search under EMD by a quadratic factor. Here, the metric EMD s (R d , ℓ p ) consists of sets of s vectors in R d , and for any two sets x, y of s vectors the distance EMD(x, y) is the minimum cost of a perfect matching between x, y, where the cost of matching two vectors is their ℓ p distance. Previously, Andoni, Indyk, and Krauthgamer gave a (data-independent) locality-sensitive hashing scheme for EMD s (R d , ℓ p ) when p ∈ [1, 2] with approximation O(log 2 s). By being data-dependent, we improve the approximation to Õ(log s).
Our main technical contribution is to show that for any distribution µ supported on the metric EMD s (R d , ℓ p ), there exists a data-dependent LSH for dense regions of µ which achieves approximation Õ(log s), and that the data-independent LSH actually achieves a Õ(log s)-approximation outside of those dense regions. Finally, we show how to "glue" together these two hashing schemes without any additional loss in the approximation.
Beyond nearest neighbor search, our data-dependent LSH also gives optimal (distributional) sketches for the Earth Mover's Distance. By known sketching lower bounds, this implies that our LSH is optimal (up to poly(log log s) factors) among those that collide close points with constant probability.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a340af19-239d-49cf-a767-d939ab438b48Cited by top-tier papers5
- MUVERA: Multi-Vector Retrieval via Fixed Dimensional EncodingLaxman Dhulipala, Majid Hadian, Rajesh Jayaram, Jason Lee et al.NeurIPS 2024 · 56 citations
- Average Distortion SketchingYiqiao Bao, Anubhav Baweja, Nicolas Menand, Erik Waingarten et al.FOCS 2025 · 3 citations
- Lower Estimates for L₁-Distortion of Transportation Cost SpacesChris Gartland, Mikhail OstrovskiiSTOC 2026
- Tree Embedding in High Dimensions: Dynamic and Massively ParallelGramoz Goranci, Shaofeng H.-C. Jiang, Peter Kiss, Qihao Kong et al.SODA 2026
- Exchangeability of GNN Representations with Applications to Graph RetrievalKartik Nair, Indradyumna Roy, Soumen Chakrabarti, Anirban Dasgupta et al.ICLR 2026
Builds on12
- On Unbalanced Optimal Transport: An Analysis of Sinkhorn AlgorithmKhiem Pham, Khang Le, Nhat Ho, Tung Pham et al.ICML 2020 · 104 citations
- Scalable Nearest Neighbor Search for Optimal TransportArturs Backurs, Yihe Dong, Piotr Indyk, Ilya P. Razenshteyn et al.ICML 2020 · 60 citations
- On Robust Optimal Transport: Computational Complexity and Barycenter ComputationKhang Le, Huy Nguyen, Quang Minh Nguyen, Tung Pham et al.NeurIPS 2021 · 48 citations
- New streaming algorithms for high dimensional EMD and MSTXi Chen, Rajesh Jayaram, Amit Levi, Erik WaingartenSTOC 2022 · 11 citations
- Streaming Facility Location in High Dimension via Geometric HashingArtur Czumaj, Shaofeng H.-C. Jiang, Robert Krauthgamer, Pavel Veselý et al.FOCS 2022 · 11 citations
Related papers
- DET-LSH: A Locality-Sensitive Hashing Scheme with Dynamic Encoding Tree for Approximate Nearest Neighbor SearchJiuqi Wei, Botao Peng, Xiaodong Lee, Themis PalpanasVLDB 2024 · 35 citations
- Towards Accurate Distance Estimation for Distribution-Aware c-ANN SearchLiwei Deng, Penghao Chen, Ximu Zeng, Yuchen Fang et al.ICDE 2025 · 1 citation
- R2LSH: A Nearest Neighbor Search Scheme Based on Two-dimensional Projected SpacesKejing Lu, Mineichi KudoICDE 2020 · 40 citations
- iDEC: Indexable Distance Estimating Codes for Approximate Nearest Neighbor SearchLong Gong, Huayi Wang, Mitsunori Ogihara, Jun XuVLDB 2020 · 6 citations
- Approximating High-Dimensional Earth Mover's Distance as Fast as Closest PairLorenzo Beretta, Vincent Cohen-Addad, Rajesh Jayaram, Erik WaingartenFOCS 2025 · 2 citations
