40
2
v1v2 (latest)

Distributed Data Summarization in Well-Connected Networks

Abstract

We study distributed algorithms for some fundamental problems in data summarization. Given a communication graph GG of nn nodes each of which may hold a value initially, we focus on computing i=1Ng(fi)\sum_{i=1}^N g(f_i), where fif_i is the number of occurrences of value ii and gg is some fixed function. This includes important statistics such as the number of distinct elements, frequency moments, and the empirical entropy of the data. In the CONGEST model, a simple adaptation from streaming lower bounds shows that it requires Ω~(D+n)\tilde{\Omega}(D+ n) rounds, where DD is the diameter of the graph, to compute some of these statistics exactly. However, these lower bounds do not hold for graphs that are well-connected. We give an algorithm that computes i=1Ng(fi)\sum_{i=1}^{N} g(f_i) exactly in τG2O(logn)\tau_G \cdot 2^{O(\sqrt{\log n})} rounds where τG\tau_G is the mixing time of GG. This also has applications in computing the top kk most frequent elements. We demonstrate that there is a high similarity between the GOSSIP model and the CONGEST model in well-connected graphs. In particular, we show that each round of the GOSSIP model can be simulated almost-perfectly in O~(τG\tilde{O}(\tau_G rounds of the CONGEST model. To this end, we develop a new algorithm for the GOSSIP model that 1±ϵ1\pm \epsilon approximates the pp-th frequency moment Fp=i=1NfipF_p = \sum_{i=1}^N f_i^p in O~(ϵ2n1k/p)\tilde{O}(\epsilon^{-2} n^{1-k/p}) rounds, for p2p \geq2, when the number of distinct elements F0F_0 is at most O(n1/(k1))O\left(n^{1/(k-1)}\right). This result can be translated back to the CONGEST model with a factor O~(τG)\tilde{O}(\tau_G) blow-up in the number of rounds.

View on arXiv
Comments on this paper