Maximal co-occurrence nonoverlapping sequential rule mining

Yan Li, Chang Zhang, Jie Li, Wei Song, Zhenlian Qi, Youxi Wu, Xindong WuarXiv 2023 · DOI

Abstract

Sequential Pattern Mining (SPM) is essential for discovering frequent behaviors in diverse datasets, yet it often suffers from high redundancy and computational inefficiency. This paper presents MCoR-Miner, a novel algorithm designed to extract maximal co-occurrence rules under nonoverlapping constraints. By utilizing a Depth-first search and Backtracking with Indexes (DBI) mechanism and specialized pruning strategies (FET and BET), MCoR-Miner significantly reduces the search space and execution time. Experimental results across commerce, clickstream, and bio-sequence datasets demonstrate that MCoR-Miner outperforms state-of-the-art methods, achieving up to 100x speedup and superior recommendation accuracy.

Introduction

Traditional Sequential Pattern Mining (SPM) identifies frequent subsequences but often generates an overwhelming number of redundant rules. Furthermore, many existing algorithms struggle with "gap constraints" and fail to account for nonoverlapping occurrences—a more realistic metric where each item in a sequence is used only once for a specific pattern. To address these challenges, we propose MCoR-Miner, which focuses on "maximal" rules (the longest frequent rules) to provide more concise and actionable insights.

The MCoR-Miner Framework

The MCoR-Miner algorithm follows a structured three-stage process: preparation, candidate pattern generation, and screening.

The three-stage workflow of the MCoR-Miner algorithm, including preparation, candidate generation, and screening.

In the preparation stage, the algorithm calculates support using the DBI mechanism and filters out irrelevant sequences. The candidate generation stage employs Frequent item Enumeration Trees (FET) and Binomial Enumeration Trees (BET) to prune infrequent items early. Finally, a screening strategy identifies maximal co-occurrence rules (MCoRs) by ensuring no frequent super-patterns exist for a given rule.

Optimizing Support Calculation with DBI

A core innovation of MCoR-Miner is the Depth-first search and Backtracking with Indexes (DBI) mechanism. Unlike traditional sequential scanning, DBI utilizes index arrays to "jump" directly to the next occurrence of an item in a sequence.

Example of index arrays used by the DBI mechanism to facilitate rapid lookups of item positions.

As shown in the index table, each item (a, b, c, d) has an associated list of positions. This indexing turns linear searches into targeted lookups, which is the primary driver behind the algorithm's significant speed increases compared to older sequential search methods like DFOM.

Experimental Evaluation

MCoR-Miner was evaluated against eleven competitive algorithms on eight diverse datasets, including retail (GAMESALE), clickstream (MSNBC), and genomic sequences (SARS-Cov-2).

Key findings include:

  • Speed: MCoR-Miner was up to 100x faster than NOSEP and 6x faster than DFOM-All. For example, on the GAMESALE dataset, it finished in 0.42s compared to NOSEP’s 47.95s.
  • Memory Efficiency: It maintained a low memory footprint, requiring only 13.6 MB on the GAMESALE dataset compared to 32.1 MB for NOSEP.
  • Recommendation Quality: In recommendation tasks, MCoR-Miner achieved a significantly higher F1-score than baselines like CoP-Miner, particularly on the MOVIE dataset where its score was nearly 50% higher.

Conclusion

MCoR-Miner provides an efficient solution for mining non-redundant, maximal co-occurrence rules. By combining indexing-based support calculation with robust pruning strategies, it offers a scalable approach for real-world applications like recommendation systems and biological sequence analysis. Future work will explore extending this model to handle simultaneous itemsets and dynamic, streaming data.

Summary updated

BibTeX
@misc{li2023maximal,
  author = {Yan Li and Chang Zhang and Jie Li and Wei Song and Zhenlian Qi and Youxi Wu and Xindong Wu},
  title = {{Maximal co-occurrence nonoverlapping sequential rule mining}},
  year = {2023},
  eprint = {2301.12630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.12630},
}
Figure