English

Data Streams with Bounded Deletions

Data Structures and Algorithms 2018-03-26 v1

Abstract

Two prevalent models in the data stream literature are the insertion-only and turnstile models. Unfortunately, many important streaming problems require a Θ(log(n))\Theta(\log(n)) multiplicative factor more space for turnstile streams than for insertion-only streams. This complexity gap often arises because the underlying frequency vector ff is very close to 00, 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\alpha \geq 1, lower bounds the norm fp\|f\|_p by a 1/α1/\alpha-fraction of the LpL_p mass of the stream had all updates been positive. Here, for a vector ff, fp=(i=1nfip)1/p\|f\|_p = \left (\sum_{i=1}^n |f_i|^p \right )^{1/p}, and the value of pp we choose depends on the application. This gives a fluid medium between insertion only streams (with α=1\alpha = 1), and turnstile streams (with α=poly(n)\alpha = \text{poly}(n)), and allows for analysis in terms of α\alpha. We show that for streams with this α\alpha-property, for many fundamental streaming problems we can replace a O(log(n))O(\log(n)) factor in the space usage for algorithms in the turnstile model with a O(log(α))O(\log(\alpha)) factor. This is true for identifying heavy hitters, inner product estimation, L0L_0 estimation, L1L_1 estimation, L1L_1 sampling, and support sampling. For each problem, we give matching or nearly matching lower bounds for α\alpha-property streams. We note that in practice, many important turnstile data streams are in fact α\alpha-property streams for small values of α\alpha. For such applications, our results represent significant improvements in efficiency for all the aforementioned problems.

Keywords

Cite

@article{arxiv.1803.08777,
  title  = {Data Streams with Bounded Deletions},
  author = {Rajesh Jayaram and David P. Woodruff},
  journal= {arXiv preprint arXiv:1803.08777},
  year   = {2018}
}

Comments

To appear, PODS 2018

R2 v1 2026-06-23T01:02:58.338Z