Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TS2Vec: Towards Universal Representation of Time Series

About

This paper presents TS2Vec, a universal framework for learning representations of time series in an arbitrary semantic level. Unlike existing methods, TS2Vec performs contrastive learning in a hierarchical way over augmented context views, which enables a robust contextual representation for each timestamp. Furthermore, to obtain the representation of an arbitrary sub-sequence in the time series, we can apply a simple aggregation over the representations of corresponding timestamps. We conduct extensive experiments on time series classification tasks to evaluate the quality of time series representations. As a result, TS2Vec achieves significant improvement over existing SOTAs of unsupervised time series representation on 125 UCR datasets and 29 UEA datasets. The learned timestamp-level representations also achieve superior results in time series forecasting and anomaly detection tasks. A linear regression trained on top of the learned representations outperforms previous SOTAs of time series forecasting. Furthermore, we present a simple way to apply the learned representations for unsupervised anomaly detection, which establishes SOTA results in the literature. The source code is publicly available at https://github.com/yuezhihan/ts2vec.

Zhihan Yue, Yujing Wang, Juanyong Duan, Tianmeng Yang, Congrui Huang, Yunhai Tong, Bixiong Xu• 2021

Related benchmarks

TaskDatasetResultRank
Multivariate ForecastingETTh1
MSE0.599
909
Time Series ForecastingETTh1
MSE0.04
869
Multivariate Time-series ForecastingETTm1
MSE0.443
742
Multivariate Time-series ForecastingETTm2
MSE0.79
593
Multivariate long-term forecastingETTh1
MSE0.897
509
Time Series ForecastingETTh1 (test)
MSE0.599
482
Multivariate long-term series forecastingETTh2
MSE1.972
470
Multivariate Time-series ForecastingWeather
MSE0.29
466
Multivariate long-term series forecastingWeather
MSE0.516
434
Multivariate long-term series forecastingETTm1
MSE0.669
404
Showing 10 of 228 rows
...

Other info

Follow for update