NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Repetitive nonoverlapping sequential pattern mining

Xindong Wu (吴信东), Meng Geng, Youxi Wu, Yan Li, Jing Liu, Philippe Fournier-Viger, Xingquan Zhu, Xindong WuarXiv 2023 · DOI

Abstract

Classical sequential pattern mining often ignores the frequency of pattern occurrences, treating existence as a binary feature. This paper introduces RNP-Miner, an efficient algorithm designed to mine repetitive, nonoverlapping patterns in complex sequence databases. By utilizing a position dictionary and optimized support calculation, RNP-Miner provides a richer feature set for data analysis, significantly outperforming existing methods in computational speed and clustering accuracy.

Introduction

Classical Sequential Pattern Mining (SPM) typically operates on a binary basis: it identifies whether a pattern exists within a sequence but fails to account for its frequency. In real-world scenarios, such as customer behavior analysis, the number of times a sequence is repeated is often more indicative of interest or intent than a single occurrence.

The primary challenge in addressing this is the method of counting repetitions. Allowing overlapping occurrences leads to data redundancy and exponential complexity, while "one-off" methods are often NP-hard. This research addresses Repetitive Nonoverlapping Sequential Pattern (RNP) mining for complex general sequences, where each step can contain multiple items.

Methodology

The proposed RNP-Miner algorithm optimizes the mining process through three distinct stages:

  1. Data Preprocessing: The raw database is converted into a "position dictionary." This structure maps each item to its specific sequence ID and itemset index, transforming pattern matching into efficient lookup and intersection operations.
  2. Candidate Pattern Generation: To mitigate the exponential growth of potential patterns, RNP-Miner employs an Apriori-based join strategy. Larger candidate patterns are generated by joining smaller frequent patterns only when their prefix and suffix patterns align.
  3. Support Calculation: The Candidate Support Calculation (CSC) algorithm determines the maximum number of nonoverlapping occurrences using the position dictionary. It incorporates two pruning strategies: Pruning Unpromising Items (PUI) and Pruning Unpromising Patterns (PUP).
Overview of the RNP-Miner framework, illustrating data preprocessing, candidate generation, support calculation, and performance comparison.

The search space for these patterns is explored using a tree structure that distinguishes between itemset extensions (I-Extension) and sequence extensions (S-Extension), allowing for systematic candidate generation.

Pattern extension tree illustrating the search space for I-Extensions and S-Extensions during candidate generation.

Experimental Evaluation

RNP-Miner was evaluated across 20 diverse sequence databases, including e-commerce (Babysale, OnlineRetail), environmental (PM 2.5), bioinformatics (DNA/protein fragments), and financial transaction data.

Key Results

  • Computational Efficiency: RNP-Miner demonstrated significant speed advantages over state-of-the-art competitors like NOSEP-RNP and SNP-RNP, achieving speeds up to 20 times faster in specific benchmarks.
  • Memory Management: By utilizing a position dictionary instead of massive database projections, the algorithm maintains a lower memory footprint than classical methods like PrefixSpan.
  • Clustering Accuracy: Using RNPs as features for K-means++ clustering significantly improved homogeneity. For instance, on the SDB20 dataset, the Normalized Mutual Information (NMI) score reached 0.92, a stark contrast to the 0.15 achieved by classical frequent patterns.

Conclusion

RNP-Miner successfully bridges the gap between simple existence and complex frequency in sequential pattern mining. By focusing on nonoverlapping repetitions, it provides a computationally feasible yet highly descriptive analytical tool. Future work will explore the integration of specific time gap constraints and the application of RNP-Miner to domains like web intrusion detection and e-commerce churn analysis.

Summary updated

BibTeX
@misc{2023repetitive,
  author = {Xindong Wu (吴信东) and Meng Geng and Youxi Wu and Yan Li and Jing Liu and Philippe Fournier-Viger and Xingquan Zhu and Xindong Wu},
  title = {{Repetitive nonoverlapping sequential pattern mining}},
  year = {2023},
  eprint = {2311.09667},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.09667},
}
Figure