Timer: Generative Pre-trained Transformers Are Large Time Series Models
About
Deep learning has contributed remarkably to the advancement of time series analysis. Still, deep models can encounter performance bottlenecks in real-world data-scarce scenarios, which can be concealed due to the performance saturation with small models on current benchmarks. Meanwhile, large models have demonstrated great powers in these scenarios through large-scale pre-training. Continuous progress has been achieved with the emergence of large language models, exhibiting unprecedented abilities such as few-shot generalization, scalability, and task generality, which are however absent in small deep models. To change the status quo of training scenario-specific small models from scratch, this paper aims at the early development of large time series models (LTSM). During pre-training, we curate large-scale datasets with up to 1 billion time points, unify heterogeneous time series into single-series sequence (S3) format, and develop the GPT-style architecture toward LTSMs. To meet diverse application needs, we convert forecasting, imputation, and anomaly detection of time series into a unified generative task. The outcome of this study is a Time Series Transformer (Timer), which is generative pre-trained by next token prediction and adapted to various downstream tasks with promising capabilities as an LTSM. Code and datasets are available at: https://github.com/thuml/Large-Time-Series-Model.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Time Series Forecasting | ETTh1 | MSE0.451 | 601 | |
| Time Series Forecasting | ETTh2 | MSE0.366 | 438 | |
| Time Series Forecasting | ETTm2 | MSE0.36 | 382 | |
| Time Series Forecasting | ETTm1 | MSE0.544 | 334 | |
| Time Series Forecasting | Weather | MSE0.292 | 223 | |
| Time Series Forecasting | Electricity | MSE0.297 | 161 | |
| Time Series Forecasting | Traffic | MSE0.613 | 145 | |
| Deterministic forecasting | Solar TSFM-Bench | MSE0.771 | 21 | |
| Deterministic forecasting | ETT Avg TSFM-Bench | MSE0.551 | 21 | |
| Deterministic forecasting | Weather TSFM-Bench | MSE0.292 | 20 |