One Fits All: Power General Time Series Analysis by Pretrained LM
Tian Zhou, Peisong Niu, Xue Wang, Liang Sun, Rong Jin
Abstract
Although we have witnessed great success of pre-trained models in natural language processing (NLP) and computer vision (CV), limited progress has been made for general time series analysis. Unlike NLP and CV where a unified model can be used to perform different tasks, specially designed approach still dominates in each time series analysis task such as classification, anomaly detection, forecasting, and few-shot learning. The main challenge that blocks the development of pre-trained model for time series analysis is the lack of a large amount of data for training. In this work, we address this challenge by leveraging language or CV models, pre-trained from billions of tokens, for time series analysis. Specifically, we refrain from altering the self-attention and feedforward layers of the residual blocks in the pre-trained language or image model. This model, known as the Frozen Pretrained Transformer (FPT), is evaluated through fine-tuning on all major types of tasks involving time series. Our results demonstrate that pre-trained models on natural language or images can lead to a comparable or state-of-the-art performance in all main time series analysis tasks, as illustrated in Figure 1 . We also found both theoretically and empirically that the self-attention module behaviors similarly to principle component analysis (PCA), an observation that helps explains how transformer bridges the domain gap and a crucial step towards understanding the universality of a pre-trained transformer. The code is publicly available at https://github.com/DAMO-DI-ML/One_Fits_All .
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.
212 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 Large Language Models Are Zero-Shot Time Series Forecasters
- 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
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Language Models are Few-Shot Learners
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
- Unified Training of Universal Time Series Forecasting Transformers cites A decoder-only foundation model for time-series forecasting
- Unified Training of Universal Time Series Forecasting Transformers cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- Unified Training of Universal Time Series Forecasting Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Unified Training of Universal Time Series Forecasting Transformers cites Language Models are Few-Shot Learners
- Unified Training of Universal Time Series Forecasting Transformers cites Large Language Models Are Zero-Shot Time Series Forecasters
- Unified Training of Universal Time Series Forecasting Transformers cites Time-LLM: Time Series Forecasting by Reprogramming Large Language Models
- TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous Variables cites A decoder-only foundation model for time-series forecasting
- TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous Variables cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous Variables cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous Variables cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Large Language Models Are Zero-Shot Time Series Forecasters cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- Large Language Models Are Zero-Shot Time Series Forecasters cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- Large Language Models Are Zero-Shot Time Series Forecasters cites Language Models are Few-Shot Learners
- 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 Language Models are Few-Shot Learners
- Time-LLM: Time Series Forecasting by Reprogramming Large Language Models cites Large Language Models Are Zero-Shot Time Series Forecasters
- Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Cited by top-tier papers212
- Time-LLM: Time Series Forecasting by Reprogramming Large Language ModelsMing Jin, Shiyu Wang, Lintao Ma, Zhixuan Chu et al.ICLR 2024 · 915 citations
- Large Language Models Are Zero-Shot Time Series ForecastersNate Gruver, Marc Finzi, Shikai Qiu, Andrew Gordon WilsonNeurIPS 2023 · 898 citations
- A decoder-only foundation model for time-series forecastingAbhimanyu Das, Weihao Kong, Rajat Sen, Yichen ZhouICML 2024 · 601 citations
- TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous VariablesYuxuan Wang, Haixu Wu, Jiaxiang Dong, Guo Qin et al.NeurIPS 2024 · 536 citations
- Unified Training of Universal Time Series Forecasting TransformersGerald Woo, Chenghao Liu, Akshat Kumar, Caiming Xiong et al.ICML 2024 · 513 citations
Builds on25
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- 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
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 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
Related papers
- Frozen Pretrained Transformers as Universal Computation EnginesKevin Lu, Aditya Grover, Pieter Abbeel, Igor MordatchAAAI 2022 · 133 citations
- Large Pre-trained time series models for cross-domain Time series analysis tasksHarshavardhan Kamarthi, B. Aditya PrakashNeurIPS 2024 · 40 citations
- Timer: Generative Pre-trained Transformers Are Large Time Series ModelsYong Liu, Haoran Zhang, Chenyu Li, Xiangdong Huang et al.ICML 2024 · 188 citations
- From Tokenizer Bias to Backbone Capability: A Controlled Study of LLMs for Time Series ForecastingXinyu Zhang, Shanshan Feng, Xutao Li, Kenghong Lin et al.KDD 2026 · 2 citations
- UniTS: A Unified Multi-Task Time Series ModelShanghua Gao, Teddy Koker, Owen Queen, Tom Hartvigsen et al.NeurIPS 2024 · 159 citations
