Mining Top-K Co-Occurrence Items

Zhi-Hong DengarXiv 2015

Introduction

Top-k co-occurrence item mining is a specialized data mining task aimed at identifying the $k$ items that appear most frequently alongside a specific user-provided query itemset. This task is particularly relevant in personalized recommendation systems and social network analysis, where the context of a user's current activity (e.g., items in a shopping cart) dictates the relevance of potential suggestions.

The Challenges of Co-Occurrence Mining

Traditional Frequent Itemset Mining (FIM) techniques, such as Apriori or FP-Growth, are ill-suited for this task for two primary reasons. First, FIM relies on a global "minimum support" threshold, whereas top-k co-occurrence uses a relative threshold that is query-dependent and unknown until the search is complete. Second, FIM leverages the "downward closure" property (if an itemset is frequent, all its subsets are frequent) to prune the search space. This property does not hold for top-k co-occurrence mining, necessitating new algorithmic approaches.

The Pi-Tree Framework

To address these challenges, this research introduces the Pi-Tree (Prefix itemset Tree) and the associated PT algorithm. The Pi-Tree is a compact, tree-based structure inspired by the FP-Tree but designed for query-specific retrieval. Unlike the FP-Tree, which prunes infrequent items during construction, the Pi-Tree retains all items to ensure it remains a complete representation of the database for any arbitrary query.

The Pi-Tree structure features a header table and parent-links to facilitate efficient bottom-up traversal.

The Pi-Tree incorporates "parent-links" that allow the PT algorithm to perform efficient bottom-up traversals. By focusing only on the paths containing the query itemset, the PT algorithm can count co-occurrences significantly faster than methods requiring full database scans or inverted list intersections.

Experimental Results

The PT algorithm was evaluated against several baselines, including Naive Hunting (NT) and Inverted List (NTI) approaches, across real-world (Connect, Accidents) and synthetic datasets.

Execution Efficiency and Scalability

The PT algorithm demonstrated superior performance, particularly on dense datasets. On the Connect dataset, PT was 3x faster than the best baseline. On the extremely dense Syn_data1 dataset, PT achieved a 40x speedup over the NTI baseline. This efficiency stems from the Pi-Tree's ability to compress similar transactions into shared branches, a benefit that scales well as database size increases.

The Preprocessing Trade-off

While the PT algorithm offers rapid query response times, it requires a more intensive initial construction phase compared to simple inverted lists.

Preprocessing time comparison: Building the Pi-Tree (PT) is more computationally expensive than building an inverted list (NTI), representing a one-time investment for faster future queries.

As shown in the experimental data, building a Pi-Tree typically takes 1.5x to 3.5x longer than constructing an inverted list. However, this is a one-time preprocessing cost that is quickly offset by the significant reduction in per-query execution time.

Conclusion

The Pi-Tree and PT algorithm provide a robust solution for top-k co-occurrence mining, overcoming the limitations of traditional FIM. While the structure can be memory-intensive for datasets with high cardinality, its compression capabilities and traversal efficiency make it ideal for high-performance recommendation engines. Future work will focus on developing "tighter" mathematical bounds for pruning and exploring interactive mining capabilities.

Summary updated

BibTeX
@misc{deng2015mining,
  author = {Zhi-Hong Deng},
  title = {{Mining Top-K Co-Occurrence Items}},
  year = {2015},
  eprint = {1512.07806},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1512.07806},
}
Figure