PatchMixer: A Patch-Mixing Architecture for Long-Term Time Series Forecasting

Zeying Gong, Yujin Tang, Junwei Liang
10/1/2023
cs.LG

Official code: Zeying-Gong/PatchMixer (209 stars, MIT, last commit 2024-06-27).

Abstract

Although the Transformer has been the dominant architecture for time series forecasting tasks in recent years, a fundamental challenge remains: the permutation-invariant self-attention mechanism within Transformers leads to a loss of temporal information. To tackle these challenges, we propose PatchMixer, a novel CNN-based model. It introduces a permutation-variant convolutional structure to preserve temporal information. Diverging from conventional CNNs in this field, which often employ multiple scales or numerous branches, our method relies exclusively on depthwise separable convolutions. This allows us to extract both local features and global correlations using a single-scale architecture. Furthermore, we employ dual forecasting heads encompassing linear and nonlinear components to better model future curve trends and details. Our experimental results on seven time-series forecasting benchmarks indicate that compared with the state-of-the-art method and the best-performing CNN, PatchMixer yields $3.9\%$ and $21.2\%$ relative improvements, respectively, while being 2-3x faster than the most advanced method.

View on arXivView PDF

Code Implementations(1)

MIT

About Code release for "PatchMixer: A Patch-Mixing Architecture for Long-Term Time Series Forecasting"

20915Shell, PythonOct 8, 20232 years agoMIT

Similar Papers

Cite this paper

@article{gong2023patchmixer,
  title  = {PatchMixer: A Patch-Mixing Architecture for Long-Term Time Series Forecasting},
  author = {Zeying Gong and Yujin Tang and Junwei Liang},
  year   = {2023},
  eprint = {2310.00655},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.00655v2}
}

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

Discussion