Towards Similarity-Aware Time-Series Classification

Daochen Zha, Kwei-Herng Lai, Kaixiong Zhou, Xia Hu
1/5/2022
cs.LG
gnn

Official code: daochenzha/SimTSC (84 stars, Python, MIT, last commit 2023-07-21).

Abstract

We study time-series classification (TSC), a fundamental task of time-series data mining. Prior work has approached TSC from two major directions: (1) similarity-based methods that classify time-series based on the nearest neighbors, and (2) deep learning models that directly learn the representations for classification in a data-driven manner.

Show full abstract

Motivated by the different working mechanisms within these two research lines, we aim to connect them in such a way as to jointly model time-series similarities and learn the representations. This is a challenging task because it is unclear how we should efficiently leverage similarity information. To tackle the challenge, we propose Similarity-Aware Time-Series Classification (SimTSC), a conceptually simple and general framework that models similarity information with graph neural networks (GNNs). Specifically, we formulate TSC as a node classification problem in graphs, where the nodes correspond to time-series, and the links correspond to pair-wise similarities. We further design a graph construction strategy and a batch training algorithm with negative sampling to improve training efficiency. We instantiate SimTSC with ResNet as the backbone and Dynamic Time Warping (DTW) as the similarity measure. Extensive experiments on the full UCR datasets and several multivariate datasets demonstrate the effectiveness of incorporating similarity information into deep learning models in both supervised and semi-supervised settings. Our code is available at https://github.com/daochenzha/SimTSC

View on arXivView PDF

Code Implementations(1)

daochenzha/SimTSCOfficial100%
MIT

[SDM 2022] Towards Similarity-Aware Time-Series Classification

8417PythonDec 31, 20213 years agoMIT

Similar Papers

Cite this paper

@article{zha2022towards,
  title  = {Towards Similarity-Aware Time-Series Classification},
  author = {Daochen Zha and Kwei-Herng Lai and Kaixiong Zhou and Xia Hu},
  year   = {2022},
  eprint = {2201.01413},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.01413}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.01413.svg)](https://codeofpaper.com/paper/2201.01413)

Discussion