TS2Vec: Towards Universal Representation of Time Series
Zhihan Yue, Yujing Wang, Juanyong Duan, Tianmeng Yang, Congrui Huang, Yunhai Tong, Bixiong Xu
Abstract
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 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
156 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- CoST: Contrastive Learning of Disentangled Seasonal-Trend Representations for Time Series Forecasting cites N-BEATS: Neural basis expansion analysis for interpretable time series forecasting
- CoST: Contrastive Learning of Disentangled Seasonal-Trend Representations for Time Series Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistency cites CoST: Contrastive Learning of Disentangled Seasonal-Trend Representations for Time Series Forecasting
- Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistency cites A Simple Framework for Contrastive Learning of Visual Representations
- Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistency cites wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations
- Unified Training of Universal Time Series Forecasting Transformers cites N-BEATS: Neural basis expansion analysis for interpretable time series forecasting
- Unified Training of Universal Time Series Forecasting Transformers cites A Time Series is Worth 64 Words: Long-term Forecasting with Transformers
- SimCSE: Simple Contrastive Learning of Sentence Embeddings cites A Simple Framework for Contrastive Learning of Visual Representations
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations cites A Simple Framework for Contrastive Learning of Visual Representations
- A Time Series is Worth 64 Words: Long-term Forecasting with Transformers cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- A Time Series is Worth 64 Words: Long-term Forecasting with Transformers cites wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations
- MOMENT: A Family of Open Time-series Foundation Models cites N-BEATS: Neural basis expansion analysis for interpretable time series forecasting
- MOMENT: A Family of Open Time-series Foundation Models cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- MOMENT: A Family of Open Time-series Foundation Models cites Unified Training of Universal Time Series Forecasting Transformers
- MOMENT: A Family of Open Time-series Foundation Models cites A Time Series is Worth 64 Words: Long-term Forecasting with Transformers
Cited by top-tier papers156
- Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency ConsistencyXiang Zhang, Ziyuan Zhao, Theodoros Tsiligkaridis, Marinka ZitnikNeurIPS 2022 · 558 citations
- A Time Series is Worth 64 Words: Long-term Forecasting with TransformersYuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, Jayant KalagnanamICLR 2023 · 536 citations
- Unified Training of Universal Time Series Forecasting TransformersGerald Woo, Chenghao Liu, Akshat Kumar, Caiming Xiong et al.ICML 2024 · 513 citations
- CoST: Contrastive Learning of Disentangled Seasonal-Trend Representations for Time Series ForecastingGerald Woo, Chenghao Liu, Doyen Sahoo, Akshat Kumar et al.ICLR 2022 · 468 citations
- MOMENT: A Family of Open Time-series Foundation ModelsMononito Goswami, Konrad Szafer, Arjun Choudhry, Yifu Cai et al.ICML 2024 · 442 citations
Builds on12
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech RepresentationsAlexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, Michael AuliNeurIPS 2020 · 9,451 citations
- Informer: Beyond Efficient Transformer for Long Sequence Time-Series ForecastingHaoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang et al.AAAI 2021 · 7,289 citations
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
- N-BEATS: Neural basis expansion analysis for interpretable time series forecastingBoris N. Oreshkin, Dmitri Carpov, Nicolas Chapados, Yoshua BengioICLR 2020 · 1,550 citations
Related papers
- FreRA: A Frequency-Refined Augmentation for Contrastive Learning on Time Series ClassificationTian Tian, Chunyan Miao, Hangwei QianKDD 2025 · 4 citations
- TimesURL: Self-Supervised Contrastive Learning for Universal Time Series Representation LearningJiexi Liu, Songcan ChenAAAI 2024 · 128 citations
- A Shapelet-based Framework for Unsupervised Multivariate Time Series Representation LearningZhiyu Liang, Jianfeng Zhang, Chen Liang, Hongzhi Wang et al.VLDB 2024 · 19 citations
- Multi-view Self-Supervised Contrastive Learning for Multivariate Time SeriesYuhan Wu, Xiyu Meng, Yang He, Junru Zhang et al.ACM MM 2024 · 5 citations
- MHCCL: Masked Hierarchical Cluster-Wise Contrastive Learning for Multivariate Time SeriesQianwen Meng, Hangwei Qian, Yong Liu, Lizhen Cui et al.AAAI 2023 · 54 citations
