A Time Series is Worth 64 Words: Long-term Forecasting with Transformers
Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, Jayant Kalagnanam
Abstract
We propose an efficient design of Transformer-based models for multivariate time series forecasting and self-supervised representation learning. It is based on two key components: (i) segmentation of time series into subseries-level patches which are served as input tokens to Transformer; (ii) channel-independence where each channel contains a single univariate time series that shares the same embedding and Transformer weights across all the series. Patching design naturally has three-fold benefit: local semantic information is retained in the embedding; computation and memory usage of the attention maps are quadratically reduced given the same look-back window; and the model can attend longer history. Our channel-independent patch time series Transformer (PatchTST) can improve the long-term forecasting accuracy significantly when compared with that of SOTA Transformer-based models. We also apply our model to self-supervised pre-training tasks and attain excellent fine-tuning performance, which outperforms supervised training on large datasets. Transferring of masked pre-trained representation on one dataset to others also produces SOTA forecasting accuracy. Code is available at: https://github.com/yuqinie98/PatchTST.
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.
504 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
- A decoder-only foundation model for time-series forecasting cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- A decoder-only foundation model for time-series forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- A decoder-only foundation model for time-series forecasting cites One Fits All: Power General Time Series Analysis by Pretrained LM
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- BEiT: BERT Pre-Training of Image Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Time-LLM: Time Series Forecasting by Reprogramming Large Language Models cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- Time-LLM: Time Series Forecasting by Reprogramming Large Language Models cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- Time-LLM: Time Series Forecasting by Reprogramming Large Language Models cites One Fits All: Power General Time Series Analysis by Pretrained LM
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- One Fits All: Power General Time Series Analysis by Pretrained LM cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- One Fits All: Power General Time Series Analysis by Pretrained LM cites BEiT: BERT Pre-Training of Image Transformers
- One Fits All: Power General Time Series Analysis by Pretrained LM cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- One Fits All: Power General Time Series Analysis by Pretrained LM cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- TimeMixer: Decomposable Multiscale Mixing for Time Series Forecasting cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
Cited by top-tier papers504
- iTransformer: Inverted Transformers Are Effective for Time Series ForecastingYong Liu, Tengge Hu, Haoran Zhang, Haixu Wu et al.ICLR 2024 · 1,703 citations
- One Fits All: Power General Time Series Analysis by Pretrained LMTian Zhou, Peisong Niu, Xue Wang, Liang Sun et al.NeurIPS 2023 · 1,178 citations
- Time-LLM: Time Series Forecasting by Reprogramming Large Language ModelsMing Jin, Shiyu Wang, Lintao Ma, Zhixuan Chu et al.ICLR 2024 · 915 citations
- A decoder-only foundation model for time-series forecastingAbhimanyu Das, Weihao Kong, Rajat Sen, Yichen ZhouICML 2024 · 601 citations
- TimeMixer: Decomposable Multiscale Mixing for Time Series ForecastingShiyu Wang, Haixu Wu, Xiaoming Shi, Tengge Hu et al.ICLR 2024 · 573 citations
Builds on17
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 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
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series ForecastingHaixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng LongNeurIPS 2021 · 5,824 citations
- BEiT: BERT Pre-Training of Image TransformersHangbo Bao, Li Dong, Songhao Piao, Furu WeiICLR 2022 · 3,632 citations
Related papers
- TSMixer: Lightweight MLP-Mixer Model for Multivariate Time Series ForecastingVijay Ekambaram, Arindam Jati, Nam Nguyen, Phanwadee Sinthong et al.KDD 2023 · 221 citations
- Unlocking the Power of Patch: Patch-Based MLP for Long-Term Time Series ForecastingPeiwang Tang, Weitai ZhangAAAI 2025 · 42 citations
- Learning to Embed Time Series Patches IndependentlySeunghan Lee, Taeyoung Park, Kibok LeeICLR 2024 · 57 citations
- A Transformer-based Framework for Multivariate Time Series Representation LearningGeorge Zerveas, Srideepika Jayaraman, Dhaval Patel, Anuradha Bhamidipaty et al.KDD 2021 · 66 citations
- Multi-Patch Prediction: Adapting Language Models for Time Series Representation LearningYuxuan Bian, Xuan Ju, Jiangtong Li, Zhijian Xu et al.ICML 2024 · 13 citations
