Timer-XL: Long-Context Transformers for Unified Time Series Forecasting
<|reference_start|>Timer-XL: Long-Context Transformers for Unified Time Series Forecasting: We present Timer-XL, a generative Transformer for unified time series forecasting. To uniformly predict 1D and 2D time series, we generalize next token prediction, predominantly adopted for causal generation of 1D sequences, to multivariate next token prediction. The proposed paradigm uniformly formulates various forecasting scenarios as a long-context generation problem. We opt for the generative Transformer, which can capture global-range and causal dependencies while providing contextual flexibility, to implement unified forecasting on univariate series characterized by non-stationarity, multivariate time series with complicated dynamics and correlations, and covariate-informed contexts that include both endogenous and exogenous variables. Technically, we propose a universal TimeAttention to facilitate generative Transformers on time series, which can effectively capture fine-grained intra- and inter-series dependencies of flattened time series tokens (patches) and is further strengthened by position embeddings in both temporal and variable dimensions. Timer-XL achieves state-of-the-art performance across challenging forecasting benchmarks through a unified approach. As a large time series model, it demonstrates notable model transferability by large-scale pre-training, as well as contextual flexibility in token lengths, positioning it as a one-for-all forecaster.<|reference_end|>
@article{liu2024timer-xl:,
    title={Timer-XL: Long-Context Transformers for Unified Time Series Forecasting},
    author={Yong Liu, Guo Qin, Xiangdong Huang, Jianmin Wang, Mingsheng Long},
    journal={arXiv preprint arXiv:2410.04803},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.04803},
    primaryClass={cs.LG stat.ML}
}