Compression Picks Item Sets That Matter

Matthijs van Leeuwen, Jilles Vreeken, Arno Siebes

The Pattern Explosion Problem

In data mining, identifying "frequent item sets"—groups of items that often appear together—is a foundational task. However, traditional methods suffer from a massive flaw: setting a low support threshold results in a "pattern explosion," often yielding millions of redundant results. This volume makes manual analysis impossible and hinders downstream algorithms.

To address this, the authors previously introduced Krimp, a method that treats pattern mining as a compression problem. Using the Minimum Description Length (MDL) principle, Krimp selects a tiny, highly representative subset of patterns that losslessly compresses the database most effectively. This paper investigates whether these small sets truly capture the underlying data distribution or are merely statistical artifacts.

The Krimp Approach: Compression as Comprehension

Krimp operates by building a "code table" of item sets. Shorter codes are assigned to more frequent sets to maximize compression. To evaluate the quality of these patterns, the authors adapted Krimp into a classifier based on a simple intuition: a model compresses data well only if that data belongs to the distribution the model represents.

  1. Training: The training data is split by class. Krimp generates a distinct code table for each class.
  2. Inference: A new test transaction is compressed using every class's code table.
  3. Decision: The transaction is assigned to the class that yields the shortest compressed code length.
Figure 5: Relationship between minimum support, compressed size, and accuracy across different class counts.

As shown in the analysis of compressed size versus support, lower support thresholds allow for more candidate patterns, which leads to better compression (smaller size in bits). Crucially, this compression often correlates with improved classification accuracy, suggesting that the patterns selected by MDL are indeed capturing meaningful structural information.

Key Results and Dimensionality Reduction

The most striking result of the Krimp method is its ability to perform massive dimensionality reduction without sacrificing predictive power. By prioritizing patterns that aid compression, the algorithm can discard over 99.9% of frequent item sets.

  • Extreme Filtering: In the PenDigits dataset, Krimp reduced 255 million candidate item sets to a code table of just 1,996 patterns.
  • Competitive Accuracy: Despite not being explicitly designed for classification, the Krimp classifier performed on par with or better than established rule-induction (C4.5) and association-rule (CBA) classifiers.
Figure 6: Accuracy of Krimp across various UCI datasets using different pruning strategies.

As seen in the benchmark results, Krimp achieves high accuracy across diverse datasets like Mushroom (100%) and Adult. The results remain robust even when comparing different pruning strategies, proving that the selected patterns are highly characteristic of their respective classes.

Conclusion

The success of Krimp demonstrates that "compression is comprehension." By using MDL to filter out noise and identify the core structure of a dataset, we can extract a manageable number of patterns that are as effective for classification as models specifically optimized for that task. This approach offers a powerful solution to the pattern explosion problem, providing both interpretability and performance.

Summary updated

BibTeX
@inproceedings{leeuwen2006compression,
  author = {Matthijs van Leeuwen and Jilles Vreeken and Arno Siebes},
  title = {{Compression Picks Item Sets That Matter}},
  booktitle = {PKDD},
  year = {2006},
  doi = {10.1007/11871637\_59},
}
Figure