• DocumentCode
    1196908
  • Title

    Comparing data streams using Hamming norms (how to zero in)

  • Author

    Cormode, Graham ; Datar, Mayur ; Indyk, Piotr ; Muthukrishnan, S.

  • Author_Institution
    Center for Discrete Math. & Comput. Sci., Rutgers Univ., Piscataway, NJ, USA
  • Volume
    15
  • Issue
    3
  • fYear
    2003
  • Firstpage
    529
  • Lastpage
    540
  • Abstract
    Massive data streams are now fundamental to many data processing applications. For example, Internet routers produce large scale diagnostic data streams. Such streams are rarely stored in traditional databases and instead must be processed "on the fly" as they are produced. Similarly, sensor networks produce multiple data streams of observations from their sensors. There is growing focus on manipulating data streams and, hence, there is a need to identify basic operations of interest in managing data streams, and to support them efficiently. We propose computation of the Hamming norm as a basic operation of interest. The Hamming norm formalizes ideas that are used throughout data processing. When applied to a single stream, the Hamming norm gives the number of distinct items that are present in that data stream, which is a statistic of great interest in databases. When applied to a pair of streams, the Hamming norm gives an important measure of (dis)similarity: the number of unequal item counts in the two streams. Hamming norms have many uses in comparing data streams. We present a novel approximation technique for estimating the Hamming norm for massive data streams; this relies on what we call the "l0 sketch" and we prove its accuracy. We test our approximation method on a large quantity of synthetic and real stream data, and show that the estimation is accurate to within a few percentage points.
  • Keywords
    data mining; sensor fusion; Hamming norms; Internet routers; data streams comparison; large scale diagnostic data streams; sensor networks; Approximation methods; Data processing; Data visualization; Databases; Internet; Large-scale systems; Statistics; Streaming media; Telecommunication traffic; Testing;
  • fLanguage
    English
  • Journal_Title
    Knowledge and Data Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1041-4347
  • Type

    jour

  • DOI
    10.1109/TKDE.2003.1198388
  • Filename
    1198388