Data Streams with Bounded Deletions
Two prevalent models in the data stream literature are the insertion-only and turnstile models. Unfortunately, many important streaming problems require a Θ((n)) multiplicative factor more space for turnstile streams than for insertion-only streams. This complexity gap often arises because the underlying frequency vector f is very close to 0, after accounting for all insertions and deletions to items. Signal detection in such streams is difficult, given the large number of deletions. In this work, we propose an intermediate model which, given a parameter α≥ 1, lower bounds the norm f_p by a 1/α-fraction of the L_p mass of the stream had all updates been positive. Here, for a vector f, f_p = (∑_i=1^n |f_i|^p )^1/p, and the value of p we choose depends on the application. This gives a fluid medium between insertion only streams (with α = 1), and turnstile streams (with α = poly(n)), and allows for analysis in terms of α. We show that for streams with this α-property, for many fundamental streaming problems we can replace a O((n)) factor in the space usage for algorithms in the turnstile model with a O((α)) factor. This is true for identifying heavy hitters, inner product estimation, L_0 estimation, L_1 estimation, L_1 sampling, and support sampling. For each problem, we give matching or nearly matching lower bounds for α-property streams. We note that in practice, many important turnstile data streams are in fact α-property streams for small values of α. For such applications, our results represent significant improvements in efficiency for all the aforementioned problems.
READ FULL TEXT