Lune

AAAI2023Top-tier venue

Are Transformers Effective for Time Series Forecasting?

Ailing Zeng, Muxi Chen, Lei Zhang, Qiang Xu

Abstract

Recently, there has been a surge of Transformer-based solutions for the long-term time series forecasting (LTSF) task. Despite the growing performance over the past few years, we question the validity of this line of research in this work. Specifically, Transformers is arguably the most successful solution to extract the semantic correlations among the elements in a long sequence. However, in time series modeling, we are to extract the temporal relations in an ordered set of continuous points. While employing positional encoding and using tokens to embed sub-series in Transformers facilitate preserving some ordering information, the nature of the permutation-invariant self-attention mechanism inevitably results in temporal information loss. To validate our claim, we introduce a set of embarrassingly simple one-layer linear models named LTSF-Linear for comparison. Experimental results on nine real-life datasets show that LTSF-Linear surprisingly outperforms existing sophisticated Transformer-based LTSF models in all cases, and often by a large margin. Moreover, we conduct comprehensive empirical studies to explore the impacts of various design elements of LTSF models on their temporal relation extraction capability. We hope this surprising finding opens up new research directions for the LTSF task. We also advocate revisiting the validity of Transformer-based solutions for other time series analysis tasks (e.g., anomaly detection) in the future. Code is available at: https://github.com/cure-lab/LTSF-Linear .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

463 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
  • Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Pyraformer: Low-Complexity Pyramidal Attention for Long-Range Time Series Modeling and Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
  • Large Language Models Are Zero-Shot Time Series Forecasters cites FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
  • Large Language Models Are Zero-Shot Time Series Forecasters cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
  • Large Language Models Are Zero-Shot Time Series Forecasters cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
  • Large Language Models Are Zero-Shot Time Series Forecasters cites One Fits All: Power General Time Series Analysis by Pretrained LM
  • Time-LLM: Time Series Forecasting by Reprogramming Large Language Models cites FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
  • Time-LLM: Time Series Forecasting by Reprogramming Large Language Models cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
  • Time-LLM: Time Series Forecasting by Reprogramming Large Language Models cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
  • Time-LLM: Time Series Forecasting by Reprogramming Large Language Models cites Large Language Models Are Zero-Shot Time Series Forecasters
  • Time-LLM: Time Series Forecasting by Reprogramming Large Language Models cites One Fits All: Power General Time Series Analysis by Pretrained LM
  • iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
  • iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
  • iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
  • One Fits All: Power General Time Series Analysis by Pretrained LM cites FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
  • One Fits All: Power General Time Series Analysis by Pretrained LM cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
  • One Fits All: Power General Time Series Analysis by Pretrained LM cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
  • One Fits All: Power General Time Series Analysis by Pretrained LM cites Pyraformer: Low-Complexity Pyramidal Attention for Long-Range Time Series Modeling and Forecasting
  • TimeMixer: Decomposable Multiscale Mixing for Time Series Forecasting cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
  • TimeMixer: Decomposable Multiscale Mixing for Time Series Forecasting cites Pyraformer: Low-Complexity Pyramidal Attention for Long-Range Time Series Modeling and Forecasting
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers463

  1. iTransformer: Inverted Transformers Are Effective for Time Series ForecastingYong Liu, Tengge Hu, Haoran Zhang, Haixu Wu et al.ICLR 2024 · 1,703 citations
  2. One Fits All: Power General Time Series Analysis by Pretrained LMTian Zhou, Peisong Niu, Xue Wang, Liang Sun et al.NeurIPS 2023 · 1,178 citations
  3. Time-LLM: Time Series Forecasting by Reprogramming Large Language ModelsMing Jin, Shiyu Wang, Lintao Ma, Zhixuan Chu et al.ICLR 2024 · 915 citations
  4. Large Language Models Are Zero-Shot Time Series ForecastersNate Gruver, Marc Finzi, Shikai Qiu, Andrew Gordon WilsonNeurIPS 2023 · 898 citations
  5. TimeMixer: Decomposable Multiscale Mixing for Time Series ForecastingShiyu Wang, Haixu Wu, Xiaoming Shi, Tengge Hu et al.ICLR 2024 · 573 citations

Builds on6

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. Informer: Beyond Efficient Transformer for Long Sequence Time-Series ForecastingHaoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang et al.AAAI 2021 · 7,289 citations
  3. Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series ForecastingHaixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng LongNeurIPS 2021 · 5,824 citations
  4. FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series ForecastingTian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang et al.ICML 2022 · 2,912 citations
  5. Pyraformer: Low-Complexity Pyramidal Attention for Long-Range Time Series Modeling and ForecastingShizhan Liu, Hang Yu, Cong Liao, Jianguo Li et al.ICLR 2022 · 975 citations

Related papers

  1. Unlocking the Power of Patch: Patch-Based MLP for Long-Term Time Series ForecastingPeiwang Tang, Weitai ZhangAAAI 2025 · 42 citations
  2. InParformer: Evolutionary Decomposition Transformers with Interactive Parallel Attention for Long-Term Time Series ForecastingHaizhou Cao, Zhenhao Huang, Tiechui Yao, Jue Wang et al.AAAI 2023 · 29 citations
  3. SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise AttentionRomain Ilbert, Ambroise Odonnat, Vasilii Feofanov, Aladin Virmaux et al.ICML 2024 · 62 citations
  4. Understanding Why Large Language Models Can Be Ineffective in Time Series Analysis: The Impact of Modality AlignmentLiangwei Nathan Zheng, Chang George Dong, Wei Emma Zhang, Lin Yue et al.KDD 2025 · 1 citation
  5. Are Self-Attentions Effective for Time Series Forecasting?Dongbin Kim, Jinseong Park, Jaewook Lee, Hoki KimNeurIPS 2024 · 48 citations
Dusk over the sea between two cliffs drawn in fine vertical lines