Skip to main content
QUICK REVIEW

[Paper Review] Encoding Temporal Markov Dynamics in Graph for Visualizing and Mining Time Series

Lu Liu, Zhiguang Wang|arXiv (Cornell University)|Oct 24, 2016
Data Visualization and AnalyticsComputer Science15 citations
TL;DR

This paper proposes a novel method to visualize and mine time series by encoding them as complex networks using first-order Markov dynamics, preserving temporal ordering and frequency structures. The approach enables intuitive visual analytics with exact inverse mapping, improving pattern discovery and classification accuracy on real and synthetic sensor data.

ABSTRACT

Time series and signals are attracting more attention across statistics, machine learning and pattern recognition as it appears widely in the industry especially in sensor and IoT related research and applications, but few advances has been achieved in effective time series visual analytics and interaction due to its temporal dimensionality and complex dynamics. Inspired by recent effort on using network metrics to characterize time series for classification, we present an approach to visualize time series as complex networks based on the first order Markov process in its temporal ordering. In contrast to the classical bar charts, line plots and other statistics based graph, our approach delivers more intuitive visualization that better preserves both the temporal dependency and frequency structures. It provides a natural inverse operation to map the graph back to raw signals, making it possible to use graph statistics to characterize time series for better visual exploration and statistical analysis. Our experimental results suggest the effectiveness on various tasks such as pattern discovery and classification on both synthetic and the real time series and sensor data.

Motivation & Objective

  • Address the challenge of visualizing complex, high-dimensional time series data from sensors and IoT devices.
  • Overcome limitations of traditional visualizations (e.g., line plots, pixel plots) in capturing temporal dependencies and dynamics.
  • Develop a graph-based representation of time series that preserves both temporal ordering and statistical structure.
  • Enable interpretable visual analytics by ensuring the transformation from time series to graph has a natural inverse operation.
  • Demonstrate the utility of graph statistics for downstream tasks such as classification, anomaly detection, and pattern discovery.

Proposed method

  • Quantize time series values into Q quantile bins to discretize the signal for Markov modeling.
  • Construct a first-order Markov transition matrix W by computing transition probabilities between quantized states.
  • Transform the Markov matrix into a Markov Transition Field (MTF) M, preserving temporal dynamics in a 2D grid representation.
  • Apply spatial downsampling (e.g., 2×2 average pooling) to reduce MTF resolution while retaining key structural features.
  • Map the MTF to a complex network by treating each cell as a node and connecting nodes based on proximity and transition probabilities.
  • Use network statistics (e.g., modularity, degree, clustering coefficient, path length) for visual exploration and feature extraction.

Experimental results

Research questions

  • RQ1Can Markov transition dynamics be effectively encoded into a graph structure that preserves temporal and frequency information in time series?
  • RQ2Does the proposed graph representation enable more intuitive visual exploration of complex time series patterns compared to traditional visualizations?
  • RQ3Can the inverse mapping from graph back to raw time series enhance interpretability and user interaction in visual analytics?
  • RQ4To what extent do network statistics derived from the graph representation improve classification and anomaly detection on real sensor data?
  • RQ5How do topological properties of the network (e.g., modularity, community structure) reflect underlying dynamical regimes in time series?

Key findings

  • The proposed method successfully transforms time series into complex networks that preserve both temporal ordering and frequency structures.
  • Network visualizations reveal distinct topological patterns—e.g., linear vs. round structures—for healthy and unhealthy ECG signals, even when raw signals appear similar.
  • The 1-NN classifier achieves improved accuracy when combining raw data with graph statistics: 0.90 vs. 0.88 on ECG, 0.996 vs. 0.995 on Wafer, and 0.932 vs. 0.913 on Gun-Point.
  • Statistical network features such as average degree, weighted degree, density, and modularity show significant differences between positive and negative labels in paired t-tests.
  • The network representation effectively captures structural differences in time series with similar raw shapes—e.g., Gun-draw and Point patterns show 7 vs. 3 distinct communities, respectively.
  • The inverse mapping capability allows users to explore graph patterns and trace them back to specific temporal-spatial patterns in the original signal, enhancing interpretability.

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.