NSPG-Miner: Mining Repetitive Negative Sequential Patterns
Yan Li, Zhulin Wang, Jing Liu, Lei Guo, Philippe Fournier-Viger, Youxi Wu, Xindong Wu
TL;DR
NSPG-Miner tackles the problem of mining repetitive negative sequential patterns under gap constraints by jointly discovering PSPGs and NSPGs. It introduces two key innovations: a pattern join strategy with negative patterns to prune candidates, and the NegPair support calculator that uses prefix/suffix key-value arrays to compute pattern supports without res scanning the data. The method demonstrates improved efficiency and discovers more informative negative patterns than state-of-the-art PSPG and NSP mining algorithms across diverse datasets, including a SARS comparison case study. While slower than some negative-SPM baselines on certain datasets, NSPG-Miner provides a complete, gap-constrained NSPG mining solution with strong applicability to domains like bioinformatics and fraud or behavior analysis.
Abstract
Sequential pattern mining (SPM) with gap constraints (or repetitive SPM or tandem repeat discovery in bioinformatics) can find frequent repetitive subsequences satisfying gap constraints, which are called positive sequential patterns with gap constraints (PSPGs). However, classical SPM with gap constraints cannot find the frequent missing items in the PSPGs. To tackle this issue, this paper explores negative sequential patterns with gap constraints (NSPGs). We propose an efficient NSPG-Miner algorithm that can mine both frequent PSPGs and NSPGs simultaneously. To effectively reduce candidate patterns, we propose a pattern join strategy with negative patterns which can generate both positive and negative candidate patterns at the same time. To calculate the support (frequency of occurrence) of a pattern in each sequence, we explore a NegPair algorithm that employs a key-value pair array structure to deal with the gap constraints and the negative items simultaneously and can avoid redundant rescanning of the original sequence, thus improving the efficiency of the algorithm. To report the performance of NSPG-Miner, 11 competitive algorithms and 11 datasets are employed. The experimental results not only validate the effectiveness of the strategies adopted by NSPG-Miner, but also verify that NSPG-Miner can discover more valuable information than the state-of-the-art algorithms. Algorithms and datasets can be downloaded from https://github.com/wuc567/Pattern-Mining/tree/master/NSPG-Miner.
