Skip to main content
QUICK REVIEW

[Paper Review] TaSPM: Targeted Sequential Pattern Mining

Gengsen Huang, Wensheng Gan|arXiv (Cornell University)|Feb 26, 2022
Data Mining Algorithms and ApplicationsComputer Science6 citations
TL;DR

This paper proposes TaSPM, a generic framework for targeted sequential pattern mining that accelerates pattern discovery by focusing on user-defined query sequences. Built on CM-SPAM, TaSPM employs four pruning strategies to eliminate irrelevant pattern extensions, achieving faster runtime and lower memory usage than baseline methods across diverse datasets and query types.

ABSTRACT

Sequential pattern mining (SPM) is an important technique of pattern mining, which has many applications in reality. Although many efficient sequential pattern mining algorithms have been proposed, there are few studies can focus on target sequences. Targeted querying sequential patterns can not only reduce the number of sequences generated by SPM, but also improve the efficiency of users in performing pattern analysis. The current algorithms available on targeted sequence querying are based on specific scenarios and cannot be generalized to other applications. In this paper, we formulate the problem of targeted sequential pattern mining and propose a generic framework namely TaSPM, based on the fast CM-SPAM algorithm. What's more, to improve the efficiency of TaSPM on large-scale datasets and multiple-items-based sequence datasets, we propose several pruning strategies to reduce meaningless operations in mining processes. Totally four pruning strategies are designed in TaSPM, and hence it can terminate unnecessary pattern extensions quickly and achieve better performance. Finally, we conduct extensive experiments on different datasets to compare the existing SPM algorithms with TaSPM. Experiments show that the novel targeted mining algorithm TaSPM can achieve faster running time and less memory consumption.

Motivation & Objective

  • To address the inefficiency of traditional sequential pattern mining (SPM) in generating excessive, irrelevant patterns by focusing on user-specified target sequences.
  • To develop a generic, extensible framework for targeted sequential pattern mining applicable across diverse domains.
  • To reduce computational overhead and memory consumption by eliminating meaningless pattern extensions during mining.
  • To improve query efficiency for both single-item and multi-item target sequences in large-scale transactional data.
  • To provide a scalable solution that outperforms existing SPM algorithms like CM-SPAM in runtime and memory usage.

Proposed method

  • TaSPM is built as an extension of the fast CM-SPAM algorithm, leveraging its efficient pattern generation mechanism.
  • The framework introduces four pruning strategies to eliminate non-promising pattern extensions early in the mining process.
  • Pruning is applied based on the target query sequence, ensuring only relevant sub-patterns are explored.
  • A post-processing technique ensures mined patterns meet user-specified structural and order constraints.
  • The algorithm supports both I-Extension and S-Extension queries, enabling flexible pattern discovery.
  • TaSPM V2, a refined version, optimizes memory usage and runtime through enhanced pruning and data structure management.

Experimental results

Research questions

  • RQ1How can sequential pattern mining be made more efficient by focusing on user-defined target sequences rather than mining all frequent patterns?
  • RQ2What pruning strategies can effectively reduce the number of meaningless pattern extensions during targeted mining?
  • RQ3How does TaSPM perform in terms of runtime and memory consumption compared to baseline SPM algorithms like CM-SPAM across different datasets?
  • RQ4How does the performance of TaSPM vary with different query sequence types, including single-item and multi-item sequences?
  • RQ5To what extent does TaSPM scale with increasing dataset size and varying minimum support thresholds?

Key findings

  • TaSPM V2 achieves significantly faster runtime than CM-SPAM, especially on large-scale and multiple-items-based datasets.
  • Memory consumption of TaSPM V2 is consistently lower than CM-SPAM, with up to several times reduction on synthetic and real-world datasets.
  • On the Accidents10k and Bible datasets, TaSPM V2 maintains stable memory usage even as minsup varies, showing robustness.
  • For query sequences of increasing length, TaSPM V2 shows reduced runtime, while TaSPM V1 remains relatively unchanged, indicating better scalability of V2.
  • Scalability experiments show that TaSPM V1 and V2 are less sensitive to dataset size than CM-SPAM, as their performance depends on the number of target patterns rather than total data volume.
  • CM-SPAM fails to discover patterns when minsup is reduced to 5 on the Syn10k dataset, while TaSPM V2 successfully completes the task, demonstrating superior robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.