The Power of Architecture: Deep Dive into Transformer Architectures for Long-Term Time Series Forecasting

Lefei Shen, Mouxiang Chen, Han Fu, Xiaoxue Ren, Xiaoyun Joy Wang +3 more
7/17/2025
cs.LG

Official code: HALF111/TSF_architecture (15 stars, last commit 2025-11-12).

Abstract

Transformer-based models have recently become dominant in Long-term Time Series Forecasting (LTSF), yet the variations in their architecture, such as encoder-only, encoder-decoder, and decoder-only designs, raise a crucial question: What Transformer architecture works best for LTSF tasks? However, existing models are often tightly coupled with various time-series-specific designs, making it difficult to isolate the impact of the architecture itself. To address this, we propose a novel taxonomy that disentangles these designs, enabling clearer and more unified comparisons of Transformer architectures. Our taxonomy considers key aspects such as attention mechanisms, forecasting aggregations, forecasting paradigms, and normalization layers. Through extensive experiments, we uncover several key insights: bi-directional attention with joint-attention is most effective; more complete forecasting aggregation improves performance; and the direct-mapping paradigm outperforms autoregressive approaches. Furthermore, our combined model, utilizing optimal architectural choices, consistently outperforms several existing models, reinforcing the validity of our conclusions. We hope these findings offer valuable guidance for future research on Transformer architectural designs in LTSF. Our code is available at https://github.com/HALF111/TSF_architecture.

View on arXivView PDF

Code Implementations(1)

Official repository for paper "The Power of Architecture: Deep Dive into Transformer Architectures for Long-Term Time Series Forecasting"

152Shell, PythonApr 30, 202411 months ago

Similar Papers

Cite this paper

@article{shen2025power,
  title  = {The Power of Architecture: Deep Dive into Transformer Architectures for Long-Term Time Series Forecasting},
  author = {Lefei Shen and Mouxiang Chen and Han Fu and Xiaoxue Ren and Xiaoyun Joy Wang and Jianling Sun and Zhuo Li and Chenghao Liu},
  year   = {2025},
  eprint = {2507.13043},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.13043v1}
}

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/2507.13043.svg)](https://codeofpaper.com/paper/2507.13043)

Discussion