Tracking the Frequency Moments at All Times
Abstract
The traditional requirement for a randomized streaming algorithm is just one-shot, i.e., algorithm should be correct (within the stated -error bound) at the end of the stream. In this paper, we study the tracking problem, where the output should be correct at all times. The standard approach for solving the tracking problem is to run O( m) independent instances of the one-shot algorithm and apply the union bound to all m time instances. In this paper, we study if this standard approach can be improved, for the classical frequency moment problem. We show that for the Fp problem for any 1 < p 2, we actually only need O( m + n) copies to achieve the tracking guarantee in the cash register model, where n is the universe size. Meanwhile, we present a lower bound of ( m m) bits for all linear sketches achieving this guarantee. This shows that our upper bound is tight when n=( m)O(1). We also present an (2 m) lower bound in the turnstile model, showing that the standard approach by using the union bound is essentially optimal.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.