Skip to main content
QUICK REVIEW

[Paper Review] Efficient Discovery of Variable-length Time Series Motifs with Large Length Range in Million Scale Time Series

Yifeng Gao, Jessica Lin|arXiv (Cornell University)|Feb 13, 2018
Time Series Analysis and ForecastingComputer Science24 references10 citations
TL;DR

This paper proposes HIME, a hierarchical approximate algorithm for efficiently discovering variable-length time series motifs across a wide length range (300–3000) in million-scale time series. By leveraging a symbol table to index variable-length subsequences and using a greedy, hierarchical enumeration strategy, HIME achieves sub-minute execution times—dramatically outperforming state-of-the-art methods that require hours or days for similar tasks.

ABSTRACT

Detecting repeated variable-length patterns, also called variable-length motifs, has received a great amount of attention in recent years. Current state-of-the-art algorithm utilizes fixed-length motif discovery algorithm as a subroutine to enumerate variable-length motifs. As a result, it may take hours or days to execute when enumeration range is large. In this work, we introduce an approximate algorithm called HierarchIcal based Motif Enumeration (HIME) to detect variable-length motifs with a large enumeration range in million-scale time series. We show in the experiments that the scalability of the proposed algorithm is significantly better than that of the state-of-the-art algorithm. Moreover, the motif length range detected by HIME is considerably larger than previous sequence-matching based approximate variable-length motif discovery approach. We demonstrate that HIME can efficiently detect meaningful variable-length motifs in long, real world time series.

Motivation & Objective

  • Address the scalability bottleneck in variable-length motif discovery across large time series, especially when motif length ranges are extensive.
  • Overcome the limitations of fixed-length motif discovery, which cannot detect motifs of varying, unknown lengths in a single run.
  • Enable efficient detection of long, rare, and meaningful motifs that are missed by existing sequence-matching-based approaches due to high noise and length constraints.
  • Provide a practical solution for real-world applications involving million-scale time series, such as power usage, genomics, and bioacoustics.
  • Extend the applicability of motif discovery beyond fixed-length patterns to uncover complex, recurring structures in diverse domains.

Proposed method

  • Use a symbol table to store discretized representations of variable-length time series subsequences, enabling efficient indexing and comparison.
  • Apply a hierarchical enumeration strategy that starts from a minimum motif length and greedily expands to longer motifs based on similarity scores.
  • Leverage piecewise aggregate approximation (PAA) to reduce dimensionality and noise, improving scalability and robustness.
  • Integrate a greedy search mechanism that prioritizes high-density motif candidates, reducing the number of distance computations.
  • Use a sliding window approach to discretize time series into symbolic sequences, followed by symbol table lookups to identify repeated patterns.
  • Apply a query algorithm to retrieve all instances of detected motifs, enabling validation and analysis of motif occurrences.

Experimental results

Research questions

  • RQ1Can an approximate algorithm efficiently discover variable-length motifs across a wide length range (e.g., 300–3000) in million-scale time series?
  • RQ2How does the proposed HIME algorithm compare in scalability and execution time to state-of-the-art fixed-length motif discovery and grammar-based variable-length motif algorithms?
  • RQ3Can HIME detect long, rare, and biologically or behaviorally meaningful motifs that are missed by fixed-length or sequence-matching-based approaches?
  • RQ4To what extent does HIME’s hierarchical, symbol-based approach outperform brute-force or exhaustive enumeration in terms of computational complexity and practical feasibility?
  • RQ5Can HIME uncover previously undetected structural patterns in real-world time series such as DNA sequences, bird vocalizations, and electric power usage?

Key findings

  • HIME detects motifs of lengths ranging from 300 to 3000 in a one-million-length time series in under one minute, demonstrating exceptional scalability.
  • The algorithm discovers long, rare motifs—such as a 10-hour pattern in a freezer power usage dataset and a 22,000-length motif in human Y-chromosome DNA—that are undetectable by fixed-length motif discovery or sequence-matching methods.
  • In a 7.4 million-length electric power usage time series, HIME identifies a rare motif occurring 1 month and 7 days apart, which would be missed in shorter time windows.
  • HIME detects a 1534-point motif (2.5 hours) and a 2791-point motif (4.6 hours) in a dishwasher power demand series, both of which are missed by fixed-length motif discovery with a 350-point cycle.
  • In bird soundtracks, HIME identifies species-specific patterns such as silent intervals (1.5 sec) and call gaps (0.5 sec), revealing behavioral insights not detectable with fixed-length methods.
  • Compared to grammar induction-based approaches, HIME increases the detectable motif length range by an order of magnitude, enabling discovery of long, noisy, yet highly similar subsequences.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.