login

Finding frequent items in data streams

Theoretical Computer SciencePublished 12 August 2003
Moses Charikar, Kevin Chen, Martı́n Farach-Colton
Citations1,332
SJR quartileQ2
SJR score0.49
SNIP0.94

Abstract

We present a 1-pass algorithm for estimating the most frequent items in a data stream using limited storage space. Our method relies on a data structure called a COUNT SKETCH, which allows us to reliably estimate the frequencies of frequent items in the stream. Our algorithm achieves better space bounds than the previously known best algorithms for this problem for several natural distributions on the item frequencies. In addition, our algorithm leads directly to a 2-pass algorithm for the problem of estimating the items with the largest (absolute) change in frequency between two data streams. To our knowledge, this latter problem has not been previously studied in the literature.

Keywords

Computer Science