Improved Approximation Algorithms for Earth-Mover Distance in Data Streams
arXiv:1404.6287
Abstract
For two multisets $S$ and $T$ of points in $[Î]^2$, such that $|S| = |T|= n$, the earth-mover distance (EMD) between $S$ and $T$ is the minimum cost of a perfect bipartite matching with edges between points in $S$ and $T$, i.e., $EMD(S,T) = \min_{Ï:S\rightarrow T}\sum_{a\in S}||a-Ï(a)||_1$, where $Ï$ 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=\log^{O(1)}(În)$. Our first algorithm gives a $(1+ε)$-approximation using $O(kε^{-2}\log^{4}n)$ space and works only in the insertion-only model. The second algorithm gives a $O(\min(k^3,\logÎ))$-approximation using $O(\log^{3}Î\cdot\log\logÎ\cdot\log n)$-space in the turnstile model.