Pathformer: Multi-scale Transformers with Adaptive Pathways for Time Series Forecasting

Peng Chen, Yingying Zhang, Yunyao Cheng, Yang Shu, Yihang Wang +3 more
2/12/2026

No official code found. Best implementation: decisionintelligence/pathformer (270 stars, last commit 2024-08-14). 1 more below.

Abstract

Transformers for time series forecasting mainly model time series from limited or fixed scales, making it challenging to capture different characteristics spanning various scales. We propose Pathformer, a multi-scale Transformer with adaptive pathways. It integrates both temporal resolution and temporal distance for multi-scale modeling. Multi-scale division divides the time series into different temporal resolutions using patches of various sizes. Based on the division of each scale, dual attention is performed over these patches to capture global correlations and local details as temporal dependencies. We further enrich the multi-scale Transformer with adaptive pathways, which adaptively adjust the multi-scale modeling process based on the varying temporal dynamics of the input, improving the accuracy and generalization of Pathformer. Extensive experiments on eleven real-world datasets demonstrate that Pathformer not only achieves state-of-the-art performance by surpassing all current models but also exhibits stronger generalization abilities under various transfer scenarios. The code is made available at https://github.com/decisionintelligence/pathformer.

View on arXivView PDF

Code Implementations(2)

27027Shell, PythonMar 4, 20242 years ago

Pathformer: Multi-scale Transformers with Adaptive Pathways for Time Series Forecasting

20Shell, PythonApr 30, 20251 years ago

Similar Papers

Cite this paper

@article{chen2026pathformer,
  title  = {Pathformer: Multi-scale Transformers with Adaptive Pathways for Time Series Forecasting},
  author = {Peng Chen and Yingying Zhang and Yunyao Cheng and Yang Shu and Yihang Wang and Qingsong Wen and Bin Yang and Chenjuan Guo},
  year   = {2026},
  eprint = {2402.05956},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.05956},
  journal = {ICLR 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/2402.05956.svg)](https://codeofpaper.com/paper/2402.05956)

Discussion