2 research outputs found

    Improved Approximation Algorithms for Earth-Mover Distance in Data Streams

    Full text link
    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⁑π:Sβ†’Tβˆ‘a∈S∣∣aβˆ’Ο€(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=log⁑O(1)(Ξ”n)k=\log^{O(1)}(\Delta n). Our first algorithm gives a (1+Ο΅)(1+\epsilon)-approximation using O(kΟ΅βˆ’2log⁑4n)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(log⁑3Ξ”β‹…log⁑log⁑Δ⋅log⁑n)O(\log^{3}\Delta\cdot\log\log\Delta\cdot\log n)-space in the turnstile model

    Nearly-optimal bounds for sparse recovery in generic norms, with applications to kk-median sketching

    Full text link
    We initiate the study of trade-offs between sparsity and the number of measurements in sparse recovery schemes for generic norms. Specifically, for a norm βˆ₯β‹…βˆ₯\|\cdot\|, sparsity parameter kk, approximation factor K>0K>0, and probability of failure P>0P>0, we ask: what is the minimal value of mm so that there is a distribution over mΓ—nm \times n matrices AA with the property that for any xx, given AxAx, we can recover a kk-sparse approximation to xx in the given norm with probability at least 1βˆ’P1-P? We give a partial answer to this problem, by showing that for norms that admit efficient linear sketches, the optimal number of measurements mm is closely related to the doubling dimension of the metric induced by the norm βˆ₯β‹…βˆ₯\|\cdot\| on the set of all kk-sparse vectors. By applying our result to specific norms, we cast known measurement bounds in our general framework (for the β„“p\ell_p norms, p∈[1,2]p \in [1,2]) as well as provide new, measurement-efficient schemes (for the Earth-Mover Distance norm). The latter result directly implies more succinct linear sketches for the well-studied planar kk-median clustering problem. Finally, our lower bound for the doubling dimension of the EMD norm enables us to address the open question of [Frahling-Sohler, STOC'05] about the space complexity of clustering problems in the dynamic streaming model.Comment: 29 page
    corecore