Skip to main content
QUICK REVIEW

[Paper Review] Spatially Encoding Temporal Correlations to Classify Temporal Data Using Convolutional Neural Networks

Zhiguang Wang, Tim Oates|arXiv (Cornell University)|Sep 24, 2015
Time Series Analysis and ForecastingComputer Science29 references38 citations
TL;DR

This paper proposes a novel method to classify temporal data by spatially encoding time series into Gramian Angular Fields (GAF) and Markov Transition Fields (MTF), enabling the use of convolutional neural networks (CNNs) for feature learning and classification. The approach achieves competitive performance on 12 time series and 2 trajectory datasets, with GAF-MTF fusion outperforming baseline methods on key benchmarks.

ABSTRACT

We propose an off-line approach to explicitly encode temporal patterns spatially as different types of images, namely, Gramian Angular Fields and Markov Transition Fields. This enables the use of techniques from computer vision for feature learning and classification. We used Tiled Convolutional Neural Networks to learn high-level features from individual GAF, MTF, and GAF-MTF images on 12 benchmark time series datasets and two real spatial-temporal trajectory datasets. The classification results of our approach are competitive with state-of-the-art approaches on both types of data. An analysis of the features and weights learned by the CNNs explains why the approach works.

Motivation & Objective

  • To address the challenge of learning complex temporal correlations in time series and trajectory data using deep learning.
  • To explore whether spatial encoding of temporal patterns enables effective feature learning through computer vision techniques.
  • To evaluate the performance of CNNs on GAF and MTF representations for classification tasks on diverse temporal datasets.
  • To analyze the learned features and weights to understand why the method works well.
  • To provide a generalizable framework for temporal data classification that avoids hand-crafted feature engineering.

Proposed method

  • Transform univariate time series into Gramian Angular Fields (GAF) by encoding pairwise angular differences into a 2D image representation.
  • Generate Markov Transition Fields (MTF) by modeling state transitions in time series as transition probability matrices mapped to images.
  • Combine GAF and MTF into a multi-channel image input (GAF-MTF) to preserve complementary temporal and transition-based patterns.
  • Apply Tiled Convolutional Neural Networks (Tiled CNNs) with unsupervised pretraining via Topographic ICA to learn hierarchical features from the image representations.
  • Use a 3-sigma lower bound on cross-validated SVM performance to select robust hyperparameters, minimizing variance and bias.
  • Train and evaluate the model on 12 time series datasets and 2 real-world trajectory datasets to assess classification accuracy and generalization.

Experimental results

Research questions

  • RQ1Can spatial encoding of temporal correlations via GAF and MTF improve classification performance using CNNs?
  • RQ2How do GAF and MTF representations compare to traditional hand-crafted features in capturing temporal structure?
  • RQ3What role do high-level features learned by Tiled CNNs play in distinguishing temporal patterns?
  • RQ4Does combining GAF and MTF into a multi-channel image (GAF-MTF) enhance classification performance compared to individual representations?
  • RQ5How does the method perform on trajectory data where spatial and temporal dynamics coexist?

Key findings

  • The GAF-MTF fusion representation achieved 72.2% accuracy on the Animal Tracking dataset, outperforming the TB-Only method (50%) and approaching the RB-TB method (83.3%).
  • On the Hurricane dataset, the GAF-MTF approach reached 71.42% accuracy, outperforming the TB-Only method (65.4%) and matching the performance of the RB-TB method (73.1%).
  • The method demonstrated competitive performance with state-of-the-art approaches despite limited hyperparameter search, indicating robustness and scalability.
  • Analysis of learned features revealed that Tiled CNNs function similarly to multi-frequency moving averages, effectively capturing 2D temporal dependencies preserved in the Gramian matrix.
  • Direction-based features were well captured by GAF due to its encoding of pairwise angular relationships, making it effective for trajectory data with strong directional patterns.
  • CNNs struggled to preserve region-based information when spatial proximity was disrupted by Space-Filling Curve (SFC) indexing, indicating limitations in handling large spatial shifts in the time series representation.

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.