Weighted Association Rule Mining using weighted support and significance framework

Feng Tao, Fionn Murtagh, Mohsen M. FaridKDD 2003

TL;DR

Traditional Association Rule Mining (ARM) treats all items as equal, often burying high-value but low-frequency patterns under a mountain of trivial data. This paper introduces the WARM (Weighted Association Rule Mining) algorithm, which utilizes a "weighted support" framework to prioritize significant relationships (like high-profit items) while maintaining computational efficiency through a newly proven "weighted downward closure property."

What Problem Does This Paper Address?

In the world of data mining, the classic "Market Basket Analysis" seeks to find rules like $\{bread, butter\} \rightarrow \{milk\}$. Standard algorithms, such as Apriori, rely on support (frequency) to find these patterns. If a pattern doesn't appear often enough, it is pruned to save on computation.

However, frequency doesn't always equal importance. In a retail setting, a rare sale of an expensive bottle of wine and a side of salmon might be more "significant" to the business than thousands of sales of bread and milk. Traditional ARM ignores this "significance" (weight).

The challenge in adding weights is that it breaks the "downward closure property" (also known as the Apriori property). This property states that if an itemset is frequent, all its subsets must also be frequent. If we simply multiply frequency by weight, a subset might be "insignificant" while its superset (containing a very high-weight item) is "significant." This makes the efficient, iterative pruning of the search space mathematically impossible—until now.

Methods

The authors propose a shift from the "large-support" framework to a "significant-weighted support" framework. Their approach involves three key components:

  1. Weighted Support (WSP): Instead of just counting occurrences, WSP is defined as the fraction of the total weight of transactions containing an itemset relative to the total weight of all transactions in the dataset.
  2. Transaction Weighting: Each transaction is assigned a weight based on the average weight of the items it contains. This allows the algorithm to account for the "significance" of the context in which items appear.
  3. Weighted Downward Closure Property: The core theoretical contribution is a proof that their specific formulation of weighted support does retain a downward closure property. This means that if an itemset $X$ is not significant, no superset of $X$ can be significant.

By proving this property, the authors developed the WARM algorithm, which can prune the search space just as efficiently as Apriori but while focusing on weighted significance.

Datasets

The authors evaluated their model using synthetic datasets generated via the standard IBM Almaden "Quest" data generator.

  • Scale-up tests: Datasets ranged from 0.1 million to 1 million transactions.
  • Complexity tests: Average transaction sizes varied from 10 to 50 items.
  • Weighting Schemes: They applied different weighting schemes (e.g., assigning high weights to specific items like "C" and "E") to simulate real-world scenarios where certain products are more valuable.

Key Insights and Ideas

  • Steering the Focus: Weights act as a "steering wheel" for data mining. By adjusting weights, a user can focus the algorithm on high-profit items, high-risk transactions, or specific web pages without being flooded by frequent but irrelevant "noise."
  • Restoring Efficiency: The most critical "aha moment" is the mathematical proof that weighted support can be pruned iteratively. This solves the "combinatorial explosion" problem that usually occurs when trying to incorporate weights into association mining.
  • Significance vs. Frequency: The paper argues that "significance" is a more meaningful metric for business and research than raw frequency, as it allows for a margin of significance based on cost or value.

Key Results

  • Linear Scalability: The WARM algorithm scales approximately linearly with the number of transactions. As the dataset grows from 100k to 1M transactions, the execution time increases at a predictable, manageable rate.
  • Effective Pruning: The experiments demonstrated that the algorithm successfully "steered" toward high-weight items. When items were assigned higher weights, the number of significant itemsets containing those items increased, while insignificant, low-weight itemsets were successfully pruned.
  • Robustness: The algorithm handled increasing transaction sizes (up to 50 items per basket) effectively, showing that the weighted downward closure property remains a powerful pruning tool even in dense datasets.

Limitations and Future Work

  • Weight Assignment: The paper assumes that weights (like profit or page dwelling time) are already known and provided. It does not discuss automated ways to determine optimal weights for different mining goals.
  • Synthetic vs. Real Data: While the synthetic tests are rigorous, the paper lacks a case study on a large-scale, real-world dataset (e.g., actual supermarket logs or genomic data), which would further validate the practical utility of the "significance" framework.
  • Static Weights: The current model uses static weights for items. Future work could explore dynamic weights that change based on time, location, or user behavior.

Summary updated

BibTeX
@inproceedings{tao2003weighted,
  author = {Feng Tao and Fionn Murtagh and Mohsen M. Farid},
  title = {{Weighted Association Rule Mining using weighted support and significance framework}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2003},
  doi = {10.1145/956750.956836},
}
Figure