Skip to main content
QUICK REVIEW

[Paper Review] Anomaly detection and motif discovery in symbolic representations of time series

Fabio Guigou, Pierre Collet|arXiv (Cornell University)|Jan 1, 2017
Time Series Analysis and ForecastingComputer Science14 references2 citations
TL;DR

This paper proposes and evaluates anomaly detection and motif discovery algorithms using Symbolic Aggregate approXimation (SAX) for time series, demonstrating that while SAX-based methods are effective for post-mortem analysis, their high latency due to downsampling and sliding window processing limits real-time applicability. Sequitur and Chaos Game show strong detection performance but face trade-offs in sensitivity to cyclic patterns or long look-ahead requirements.

ABSTRACT

The advent of the Big Data hype and the consistent recollection of event logs and real-time data from sensors, monitoring software and machine configuration has generated a huge amount of time-varying data in about every sector of the industry. Rule-based processing of such data has ceased to be relevant in many scenarios where anomaly detection and pattern mining have to be entirely accomplished by the machine. Since the early 2000s, the de-facto standard for representing time series has been the Symbolic Aggregate approXimation (SAX).In this document, we present a few algorithms using this representation for anomaly detection and motif discovery, also known as pattern mining, in such data. We propose a benchmark of anomaly detection algorithms using data from Cloud monitoring software.

Motivation & Objective

  • To address the challenge of detecting anomalies and discovering recurring patterns in large-scale time series data from industrial monitoring systems.
  • To evaluate the effectiveness of symbolic representations, particularly SAX, for anomaly detection and motif discovery in real-world network and system monitoring data.
  • To benchmark multiple algorithms (Hot SAX, Sequitur, Chaos Game) on real Cloud monitoring data to identify strengths, weaknesses, and deployment constraints.
  • To assess the feasibility of using symbolic representations for real-time anomaly detection in production environments with strict latency and accuracy requirements.

Proposed method

  • Applies the Symbolic Aggregate approXimation (SAX) representation to convert continuous time series into discrete symbolic strings, reducing dimensionality and enabling string-based pattern mining.
  • Employs Hot SAX for anomaly detection by identifying rare SAX words that deviate from the baseline distribution of symbolic patterns.
  • Uses the Sequitur algorithm to detect anomalies based on the compressibility of symbolic sequences, flagging low-complexity patterns as potential anomalies.
  • Implements the Chaos Game Representation (CGR) to detect anomalies by modeling time series as trajectories in a geometric space, sensitive to deviations in structure.
  • Evaluates motif discovery using Minimal Description Length (MDL), grammar inference, and the MK algorithm to identify recurring patterns in symbolic sequences.
  • Conducts a comparative benchmark on real Cloud monitoring data, measuring detection accuracy, runtime, and sensitivity to periodic and cyclic behaviors.

Experimental results

Research questions

  • RQ1How effective are SAX-based anomaly detection algorithms in identifying real-world anomalies in system monitoring data?
  • RQ2What are the trade-offs between detection accuracy, computational cost, and latency in SAX-based anomaly detection methods?
  • RQ3How do different symbolic representation-based algorithms (e.g., Hot SAX, Sequitur, Chaos Game) perform on time series with periodic, cyclic, or structural changes?
  • RQ4To what extent can symbolic representations support real-time anomaly detection, given the inherent delays from downsampling and windowing?
  • RQ5Can hybrid approaches combining symbolic and raw data processing improve detection speed and accuracy in time series monitoring?

Key findings

  • Sequitur demonstrated the best performance in terms of detection speed and sensitivity to anomalies, particularly those that increase complexity, but failed to detect anomalies that simplified the pattern, such as sustained 100% CPU load.
  • Chaos Game Representation provided high-precision anomaly detection with predictable runtime but required a long look-ahead window (at least twice the feature window), leading to unacceptable delays for real-time detection.
  • Hot SAX was highly accurate for detecting rare symbolic patterns but had high computational cost and was unsuitable for real-time use due to its CPU demands.
  • All SAX-based algorithms struggled with detecting anomalies in weekly or periodic patterns, especially when the baseline behavior itself was cyclic, leading to false positives or missed detections.
  • The study concluded that symbolic representations like SAX are effective for post-mortem analysis but are largely unsuitable for real-time anomaly detection due to inherent delays from downsampling and windowing.
  • A hybrid approach combining symbolic representation for long-term pattern analysis with real-time processing of raw or quantized data was suggested as a viable path forward to reduce detection latency.

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.