Abstract: Sequential Pattern Mining (SPM) is a fundamental data mining task, but it often suffers from "pattern explosion," particularly when internal repetitions are considered. This paper introduces CRGSgrow, an algorithm designed to find a compact, representative set of repetitive sequential patterns. By employing a novel pruning strategy called SyncScan and a similarity-based selection process, CRGSgrow achieves significant compression without the typical performance penalties associated with representative pattern mining.
Introduction
Sequential Pattern Mining identifies common ordered events in datasets such as web logs or DNA sequences. Traditional methods often overlook internal repetitions (e.g., a user clicking "Home" multiple times). While repetitive gapped sequential pattern mining addresses this, it generates an astronomical number of patterns, making results difficult to interpret.
The authors propose finding a set of representative patterns that "cover" the dataset within a user-defined similarity threshold ($\delta$). This approach aims to provide a "middle road" between losing too much information (maximal patterns) and having too much redundant data (closed patterns).
Methodology
CRGSgrow operates in two primary phases. First, it performs a depth-first search to find closed repetitive patterns. Efficiency is maintained via SyncScan, a pruning strategy that avoids redundant calculations by recognizing shared subsequences. For example, if a pattern like ABC is being processed, SyncScan ensures that its subsequence BC is not recalculated independently.
Second, the algorithm identifies $\delta$-dominate patterns—unique patterns essential for the representative set—and uses a greedy set-covering approach to select the remaining representatives. This selection is based on a novel distance metric derived from Jaccard similarity specifically tailored for repetitive sequences.
Experimental Evaluation
The algorithm was tested on several datasets, including the Gazelle web click-stream dataset (29,369 sequences) and TCAS software traces. Key results include:
- High Compression: CRGSgrow reduced the number of output patterns to approximately 25% of those produced by standard closed mining (CloGSgrow).
- Computational Efficiency: Despite the added complexity of compression, CRGSgrow's runtime is comparable to CloGSgrow and significantly faster than other compression-focused algorithms like RPglobal.
- Scalability: The algorithm handled low support thresholds gracefully, where traditional methods often encounter memory or time constraints.
Conclusion
CRGSgrow offers a scalable and efficient solution to the pattern explosion problem in repetitive sequence mining. While the greedy selection of representatives is an approximation of an NP-Hard problem, the algorithm provides a practical balance between compression and computational performance, resulting in much more human-readable outputs for complex sequential data analysis.
Summary updated