English

New Streaming Algorithms for High Dimensional EMD and MST

Data Structures and Algorithms 2021-11-08 v1

Abstract

We study streaming algorithms for two fundamental geometric problems: computing the cost of a Minimum Spanning Tree (MST) of an nn-point set X{1,2,,Δ}dX \subset \{1,2,\dots,\Delta\}^d, and computing the Earth Mover Distance (EMD) between two multi-sets A,B{1,2,,Δ}dA,B \subset \{1,2,\dots,\Delta\}^d of size nn. We consider the turnstile model, where points can be added and removed. We give a one-pass streaming algorithm for MST and a two-pass streaming algorithm for EMD, both achieving an approximation factor of O~(logn)\tilde{O}(\log n) and using polylog(n,d,Δ)(n,d,\Delta)-space only. Furthermore, our algorithm for EMD can be compressed to a single pass with a small additive error. Previously, the best known sublinear-space streaming algorithms for either problem achieved an approximation of O(min{logn,log(Δd)}logn)O(\min\{ \log n , \log (\Delta d)\} \log n) [Andoni-Indyk-Krauthgamer '08, Backurs-Dong-Indyk-Razenshteyn-Wagner '20]. For MST, we also prove that any constant space streaming algorithm can only achieve an approximation of Ω(logn)\Omega(\log n), analogous to the Ω(logn)\Omega(\log n) lower bound for EMD of [Andoni-Indyk-Krauthgamer '08]. Our algorithms are based on an improved analysis of a recursive space partitioning method known generically as the Quadtree. Specifically, we show that the Quadtree achieves an O~(logn)\tilde{O}(\log n) approximation for both EMD and MST, improving on the O(min{logn,log(Δd)}logn)O(\min\{ \log n , \log (\Delta d)\} \log n) approximation of [Andoni-Indyk-Krauthgamer '08, Backurs-Dong-Indyk-Razenshteyn-Wagner '20].

Keywords

Cite

@article{arxiv.2111.03528,
  title  = {New Streaming Algorithms for High Dimensional EMD and MST},
  author = {Xi Chen and Rajesh Jayaram and Amit Levi and Erik Waingarten},
  journal= {arXiv preprint arXiv:2111.03528},
  year   = {2021}
}
R2 v1 2026-06-24T07:27:53.906Z