Association rule mining and itemset-correlation based variants

Niels MündlerarXiv 2019

Abstract

This paper provides a structured overview of the foundational Apriori algorithm and its evolution to handle the complexities of real-world data, such as numerical values and hierarchical categories. It explores how the "downward closure" property enables efficient mining from massive datasets and details extensions for quantitative attributes and hierarchical taxonomies.

Introduction

In data mining, identifying meaningful relationships—such as "customers who buy charcoal also buy beer"—within databases containing thousands of items presents a significant computational challenge. The search space is exponential, with $2^n$ possible associations for $n$ items. While the basic Apriori algorithm addressed simple binary purchase data, real-world data necessitates more sophisticated approaches to handle quantitative attributes, hierarchical generalizations, and spurious correlations.

The Apriori Algorithm and Pruning

The efficiency of association rule mining relies on the downward closure property: if an itemset is infrequent, all of its supersets must also be infrequent. This principle allows the Apriori algorithm to prune the search space drastically by only generating candidate supersets from known frequent itemsets.

Visualization of the Apriori pruning process across itemset sizes $k=1, 2, 3$.

As shown in the Hasse diagrams above, the algorithm iteratively explores levels of itemset sizes ($k$). By identifying frequent items at $k=1$, it limits the candidates for $k=2$, and so on, preventing an exhaustive search of the entire lattice. This systematic reduction of the search space is what makes mining large-scale datasets feasible.

Extensions for Complex Data

Standard Apriori is often insufficient for modern datasets. This review highlights three critical extensions:

1. Quantitative Association Rules

Numerical attributes (e.g., price, quantity) are typically partitioned into discrete intervals. To maintain accuracy without creating an unmanageable number of intervals, techniques like "K-partial-completeness" are used for optimal partitioning. Furthermore, Fuzzy Association Rules help mitigate "border hits," where values near interval boundaries are treated more flexibly.

2. Generalized Association Rules

Real-world items often exist within hierarchies (taxonomies). For instance, "Aubergine" is a subset of "Vegetables." By augmenting transactions with item ancestors, broader patterns can be discovered. A key optimization here is pruning redundant rules that contain both an item and its ancestor, as they offer no additional information.

3. Interestingness Measures

A common pitfall in mining is the "Tea → Coffee" problem: if both items are highly frequent, they may show high "confidence" despite being negatively correlated. To identify truly useful rules, researchers employ measures like lift or chi-squared tests to ensure the observed relationship is statistically significant and not merely a byproduct of high individual item frequency.

Key Insights

  • Efficiency through Pruning: The downward closure property is the cornerstone of scalable data mining.
  • Hierarchy Duality: Quantitative intervals can be modeled as a form of taxonomy, allowing similar pruning logic to be applied across different data types.
  • Utility over Confidence: High confidence scores can be deceptive; true utility requires accounting for the baseline probability of item occurrences.

Conclusion and Future Directions

While the Apriori lineage has significantly advanced the field, limitations remain. Current models are often order-independent, ignoring the temporal sequence of events. Future research is directed toward objective-oriented utility-based mining—focusing on rules that drive specific outcomes like profit—and improving the handling of continuous intervals to minimize information loss during discretization.

Summary updated

BibTeX
@misc{mundler2019association,
  author = {Niels Mündler},
  title = {{Association rule mining and itemset-correlation based variants}},
  year = {2019},
  eprint = {1907.09535},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.09535},
}
Figure