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.
- Training: The training data is split by class. Krimp generates a distinct code table for each class.
- Inference: A new test transaction is compressed using every class's code table.
- Decision: The transaction is assigned to the class that yields the shortest compressed code length.
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.
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