English

Improved Approximation Algorithms for Earth-Mover Distance in Data Streams

Data Structures and Algorithms 2014-04-28 v1

Abstract

For two multisets SS and TT of points in [Δ]2[\Delta]^2, such that S=T=n|S| = |T|= n, the earth-mover distance (EMD) between SS and TT is the minimum cost of a perfect bipartite matching with edges between points in SS and TT, i.e., EMD(S,T)=minπ:STaSaπ(a)1EMD(S,T) = \min_{\pi:S\rightarrow T}\sum_{a\in S}||a-\pi(a)||_1, where π\pi ranges over all one-to-one mappings. The sketching complexity of approximating earth-mover distance in the two-dimensional grid is mentioned as one of the open problems in the literature. We give two algorithms for computing EMD between two multi-sets when the number of distinct points in one set is a small value k=logO(1)(Δn)k=\log^{O(1)}(\Delta n). Our first algorithm gives a (1+ϵ)(1+\epsilon)-approximation using O(kϵ2log4n)O(k\epsilon^{-2}\log^{4}n) space and works only in the insertion-only model. The second algorithm gives a O(min(k3,logΔ))O(\min(k^3,\log\Delta))-approximation using O(log3ΔloglogΔlogn)O(\log^{3}\Delta\cdot\log\log\Delta\cdot\log n)-space in the turnstile model.

Keywords

Cite

@article{arxiv.1404.6287,
  title  = {Improved Approximation Algorithms for Earth-Mover Distance in Data Streams},
  author = {Arman Yousefi and Rafail Ostrovsky},
  journal= {arXiv preprint arXiv:1404.6287},
  year   = {2014}
}
R2 v1 2026-06-22T03:58:20.801Z