NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TKUS: Mining top-k high utility sequential patterns

Chunkai Zhang, Zilin Du, Wensheng Gan, Philip S. Yu

TL;DR

This paper introduces TKUS, a novel algorithm for efficiently mining "top-k high-utility sequential patterns" (top-k HUSPs). It addresses the challenge of finding the most profitable sequences in transactional data without requiring users to pre-specify a minimum utility threshold, a common hurdle in existing methods. TKUS achieves this through a combination of projection and local search mechanisms, along with innovative pruning strategies.

What Problem Does This Paper Address?

Traditional sequential pattern mining (SPM) focuses on the frequency of patterns. However, in many real-world scenarios, like retail, the utility (e.g., profit) of a pattern is more important than its frequency. High-utility sequential pattern mining (HUSPM) aims to find sequences with high utility. A key challenge in HUSPM is setting a minimum utility threshold; too low, and you get too many irrelevant patterns; too high, and you miss valuable ones. This is especially difficult when users lack domain knowledge about the data.

To overcome this, "top-k HUSPM" was proposed, which aims to find the k most profitable sequential patterns without a predefined threshold. However, existing top-k HUSPM algorithms face issues with efficiency (runtime, memory), candidate filtering, and scalability. This paper addresses these limitations by proposing a new algorithm, TKUS, and a systematic problem formulation for top-k HUSPM.

Methods

TKUS introduces several key innovations:

  • Projection and Local Search Mechanism: Instead of repeatedly scanning the entire database, TKUS scans it once to build projected databases for 1-sequences. It then recursively constructs projected databases for longer sequences, significantly reducing the search space.
  • Sequence Utility Raising (SUR) Strategy: To avoid the need for a user-defined minimum utility threshold, TKUS dynamically raises this threshold. It calculates the utility of all 1-, 2-, and q-sequences and sets the initial minimum utility threshold to the k-th highest utility value. This ensures that only potentially top-k patterns are considered, improving efficiency.
  • Pruning Strategies:
    • Terminate Descendants Early (TDE): This strategy uses the Prefix Extension Utility (PEU) upper bound. If the PEU of a candidate sequence is less than the current minimum utility threshold, its descendants are pruned, preventing unnecessary exploration.
  • Eliminate Unpromising Items (EUI): This strategy utilizes the Remaining Sequence Utility (RSU) upper bound. If the RSU of a potential extension of a sequence is less than the minimum utility threshold, that extension and its descendants are pruned.

These strategies work together to significantly reduce the search space and improve the algorithm's efficiency.

Datasets

The paper evaluates TKUS on six datasets:

  • Real-world: Bible, Leviathan, Sign, Yoochoose, Kosarak.
  • Synthetic: Syn80K.

The Yoochoose and Kosarak datasets are described as e-commerce and click-stream data, respectively, with varying characteristics like length and item density. The Bible and Leviathan datasets are derived from literary works, and Sign is a sign language utterance dataset.

Key Insights and Ideas

  • The "Top-k" Approach Solves a Practical Problem: The paper highlights that users often prefer a fixed number of top results (k) rather than dealing with the ambiguity of minimum utility thresholds, making top-k HUSPM more user-friendly.
  • Efficient Search Through Projection: The core idea of building projected databases recursively is crucial for managing the combinatorial explosion inherent in sequential pattern mining.
  • Dynamic Thresholding is Key: The SUR strategy effectively sidesteps the need for manual threshold setting by leveraging the utility distribution of initial patterns.
  • Pruning is Essential for Scalability: TDE and EUI are not just optimizations; they are critical for making top-k HUSPM computationally feasible by intelligently discarding unpromising branches of the search tree.

Key Results

  • Performance Improvement: TKUS consistently outperforms the state-of-the-art algorithm TKHUS-Span in terms of execution time and memory usage across various datasets and values of k.
  • Reduced Candidate Generation: TKUS generates significantly fewer candidates than TKHUS-Span, with a Search Space Shrinkage Rate (SSSR) often exceeding 5% and reaching as high as 98% on the Kosarak dataset.
  • Scalability: TKUS demonstrates good scalability, with execution time and memory consumption showing an almost linear relationship with dataset size.
  • Effectiveness of Strategies: Experiments with variants of TKUS (TKUSSUR, TKUSTDE, TKUSEUI) show that each strategy contributes to efficiency, with TDE being particularly impactful in reducing candidate generation.

Limitations and Future Work

  • Memory Usage for Large k: While TKUS generally improves memory efficiency, there are instances, particularly with very large values of k, where memory consumption can still be high.
  • Yoochoose Dataset Anomaly: TKUS shows a performance dip on the Yoochoose dataset, which the authors attribute to the high computational cost of calculating utilities for 1- and 2-sequences upfront.
  • Future Work: The authors suggest applying TKUS to big data scenarios and exploring parallelization techniques (e.g., using Hadoop) to further enhance its speed. They also mention the potential for other extensions to the TKUS algorithm.

Summary updated

BibTeX
@article{zhang2021tkus,
  author = {Chunkai Zhang and Zilin Du and Wensheng Gan and Philip S. Yu},
  title = {{TKUS: Mining top-k high utility sequential patterns}},
  journal = {Information Sciences},
  year = {2021},
  doi = {10.1016/j.ins.2021.04.035},
}
Figure