TL;DR
Researchers have developed the Interesting Itemset Miner (IIM), the first generative Bayesian network model designed to find "interesting" patterns in large databases. By treating itemset mining as a probabilistic inference problem rather than a simple counting or compression task, IIM identifies diverse, non-redundant patterns that scale linearly with data size and align closely with real-world events.
What Problem Does This Paper Address?
In data mining, "frequent itemset mining" is a classic task—think of a grocery store trying to find out which products are often bought together. However, traditional methods suffer from pattern explosion. If you set the threshold for "frequent" too low, you are buried under thousands of redundant results (e.g., {bread, butter}, {bread, milk}, {bread, butter, milk}).
To solve this, researchers previously turned to the Minimum Description Length (MDL) principle, which treats the best patterns as those that compress the database most efficiently. While successful, these MDL methods (like KRIMP or SLIM) are often complex to implement, require tedious book-keeping for lossless encoding, and lack a formal probabilistic framework. The authors of this paper sought to bridge this gap by creating a generative model that explains why certain items appear together.
Methods
The authors introduce a directed graphical model (a Bayesian Network) where each "interesting" itemset is represented by a hidden (latent) binary variable.
- Generative Story: For every transaction, the model independently decides whether to include an itemset based on a probability $\pi_S$. The final transaction is simply the union of all selected itemsets.
- Inference as Set Cover: To find which itemsets explain a specific transaction, the authors show that maximizing the probability is mathematically equivalent to solving a weighted set-cover problem. Since this is NP-hard, they use a fast, greedy approximation that works remarkably well.
- Learning (Structural EM): The model uses a "Hard-EM" algorithm to refine the probabilities of itemsets. To discover new itemsets, it employs Structural EM, iteratively combining high-support itemsets to see if the new combination better explains the data.
- Interestingness Measure: They define a new metric: the ratio of transactions an itemset explains to the transactions it supports. This favors itemsets that are necessary to the model, rather than just those that appear frequently.
Datasets
The model was evaluated on one synthetic dataset and five real-world datasets:
- Plants: Distribution of plant species across US/Canadian states.
- Mammals: Presence of European mammals in geographical grid cells.
- Retail: Anonymized market basket data from a Belgian store.
- ICDM: Stemmed words from research paper abstracts.
- Uganda: A large corpus of Facebook messages from public Ugandan pages.
Key Insights and Ideas
- Probabilistic vs. Compression: The authors demonstrate that every compression scheme implicitly corresponds to a probabilistic model. By focusing on the probability side, they can use powerful tools like submodular optimization and EM algorithms that are harder to apply in a pure compression context.
- Implicit Regularization: The model naturally penalizes complexity. Adding a new itemset to the model adds a "cost" (the probability that it doesn't appear in other transactions), which prevents the algorithm from simply adding every possible combination of items.
- Diversity over Redundancy: Unlike frequent itemset mining, IIM actively seeks a diverse set of patterns. It doesn't just find what is common; it finds the unique "building blocks" that best reconstruct the entire database.
Key Results
- Scalability: IIM scales linearly with the number of transactions. Their prototype processed one million transactions in just 30 seconds using a 64-core machine.
- Reduced Redundancy: Using a metric called Average Inter-itemset Distance (IID), the authors showed that IIM's results are significantly less redundant than competitors like KRIMP, SLIM, or MTV. In most cases, IIM's patterns were twice as "distinct" as those from other state-of-the-art methods.
- Qualitative Accuracy: On the Uganda Facebook dataset, IIM identified specific word clusters (e.g., {soul, rest, peace}) that spiked in usage exactly when major local news events occurred (like the death of a prominent businessman). Competing models often missed these temporal spikes or returned overlapping, redundant religious phrases.
Limitations and Future Work
The primary technical constraint is the MEI-Tree, a data structure used to store the database in memory for fast support queries. While 100GB+ RAM systems are now common, extremely massive datasets might still exceed memory limits.
For future work, the authors suggest:
- Extending the model to directly infer association rules (e.g., "if A, then B").
- Further parallelizing the algorithm to run on large computing clusters to handle even bigger "Big Data" scenarios.
Summary updated