Zips: mining compressing sequential patterns in streams

  • Authors:
  • Hoang Thanh Lam;Toon Calders;Jie Yang;Fabian Mörchen;Dmitriy Fradkin

  • Affiliations:
  • TU Eindhoven, Eindhoven, the Netherlands;TU Eindhoven, Eindhoven, the Netherlands;TU Eindhoven, Eindhoven, the Netherlands;Amazon.com Inc., Seattle, WA;Siemens Corporate Research, Princeton NJ

  • Venue:
  • Proceedings of the ACM SIGKDD Workshop on Interactive Data Exploration and Analytics
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a streaming algorithm, based on the minimal description length (MDL) principle, for extracting non-redundant sequential patterns. For static databases, the MDL-based approach that selects patterns based on their capacity to compress data rather than their frequency, was shown to be remarkably effective for extracting meaningful patterns and solving the redundancy issue in frequent itemset and sequence mining. The existing MDL-based algorithms, however, either start from a seed set of frequent patterns, or require multiple passes through the data. As such, the existing approaches scale poorly and are unsuitable for large datasets. Therefore, our main contribution is the proposal of a new, streaming algorithm, called Zips, that does not require a seed set of patterns and requires only one scan over the data. For Zips, we extended the Lempel-Ziv (LZ) compression algorithm in three ways: first, whereas LZ assigns codes uniformly as it builds up its dictionary while scanning the input, Zips assigns codewords according to the usage of the dictionary words; more heaviliy used words get shorter code-lengths. Secondly, Zips exploits also non-consecutive occurences of dictionary words for compression. And, third, the well-known space-saving algorithm is used to evict unpromising words from the dictionary. Experiments on one synthetic and two real-world large-scale datasets show that our approach extracts meaningful compressing patterns with similar quality to the state-of-the-art multi-pass algorithms proposed for static databases of sequences. Moreover, our approach scales linearly with the size of data streams while all the existing algorithms do not.