HUSP-SP: Faster Utility Mining on Sequence Data

Chunkai Zhang, Yuting Yang, Zilin Du, Wensheng Gan, Philip S. Yu · DOI · OpenReview

Introduction

High-Utility Sequential Pattern Mining (HUSPM) is a critical task in data mining, aimed at identifying sequences that yield high profit or importance rather than just high frequency. Traditional Sequential Pattern Mining (SPM) often fails to capture the true value of patterns; for instance, a retailer may prioritize rare but high-margin purchase sequences over frequent, low-margin ones. However, HUSPM faces a significant "combinatorial explosion" because it lacks the downward closure property (Apriori property) found in frequency-based mining. A low-utility sequence can have high-utility extensions, making the search space vast and computationally expensive.

Lexicographic search tree illustrating S-Extensions and I-Extensions.

The HUSP-SP Algorithm

To address these challenges, the HUSP-SP algorithm introduces three primary innovations: a compact data structure, a tighter mathematical upper bound, and efficient pruning strategies.

The seqPro Structure

Unlike previous methods that rely on bulky utility matrices or pointer-heavy lists, HUSP-SP utilizes the seqPro structure. This approach stores essential data—item names, utilities, and remaining utilities—in a contiguous seq-array. This design minimizes memory overhead and improves CPU processing speed by avoiding the "pointer chasing" common in Java-based implementations.

The seqPro data structure, featuring contiguous arrays for memory efficiency.

TRSU and Pruning Strategies

The core of HUSP-SP's efficiency lies in the Tighter Reduced Sequence Utility (TRSU) bound. In utility mining, upper bounds are used to prune the search tree: if the maximum possible utility of any extension of a pattern is below a user-defined threshold, the branch is discarded. TRSU provides a more accurate (tighter) estimate than previous bounds like RSU by identifying and subtracting the utility of irrelevant subsequences.

Complementing TRSU are two pruning strategies:

  1. Irrelevant Item Pruning (IIP): Removes items that cannot contribute to any high-utility pattern.
  2. Early Pruning (EP): Leverages the TRSU bound to terminate exploration of unpromising paths in the lexicographic search tree early in the process.

Experimental Evaluation

The authors benchmarked HUSP-SP against state-of-the-art baselines (USpan, ProUM, and HUSP-ULL) across diverse real-world datasets, including sign language (Sign), clickstream data (Kosarak10k), and e-commerce logs (Yoochoose).

Performance and Scalability

HUSP-SP consistently outperformed its competitors. It was found to be approximately 4x faster than HUSP-ULL and up to 1,000x faster than older methods like USpan. Notably, HUSP-SP maintained stability even as the minimum utility threshold decreased—a scenario where other algorithms typically experience exponential runtime growth.

In terms of memory, HUSP-SP's compact array structure allowed it to complete tasks on large datasets (like Leviathan) where other algorithms crashed due to memory exhaustion. Scalability tests on synthetic data showed that HUSP-SP's runtime increases linearly with the number of sequences, making it suitable for large-scale applications.

Conclusion

HUSP-SP represents a significant advancement in High-Utility Sequential Pattern Mining. By combining the memory-efficient seq-array with the mathematically rigorous TRSU bound, the algorithm effectively mitigates the combinatorial explosion problem. While currently optimized for single-machine environments, its linear scalability suggests strong potential for future adaptation into distributed frameworks like Spark or MapReduce for even larger "big data" challenges.

Summary updated

BibTeX
@article{zhang2024husp,
  author = {Chunkai Zhang and Yuting Yang and Zilin Du and Wensheng Gan and Philip S. Yu},
  title = {{HUSP-SP: Faster Utility Mining on Sequence Data}},
  journal = {ACM Trans. Knowl. Discov. Data},
  year = {2024},
  doi = {10.1145/3597935},
}
Figure