Abstract
In the turnstile lp heavy hitters problem with parameter ϵ, one must maintain a high-dimensional vector xϵRn subject to updates of the form update (i,δ) causing the change xi≤ ← xi + δ, where iϵ[n], δϵR. Upon receiving a query, the goal is to report every 'heavy hitter' iϵ[n] with |xi| ≥ϵ|x|p as part of a list L⊆[n] of size O(1/ϵp), i.e. proportional to the maximum possible number of heavy hitters. For any pϵ(0,2] the COUNTSKETCH of [CCFC04] solves lp heavy hitters using O(ϵ-plog n) words of space with O(log n) update time, O(nlog n) query time to output L, and whose output after any query is correct with high probability (whp) 1 - 1/poly(n) [JST11, Section 4.4]. This space bound is optimal even in the strict turnstile model [JST11] in which it is promised that xi ≥ 0 for all iϵ[n] at all points in the stream, but unfortunately the query time is very slow. To remedy this, the work [CM05] proposed the 'dyadic trick' for the COUNTMIN sketch for p = 1 in the strict turnstile model, which to maintain whp correctness achieves suboptimal space O(ϵ-1log2 n), worse update time O(log2 n), but much better query time O(ϵ-1poly(log n)). An extension to all pϵ(0,2] appears in [KNPW11, Theorem 1], and can be obtained from [Pag13]. We show that this tradeoff between space and update time versus query time is unnecessary. We provide a new algorithm, EXPANDERSKETCH, which in the most general turnstile model achieves optimal O(ϵ-plog n) space, O(log n) update time, and fast O(ϵ-ppoly(log n)) query time, providing correctness whp. In fact, a simpler version of our algorithm for p = 1 in the strict turnstile model answers queries even faster than the 'dyadic trick' by roughly a log n factor, dominating it in all regards. Our main innovation is an efficient reduction from the heavy hitters to a clustering problem in which each heavy hitter is encoded as some form of noisy spectral cluster in a much bigger graph, and the goal is to identify every cluster. Since every heavy hitter must be found, correctness requires that every cluster be found. We thus need a 'cluster-preserving clustering' algorithm, that partitions the graph into clusters with the promise of not destroying any original cluster. To do this we first apply standard spectral graph partitioning, and then we use some novel combinatorial techniques to modify the cuts obtained so as to make sure that the original clusters are sufficiently preserved. Our cluster-preserving clustering may be of broader interest much beyond heavy hitters.
Originalsprog | Engelsk |
---|---|
Titel | Proceedings - 57th Annual IEEE Symposium on Foundations of Computer Science |
Antal sider | 10 |
Forlag | IEEE |
Publikationsdato | 14 dec. 2016 |
Sider | 61-70 |
ISBN (Elektronisk) | 978-1-5090-3933-3 |
DOI | |
Status | Udgivet - 14 dec. 2016 |
Begivenhed | 57th IEEE Annual Symposium on Foundations of Computer Science - New Brunswick, USA Varighed: 9 okt. 2016 → 11 okt. 2016 Konferencens nummer: 57 |
Konference
Konference | 57th IEEE Annual Symposium on Foundations of Computer Science |
---|---|
Nummer | 57 |
Land/Område | USA |
By | New Brunswick |
Periode | 09/10/2016 → 11/10/2016 |