FormerTime: Hierarchical Multi-Scale Representations for Multivariate Time Series Classification

Mingyue Cheng, Qi Liu, Zhiding Liu, Zhi Li, Yucong Luo +1 more
2/20/2023
cs.LGcs.AI

No official code found. Best implementation: ustc-time-series/FormerTime (29 stars, last commit 2024-11-06).

Abstract

Deep learning-based algorithms, e.g., convolutional networks, have significantly facilitated multivariate time series classification (MTSC) task. Nevertheless, they suffer from the limitation in modeling long-range dependence due to the nature of convolution operations. Recent advancements have shown the potential of transformers to capture long-range dependence. However, it would incur severe issues, such as fixed scale representations, temporal-invariant and quadratic time complexity, with transformers directly applicable to the MTSC task because of the distinct properties of time series data. To tackle these issues, we propose FormerTime, an hierarchical representation model for improving the classification capacity for the MTSC task. In the proposed FormerTime, we employ a hierarchical network architecture to perform multi-scale feature maps. Besides, a novel transformer encoder is further designed, in which an efficient temporal reduction attention layer and a well-informed contextual positional encoding generating strategy are developed. To sum up, FormerTime exhibits three aspects of merits: (1) learning hierarchical multi-scale representations from time series data, (2) inheriting the strength of both transformers and convolutional networks, and (3) tacking the efficiency challenges incurred by the self-attention mechanism. Extensive experiments performed on $10$ publicly available datasets from UEA archive verify the superiorities of the FormerTime compared to previous competitive baselines.

View on arXivView PDF

Code Implementations(1)

293Shell, Python1 years ago

Similar Papers

Cite this paper

@article{cheng2023formertime,
  title  = {FormerTime: Hierarchical Multi-Scale Representations for Multivariate Time Series Classification},
  author = {Mingyue Cheng and Qi Liu and Zhiding Liu and Zhi Li and Yucong Luo and Enhong Chen},
  year   = {2023},
  eprint = {2302.09818},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.09818v1}
}

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/2302.09818.svg)](https://codeofpaper.com/paper/2302.09818)

Discussion