Compatible Transformer for Irregularly Sampled Multivariate Time Series

Yuxi Wei, Juntong Peng, Tong He, Chenxin Xu, Jian Zhang +2 more
10/17/2023
cs.LGcs.AI

Official code: Leezekun/ViTST (169 stars, last commit 2023-11-12). 1 more implementation below.

Abstract

To analyze multivariate time series, most previous methods assume regular subsampling of time series, where the interval between adjacent measurements and the number of samples remain unchanged. Practically, data collection systems could produce irregularly sampled time series due to sensor failures and interventions. However, existing methods designed for regularly sampled multivariate time series cannot directly handle irregularity owing to misalignment along both temporal and variate dimensions. To fill this gap, we propose Compatible Transformer (CoFormer), a transformer-based encoder to achieve comprehensive temporal-interaction feature learning for each individual sample in irregular multivariate time series. In CoFormer, we view each sample as a unique variate-time point and leverage intra-variate/inter-variate attentions to learn sample-wise temporal/interaction features based on intra-variate/inter-variate neighbors. With CoFormer as the core, we can analyze irregularly sampled multivariate time series for many downstream tasks, including classification and prediction. We conduct extensive experiments on 3 real-world datasets and validate that the proposed CoFormer significantly and consistently outperforms existing methods.

View on arXivView PDF

Code Implementations(2)

Leezekun/ViTSTOfficial100%

[NeurIPS 2023] The official repo for the paper: "Time Series as Images: Vision Transformer for Irregularly Sampled Time Series"."

16913Shell, PythonFeb 23, 20232 years ago
151PythonOct 8, 20232 years ago

Similar Papers

Cite this paper

@article{wei2023compatible,
  title  = {Compatible Transformer for Irregularly Sampled Multivariate Time Series},
  author = {Yuxi Wei and Juntong Peng and Tong He and Chenxin Xu and Jian Zhang and Shirui Pan and Siheng Chen},
  year   = {2023},
  eprint = {2310.11022},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.11022v1}
}

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

Discussion