ElasTST: Towards Robust Varied-Horizon Forecasting with Elastic Time-Series Transformer

Jiawen Zhang, Shun Zheng, Xumeng Wen, Xiaofang Zhou, Jiang Bian +1 more
11/1/2024

No official code found. Best implementation: microsoft/ProbTS (208 stars, MIT, last commit 2026-04-08).

Abstract

Numerous industrial sectors necessitate models capable of providing robust forecasts across various horizons. Despite the recent strides in crafting specific architectures for time-series forecasting and developing pre-trained universal models, a comprehensive examination of their capability in accommodating varied-horizon forecasting during inference is still lacking. This paper bridges this gap through the design and evaluation of the Elastic Time-Series Transformer (ElasTST). The ElasTST model incorporates a non-autoregressive design with placeholders and structured self-attention masks, warranting future outputs that are invariant to adjustments in inference horizons. A tunable version of rotary position embedding is also integrated into ElasTST to capture time-series-specific periods and enhance adaptability to different horizons. Additionally, ElasTST employs a multi-scale patch design, effectively integrating both fine-grained and coarse-grained information. During the training phase, ElasTST uses a horizon reweighting strategy that approximates the effect of random sampling across multiple horizons with a single fixed horizon setting. Through comprehensive experiments and comparisons with state-of-the-art time-series architectures and contemporary foundation models, we demonstrate the efficacy of ElasTST's unique design elements. Our findings position ElasTST as a robust solution for the practical necessity of varied-horizon forecasting.

View on arXivView PDF

Code Implementations(1)

microsoft/ProbTSCommunity100%
MIT

ProbTS is a benchmarking toolkit for time series forecasting.

20827Shell, PythonOct 10, 20236 months agoMIT

Similar Papers

Cite this paper

@article{zhang2024elastst,
  title  = {ElasTST: Towards Robust Varied-Horizon Forecasting with Elastic Time-Series Transformer},
  author = {Jiawen Zhang and Shun Zheng and Xumeng Wen and Xiaofang Zhou and Jiang Bian and Jia Li},
  year   = {2024},
  eprint = {2411.01842},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.01842},
  url    = {https://arxiv.org/abs/2411.01842},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.01842.svg)](https://codeofpaper.com/paper/2411.01842)

Discussion