Abstract
Itemset mining is one of the most essential tasks in the field of data mining. In this paper, we focus on minimum length as a mining measure for closed itemset mining. That is, our task is formalized as follows: Given a database and user-specified minimum length threshold, find all closed itemsets whose length is at least the minimum length. Closed itemset mining based on the minimum length threshold is preferable when it is difficult for users to determine the appropriate minimum support value. For our task, we propose TripleEye: an efficient algorithm of closed itemset mining that is based on the intersection of transactions in a database. Our algorithm utilizes the information of inclusion relations between itemsets to avoid the generation of duplicate itemsets and reduce the computational cost of intersection. During the mining procedure, the information of inclusion relations is maintained in a novel tree structure called Ordered Inclusion Tree. Experiments show that our algorithm dramatically reduces the computational cost, compared against naive intersection-based algorithm. Our algorithm also achieves up to twice the running speed of conventional algorithms given dense databases.
1. Introduction
Finding meaningful patterns in large databases is a cornerstone of data science. However, traditional Frequent Itemset Mining (FIM) often relies on a minimum support threshold—the frequency with which a pattern appears. This approach presents two major challenges: it is difficult for users to tune the support parameter for new datasets, and it often returns a flood of trivial, short patterns.
Shindo et al. propose a shift in perspective by mining based on minimum length instead. For domain experts, such as biologists looking for transcription factor binding sites, length is often a more natural constraint than frequency. To make this approach computationally viable, the authors introduce TripleEye, an intersection-based algorithm that utilizes a novel data structure to avoid redundant calculations.
2. The TripleEye Algorithm and OI-Tree
TripleEye is an intersection-based algorithm. Rather than building patterns from single items (bottom-up), it starts with the transactions themselves and intersects them to find commonalities. The core innovation is the Ordered Inclusion Tree (OI-Tree), which maintains inclusion relations—tracking which itemsets are subsets of others—during the mining process.
3. Localization and Pruning
The OI-Tree enables a significant optimization known as the Localization Theorem. This theorem proves that to find a new closed itemset, the algorithm does not need to search the entire database; it only needs to look at a specific, small branch of the tree called the Right Sibling Descendants (RightSibDesc).
By restricting the search space to these descendants, TripleEye avoids generating duplicate itemsets and slashes the number of required intersection operations. To further boost performance, the algorithm uses binarization, representing itemsets as bit-vectors so that intersections and inclusion checks can be performed using fast CPU bitwise operations.
4. Evaluation and Results
The authors evaluated TripleEye on both real-world (e.g., chess, gazelle) and synthetic datasets. The performance gains were most dramatic in dense databases. For instance, on a subset of the chess database, a naive intersection algorithm required over 286 million operations, while TripleEye achieved the same result with only 37,447 operations.
Key findings include:
- Speedup: TripleEye consistently outperformed state-of-the-art algorithms like IsTa and FPclose on dense datasets, often doubling their execution speed.
- Threshold Sensitivity: Unlike support-based algorithms, TripleEye's runtime drops significantly as the minimum length threshold increases, as it can more aggressively prune intersections that result in short sets.
- Scalability: The algorithm scales near-linearly with the number of transactions.
5. Conclusion
TripleEye provides an efficient framework for mining closed itemsets by length, offering a robust alternative to frequency-based methods. While its advantages are most pronounced in dense datasets where inclusion relations are abundant, the OI-Tree structure provides a generalizable foundation. Future research will explore extending this approach to more complex data types, such as sequences, trees, and graphs.
Summary updated