Efficient Temporal Pattern Mining in Big Time Series Using Mutual Information

Van Long Ho, Nguyen Ho, Torben Bach Pedersen · DOI

Introduction

The proliferation of IoT devices—from smart meters to GPS trackers—has generated a deluge of time-series data. While traditional sequential pattern mining identifies simple orderings (e.g., Event A follows Event B), it fails to capture the complex temporal nuances inherent in real-world processes. Temporal Pattern Mining (TPM) addresses this by identifying relationships such as containment and overlap. However, the computational complexity of TPM is significant, often scaling exponentially with pattern length.

The Challenge of Temporal Pattern Mining

TPM is computationally expensive because the search space grows at a rate of $O(m^h 3^{h^2})$, where $m$ is the number of event types and $h$ is the pattern length. Existing methods often struggle with scalability or require labor-intensive manual preprocessing. To bridge this gap, the authors introduce FTPMfTS, an end-to-end framework designed for efficient temporal pattern discovery in large-scale datasets.

Definitions of temporal relations: Follows, Contains, and Overlaps.

As illustrated above, temporal relations extend beyond simple sequences to include "Contains" and "Overlaps," providing a much richer description of event interactions than standard sequential mining.

The FTPMfTS Framework

The proposed framework operates in two primary phases: Data Transformation and Hierarchical Mining.

Phase 1: Data Transformation

Raw univariate time series are first converted into a symbolic database using techniques like Symbolic Aggregate Approximation (SAX). This symbolic data is then structured into a temporal sequence database. To prevent the loss of patterns that might span across window boundaries, the framework employs an overlapping splitting strategy.

Overlapping splitting strategy to preserve temporal patterns across windows.

Phase 2: Hierarchical Temporal Pattern Graph Mining (HTPGM)

The core of the framework is the HTPGM algorithm, which exists in two versions:

  1. Exact Version (E-HTPGM): This version uses bitmap indexing for rapid support and confidence calculations. It leverages the transitivity of temporal relations to prune the search space effectively.
  2. Approximate Version (A-HTPGM): This version introduces a novel pruning strategy based on Mutual Information (MI). By calculating the MI between time series—a relatively inexpensive operation—the algorithm can predict the likelihood of finding high-confidence patterns and prune uncorrelated series before performing expensive graph traversals.

Key Insights and Performance

The framework's efficiency stems from several innovations:

  • Confidence-Based Pruning: Extending the Apriori principle to confidence allows for the early removal of low-probability event pairs.
  • The MI Shortcut: Mutual Information serves as a proxy for pattern likelihood, significantly reducing the number of required graph traversals.
  • Transitivity Pruning: Logical constraints between temporal relations are used to identify and eliminate impossible pattern branches.

In stress tests across domains such as smart energy (UKDALE, DataPort), smart cities (NYC collision data), and sign language (ASL), FTPMfTS demonstrated remarkable performance. The exact algorithm (E-HTPGM) outperformed baselines by up to 23x, while the approximate version (A-HTPGM) achieved speedups of up to 100x on large datasets while maintaining 95-100% accuracy.

Conclusion

FTPMfTS represents a significant step forward in making complex temporal pattern mining viable for "Big Data" applications. By integrating information-theoretic pruning with hierarchical graph mining, the framework achieves high scalability and efficiency. Future work will focus on refining pruning to the event level and exploring multi-scale temporal relations.

Summary updated

BibTeX
@article{ho2021efficient,
  author = {Van Long Ho and Nguyen Ho and Torben Bach Pedersen},
  title = {{Efficient Temporal Pattern Mining in Big Time Series Using Mutual Information}},
  journal = {Proc. VLDB Endow.},
  year = {2021},
  doi = {10.14778/3494124.3494147},
}
Figure