Discovering Utility-driven Interval Rules

Chunkai Zhang, Maohua Lyu, Huaijin Hao, Wensheng Gan, Philip S. YuarXiv 2023 · OpenReview

Abstract

High-utility sequential rule mining (HUSRM) is a vital technique for uncovering associations between events in sequences. While most existing methods focus on point-based events, real-world data often consists of interval events that persist over time. This paper introduces UIRMiner, a novel algorithm designed to extract utility-driven interval rules (UIRs). By employing a 7-ary numerical encoding for temporal relations and a specialized utility complement pruning strategy, UIRMiner achieves significant improvements in efficiency and scalability over traditional approaches.

Introduction: From Points to Intervals

Traditional data mining often treats events as instantaneous points in time, such as a credit card transaction. However, many domains—from medical diagnostics to logistics—deal with events that have a specific duration. For instance, a patient's fever or a vehicle's rental period are interval-based events. Discovering rules in these sequences is challenging because the temporal relationships are far more complex than simple "before" or "after" logic.

The Complexity of Temporal Relations

Interval events can relate to one another in seven distinct ways, as defined by Allen’s temporal logic. These include relations like "overlaps," "contains," and "starts." Managing these relations in large datasets typically requires expensive $O(n^2)$ matrix computations.

Allen's temporal relations and their corresponding numerical codes used for efficient representation.

To overcome this, UIRMiner introduces a 7-ary based numerical encoding. This method maps the seven temporal relations into a compact numeric format. This innovation not only reduces the storage footprint of the relations but also accelerates the computation required to extend rules during the mining process.

UIRMiner: Efficient Rule Discovery

Utility Complement Pruning

A core challenge in high-utility mining is the massive search space. UIRMiner addresses this through a "Utility Complement" pruning strategy. This strategy leverages the fact that Allen’s temporal relations are mutually exclusive; an interval pair can only satisfy one relation at a time.

The utility complement pruning strategy uses the mutual exclusivity of temporal relations to tighten utility upper bounds and prune the search space.

As shown in the figure above, the algorithm calculates a "utility budget" by partitioning the total potential utility across the possible relations (0-6). If the maximum possible utility for a specific branch is below a minimum threshold, that entire path can be pruned early. This significantly reduces the number of candidate rules the algorithm needs to evaluate.

Redesigned Data Structures

Beyond pruning, the algorithm utilizes specialized structures like the E-sequence array and utility-lists (AUL and CUL). These track "same start time positions" (sstp) to ensure temporal consistency, preventing the algorithm from erroneously predicting past events using future data.

Experimental Evaluation

The effectiveness of UIRMiner was tested on several real-world datasets, including American Sign Language (ASLBU), human activity tracking (CONTEXT), and medical records (HEPATITIS). Results demonstrated that the numerical encoding reduced output file sizes by approximately 50%. Furthermore, the utility complement pruning allowed UIRMiner to process millions fewer candidates than non-optimized baselines, leading to linear scalability with dataset size.

Conclusion

UIRMiner represents the first comprehensive approach to mining high-utility rules from interval-event sequences. By shifting the focus from frequency to duration-based utility and optimizing the representation of temporal logic, it provides a powerful tool for complex sequence analysis. Future work will focus on target-oriented rule mining and adapting the algorithm for real-time data streams.

Summary updated

BibTeX
@misc{zhang2023discovering,
  author = {Chunkai Zhang and Maohua Lyu and Huaijin Hao and Wensheng Gan and Philip S. Yu},
  title = {{Discovering Utility-driven Interval Rules}},
  year = {2023},
  eprint = {2309.16102},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.16102},
}
Figure