arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.12799cs.LGcs.AIcs.CV
收藏

将时间序列视为图像:用于不规则采样时间序列的 Vision Transformer

Time Series as Images: Vision Transformer for Irregularly Sampled Time Series

University of California, Santa Barbara(加州大学圣塔芭芭拉分校)

Zekun Li, Shiyang Li, Xifeng Yan

AI总结:

本文将不规则采样时间序列转换为折线图图像,并用预训练 vision transformer 分类,以简单通用框架在多个数据集上超越专门方法,并在传感器缺失场景中展现强鲁棒性。

摘要:

不规则采样的时间序列正变得越来越普遍,尤其是在医疗领域。尽管人们已经开发了各种专门方法来处理这些不规则性,但如何有效建模其复杂动态和显著稀疏性仍然是一项挑战。本文提出了一种新颖视角:将不规则采样的时间序列转换为折线图图像,随后像进行图像分类一样,利用强大的预训练 vision transformer 完成时间序列分类。该方法不仅大幅简化了专门的算法设计,还展现出作为时间序列建模通用框架的潜力。值得注意的是,尽管方法简单,我们的方案在多个常用医疗保健和人类活动数据集上优于最先进的专门算法。特别是在严格的 leave-sensors-out 设置下,测试时会省略一部分变量;我们的方法对不同程度的观测缺失表现出很强的鲁棒性,即使一半变量被掩蔽,相比领先的专门基线仍取得了绝对 F1 分数 42.8 个百分点的显著提升。代码和数据可在 https://github.com/Leezekun/ViTST 获取。

英文摘要:

Irregularly sampled time series are increasingly prevalent, particularly in medical domains. While various specialized methods have been developed to handle these irregularities, effectively modeling their complex dynamics and pronounced sparsity remains a challenge. This paper introduces a novel perspective by converting irregularly sampled time series into line graph images, then utilizing powerful pre-trained vision transformers for time series classification in the same way as image classification. This method not only largely simplifies specialized algorithm designs but also presents the potential to serve as a universal framework for time series modeling. Remarkably, despite its simplicity, our approach outperforms state-of-the-art specialized algorithms on several popular healthcare and human activity datasets. Especially in the rigorous leave-sensors-out setting where a portion of variables is omitted during testing, our method exhibits strong robustness against varying degrees of missing observations, achieving an impressive improvement of 42.8% in absolute F1 score points over leading specialized baselines even with half the variables masked. Code and data are available at https://github.com/Leezekun/ViTST

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑