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

Timer-XL: Long-Context Transformers for Unified Time Series Forecasting

About

We present Timer-XL, a causal Transformer for unified time series forecasting. To uniformly predict multidimensional time series, we generalize next token prediction, predominantly adopted for 1D token sequences, to multivariate next token prediction. The paradigm formulates various forecasting tasks as a long-context prediction problem. We opt for decoder-only Transformers that capture causal dependencies from varying-length contexts for unified forecasting, making predictions on non-stationary univariate time series, multivariate series with complicated dynamics and correlations, as well as covariate-informed contexts that include exogenous variables. Technically, we propose a universal TimeAttention to capture fine-grained intra- and inter-series dependencies of flattened time series tokens (patches), which is further enhanced by deft position embedding for temporal causality and variable equivalence. Timer-XL achieves state-of-the-art performance across task-specific forecasting benchmarks through a unified approach. Based on large-scale pre-training, Timer-XL achieves state-of-the-art zero-shot performance, making it a promising architecture for pre-trained time series models. Code is available at this repository: https://github.com/thuml/Timer-XL.

Yong Liu, Guo Qin, Xiangdong Huang, Jianmin Wang, Mingsheng Long• 2024

Related benchmarks

TaskDatasetResultRank
Time Series ForecastingETTh1--
729
Multivariate ForecastingETTh1
MSE0.409
686
Time Series ForecastingETTh2--
561
Multivariate Time-series ForecastingETTm1
MSE0.359
466
Time Series ForecastingETTm2--
382
Anomaly DetectionSMD
F1 Score84.96
359
Multivariate ForecastingETTh2
MSE0.352
350
Time Series ForecastingETTh1 (test)
MSE0.364
348
Time Series ForecastingETTm1 (test)
MSE0.359
278
Time Series ForecastingTraffic (test)
MSE0.374
251
Showing 10 of 87 rows
...

Other info

Follow for update