Utility-driven Mining of Contiguous Sequences

Chunkai Zhang, Quanjian Dai, Zilin Du, Wensheng Gan, Jian Weng, Philip S. YuarXiv 2021

Abstract

Traditional sequential pattern mining often overlooks the economic or qualitative value of patterns, focusing instead on frequency. High-Utility Sequential Pattern Mining (HUSPM) addresses this but frequently fails to account for contiguity—a critical constraint in domains like bioinformatics and clickstream analysis—and struggles with the computational complexity of multi-itemset sequences. This paper discusses the FUCPM algorithm, a high-efficiency approach for discovering High-Utility Contiguous Sequential Patterns (HUCSPs). By utilizing novel data structures and a tighter utility upper bound, FUCPM achieves significant performance gains over existing state-of-the-art methods.

Introduction

Sequential Pattern Mining (SPM) is a fundamental task in data science, yet its reliance on frequency often yields patterns of low practical value. For instance, in retail, a frequent sequence of low-margin items is less interesting than a rare but highly profitable sequence. High-Utility Sequential Pattern Mining (HUSPM) incorporates "utility" (e.g., profit) to identify high-value patterns. However, two major challenges persist: the requirement for contiguity (unbroken sequences) and the handling of "complex" sequences where multiple items occur simultaneously in a single event.

Problem Definition: Contiguity and Complexity

In many applications, such as DNA sequence analysis or web usage mining, a pattern is only valid if its elements appear consecutively without interruption. Furthermore, real-world data often consists of itemsets rather than single items. Existing contiguous miners typically only support "simple" sequences, failing to process the multi-item transactions common in retail databases.

Figure 4: An example of a quantitative sequence (q-sequence) database containing complex sequences with multiple items per event.

The search space for HUCSPs is vast, and because utility does not satisfy the downward closure property (i.e., a sub-sequence's utility does not necessarily bound its super-sequence's utility), pruning the search tree is mathematically challenging.

The FUCPM Algorithm

To address these challenges, the authors propose FUCPM (Fast Utility-driven Contiguous sequential Pattern Mining). The algorithm is built upon several key innovations:

1. Compact Data Structures

FUCPM utilizes the Sequence Information List (SIL) and the Instance Chain (IChain). The SIL stores the utility and remaining utility for each item in a sequence, allowing the algorithm to calculate potential utility without re-scanning the database.

Figure 6: The Sequence Information List (SIL) for sequence S1, storing item utilities and remaining sequence utilities.

2. Item-Extension Utilization (IEU) Upper Bound

A core contribution is the IEU upper bound. Unlike previous looser bounds, IEU provides a tighter "ceiling" for the potential utility of any extension of a current pattern. If the IEU of a pattern falls below the minimum utility threshold, the entire branch of the search tree can be safely pruned.

3. Pruning Strategies

FUCPM employs two primary pruning techniques:

  • Global Unpromising Items Pruning (GUIP): Removes items from the global database that can never participate in a high-utility pattern.
  • Local Unpromising Items Pruning (LUIP): Dynamically prunes specific extensions during the recursive growth process.

Experimental Evaluation

The FUCPM algorithm was tested against the state-of-the-art HUCP-Miner across 12 datasets, including 6 real-world (e.g., Bible, MSNBC) and 6 synthetic datasets.

Performance and Scalability

  • Efficiency: FUCPM demonstrated a 30% to 75% reduction in execution time compared to HUCP-Miner. This gap was most pronounced in datasets with long sequences.
  • Memory Usage: The SIL and IChain structures allowed for significantly lower memory consumption.
  • Scalability: Testing on synthetic datasets (up to 400,000 sequences) showed that FUCPM scales almost linearly, proving its suitability for large-scale data applications.

Conclusion

FUCPM represents a significant advancement in utility-driven mining by efficiently handling the constraints of contiguity and the complexity of multi-itemset sequences. By introducing tighter mathematical bounds and optimized data structures, it provides a robust solution for identifying high-value, unbroken patterns in diverse fields ranging from e-commerce to bioinformatics. Future work may involve adapting the algorithm for "on-shelf" retail constraints and parallelizing the process for distributed computing environments.

Summary updated

BibTeX
@misc{zhang2021utility,
  author = {Chunkai Zhang and Quanjian Dai and Zilin Du and Wensheng Gan and Jian Weng and Philip S. Yu},
  title = {{Utility-driven Mining of Contiguous Sequences}},
  year = {2021},
  eprint = {2111.00247},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.00247},
}
Figure