STOC2022
New streaming algorithms for high dimensional EMD and MST
Xi Chen, Rajesh Jayaram, Amit Levi, Erik Waingarten
11 citations
Abstract
We study streaming algorithms for two fundamental geometric problems: computing the cost of a Minimum Spanning Tree (MST) of an n-point set X ⊂ 1,2,…,Δd, and computing the Earth Mover Distance (EMD) between two multi-sets A,B ⊂ 1,2,…,Δd of size n. 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 Õ(logn) and using (n,d,Δ)-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). For MST, we also prove that any constant space streaming algorithm can only achieve an approximation of Ω(logn), analogous to the Ω(logn) lower bound for EMD.