English

Fine-Grained Complexity of Earth Mover's Distance under Translation

Computational Geometry 2025-11-18 v2

Abstract

The Earth Mover's Distance is a popular similarity measure in several branches of computer science. It measures the minimum total edge length of a perfect matching between two point sets. The Earth Mover's Distance under Translation (EMDuT\mathrm{EMDuT}) is a translation-invariant version thereof. It minimizes the Earth Mover's Distance over all translations of one point set. For EMDuT\mathrm{EMDuT} in R1\mathbb{R}^1, we present an O~(n2)\tilde{\mathcal{O}}(n^2)-time algorithm. We also show that this algorithm is nearly optimal by presenting a matching conditional lower bound based on the Orthogonal Vectors Hypothesis. For EMDuT\mathrm{EMDuT} in Rd\mathbb{R}^d, we present an O~(n2d+2)\tilde{\mathcal{O}}(n^{2d+2})-time algorithm for the L1L_1 and LL_\infty metric. We show that this dependence on dd is asymptotically tight, as an no(d)n^{o(d)}-time algorithm for L1L_1 or LL_\infty would contradict the Exponential Time Hypothesis (ETH). Prior to our work, only approximation algorithms were known for these problems.

Keywords

Cite

@article{arxiv.2403.04356,
  title  = {Fine-Grained Complexity of Earth Mover's Distance under Translation},
  author = {Karl Bringmann and Frank Staals and Karol Węgrzycki and Geert van Wordragen},
  journal= {arXiv preprint arXiv:2403.04356},
  year   = {2025}
}

Comments

31 pages, 10 colored figures