Papers
Topics
Authors
Recent
Search
2000 character limit reached

Distributed Seasonal Temporal Pattern Mining

Updated 22 November 2025
  • DSTPM is a distributed framework that efficiently mines frequent seasonal temporal patterns from large time series datasets characterized by periodic or bursty events.
  • It introduces novel seasonality-sensitive support measures and memory-efficient data structures to overcome the limitations of traditional frequent pattern mining approaches.
  • Empirical evaluations demonstrate 4–5Ɨ runtime reductions and near-linear scalability across clusters, highlighting its practical impact on high-volume time series analytics.

Distributed Seasonal Temporal Pattern Mining (DSTPM) is the first distributed framework for mining frequent seasonal temporal patterns (STPs) from massive time series datasets. STPs are temporally ordered patterns characterized by periodic or bursty re-occurrence, as seen across domains such as IoT sensor flows and epidemiological surveillance. Classic frequent pattern mining approaches are unsuitable for STPs, as measures like support and confidence cannot distinguish uniform from seasonal clustering, and anti-monotonicity does not hold. DSTPM introduces new formal definitions, memory-efficient distributed data structures, and theoretically sound pruning routines, providing significant efficiency and scalability gains over sequential baselines (Ho-Long et al., 15 Nov 2025).

1. Formal Framework and Problem Definitions

A time series TT over a domain T\mathcal T with granularity GG is modeled as a sequence T=x1,x2,…,xNT = x_1, x_2, \dots, x_N, xi∈ΣTx_i \in \Sigma_T, where Ī£T\Sigma_T is a finite alphabet. Each symbol ω\omega forms a temporal event E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\}) marking instances where TT equals ω\omega over interval T\mathcal T0.

Temporal patterns are formalized using Allen’s interval relations T\mathcal T1 (follows, contains, overlaps). A pattern T\mathcal T2 of length T\mathcal T3 is defined as: T\mathcal T4

Classical support, T\mathcal T5, quantifies occurrence frequency, but fails to distinguish concentrated, periodic (seasonal) occurrences from uniform ones. Additionally, anti-monotonicity—if T\mathcal T6 is infrequent then super-patterns of T\mathcal T7 are infrequent—does not hold for seasonal counts due to situations where subsets may have fewer detected seasons than supersets.

DSTPM defines a novel, seasonality-sensitive support:

  • The support set T\mathcal T8 is the granular timestamps with occurrences of T\mathcal T9.
  • A near-support set GG0 is a maximal contiguous subsequence of granules where inter-gap does not exceed a threshold GG1.
  • A season is a near-support set with density at least GG2.
  • For GG3 to be frequent seasonal: GG4, and inter-season intervals respect GG5.

To permit effective pruning, DSTPM proposes the anti-monotonic proxy: GG6 ensuring GG7 for GG8, so one can prune GG9 if T=x1,x2,…,xNT = x_1, x_2, \dots, x_N0.

2. Distributed Architecture and Data Partitioning

DSTPM operates atop Spark or other MapReduce engines over a cluster of T=x1,x2,…,xNT = x_1, x_2, \dots, x_N1 worker nodes. The input temporal sequence database T=x1,x2,…,xNT = x_1, x_2, \dots, x_N2 is partitioned by time-granule or event-symbol so that each worker stores a disjoint fragment of data. This enables linear scalability as each node processes only its local partition for candidate generation, support calculation, and pattern verification (Ho-Long et al., 15 Nov 2025).

The core distributed data structure is the Distributed Hierarchical Lookup Hash (T=x1,x2,…,xNT = x_1, x_2, \dots, x_N3), composed for pattern size T=x1,x2,…,xNT = x_1, x_2, \dots, x_N4 as follows:

Table Maps From To
T=x1,x2,…,xNT = x_1, x_2, \dots, x_N5 T=x1,x2,…,xNT = x_1, x_2, \dots, x_N6 T=x1,x2,…,xNT = x_1, x_2, \dots, x_N7
T=x1,x2,…,xNT = x_1, x_2, \dots, x_N8 T=x1,x2,…,xNT = x_1, x_2, \dots, x_N9 Instances of xi∈ΣTx_i \in \Sigma_T0
xi∈ΣTx_i \in \Sigma_T1 xi∈ΣTx_i \in \Sigma_T2 xi∈ΣTx_i \in \Sigma_T3
xi∈ΣTx_i \in \Sigma_T4 Pattern xi∈ΣTx_i \in \Sigma_T5 xi∈ΣTx_i \in \Sigma_T6
xi∈ΣTx_i \in \Sigma_T7 xi∈ΣTx_i \in \Sigma_T8 Relation-supporting instances

For xi∈ΣTx_i \in \Sigma_T9, ΣT\Sigma_T0 reduces to event and granule-instance tables. For ΣT\Sigma_T1, three-level indirection supports both efficient candidate assembly and support set computation.

Each worker maintains only its assigned hash table fragments, reducing overhead and enabling parallel candidate support lookups.

3. Core Algorithms and Pruning Strategies

The DSTPM process operates as follows:

ω\omega0

Single-Event Mining: Each Ī£T\Sigma_T2 record emits its event key; a distributed ReduceByKey operation aggregates all instances and calculates Ī£T\Sigma_T3. Events passing the Ī£T\Sigma_T4 threshold are stored. Survivors are post-filtered on seasonality criteria—a second pass builds near-support sets and filters by density and recurrence.

Pattern Mining (k > 1):

  • Candidates are built via the Cartesian product Ī£T\Sigma_T5, but only retained if their Ī£T\Sigma_T6 proxy meets the minimum.
  • Pattern assembly requires, for each event group, assembling valid relation-sets by joining size-Ī£T\Sigma_T7 frequent patterns with the new event, relying on Ī£T\Sigma_T8 for 2-event relation supports.
  • The support for each candidate Ī£T\Sigma_T9 is computed as an intersection of all ω\omega0.
  • Pruning occurs as soon as the intermediate ω\omega1 drops below ω\omega2, eliminating infeasible super-patterns early.

Insertion, lookups, and pruning within ω\omega3 are designed for constant or ω\omega4 time.

4. Theoretical Foundations and Complexity Analysis

Let ω\omega5 be the total number of granules, ω\omega6 the number of unique event symbols, ω\omega7 the count of candidate ω\omega8-event groups, ω\omega9 the count of frequent E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})0-event patterns, E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})1, and E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})2 the number of workers.

  • Time Complexity:
    • Single-event mining takes E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})3.
    • For E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})4-patterns, each of E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})5 candidates requires:
    • Set-intersection: E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})6
    • E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})7 lookups in E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})8
    • Support evaluation: E=(ω,{[ts,te]})E = (\omega, \{[t_s, t_e]\})9
    • Final complexity across all workers:

    TT0

  • Space Complexity:

    • Per worker TT1
    • Cluster-wide memory is linear in total candidate/support set sizes.
  • Anti-Monotonicity (Pruning):
    • By using the TT2 proxy, downward closure is restored: TT3, so candidates can be eliminated safely.

5. Empirical Evaluation and Scalability

DSTPM has been tested on varied real-world datasets:

  • RE (Renewable Energy): 1,460 granules, 21 sensors, 102 symbols, monthly seasonality.
  • SC (Smart City Traffic): TT4 granules, 30 streams, 150 symbols, daily/weekly seasonality.
  • INF (Influenza): 2,628 daily granules, 6 variables, 32 symbols.

Parameter sweeps included TT5, TT6, and TT7.

DSTPM was evaluated against an adapted sequential PS-growth (APS) baseline that mines itemsets and then assembles relations. Metrics included runtime (s), memory (MB), and speedup (TT8):

Dataset DSTPM (time, mem) APS (time, mem) Speedup
RE 1,526 s, 5,500 MB 6,059 s, 11,595 MB 3.97Ɨ
SC 1,332 s, 3,832 MB 5,501 s, 8,183 MB 4.13Ɨ
INF 1,114 s, 3,210 MB 4,754 s, 7,102 MB 4.27Ɨ

DSTPM demonstrates 4–5Ɨ reduction in runtime and 2.3Ɨ reduction in peak memory on average.

Scalability experiments on synthetic datasets (TT9 granules per series) show nearly linear speedup up to at least 15–20 cluster nodes, with 20 partitions effectively utilizing a 16-node cluster and providing a 12Ɨ runtime reduction over single-node execution.

6. Significance and Impact

DSTPM resolves central bottlenecks in large-scale seasonal temporal pattern mining by introducing a distributed, partitioned, and hash-based infrastructure, along with a mathematically justified, anti-monotonic, prunable seasonality proxy. This allows previously intractable problem sizes to be handled efficiently, both in memory and computation time. The framework supports flexible deployment on commodity MapReduce platforms and can handle the exponential combinatorial explosion typical in temporal pattern mining as dataset size and event vocabulary grow. The empirical demonstration of nearly linear scaling and significant resource reduction suggests broad applicability for domains reliant on high-bandwidth, seasonality-driven time series analytics (Ho-Long et al., 15 Nov 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Distributed Seasonal Temporal Pattern Mining (DSTPM).