HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

Zeying Gong Yujin Tang Junwei Liang

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

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.

Code Repositories

hughxx/tsf-new-paper-taste
pytorch
Mentioned in GitHub
Zeying-Gong/PatchMixer
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
time-series-forecasting-on-etth1-192-1PatchMixer
MAE: 0.394
MSE: 0.373
time-series-forecasting-on-etth1-192-2PatchMixer
MAE: 0.198
MSE: 0.066
time-series-forecasting-on-etth1-336-1PatchMixer
MAE: 0.414
MSE: 0.392
time-series-forecasting-on-etth1-336-2PatchMixer
MAE: 0.220
MSE: 0.078
time-series-forecasting-on-etth1-720-1PatchMixer
MAE: 0.463
MSE: 0.445
time-series-forecasting-on-etth1-720-2PatchMixer
MAE: 0.243
MSE: 0.093
time-series-forecasting-on-etth1-96-1PatchMixer
MAE: 0.381
MSE: 0.353
time-series-forecasting-on-etth1-96-2PatchMixer
MAE: 0.179
MSE: 0.054
time-series-forecasting-on-etth2-192-1PatchMixer
MAE: 0.334
MSE: 0.274
time-series-forecasting-on-etth2-192-2PatchMixer
MAE: 0.305
MSE: 0.147
time-series-forecasting-on-etth2-336-1PatchMixer
MAE: 0.368
MSE: 0.317
time-series-forecasting-on-etth2-336-2PatchMixer
MAE: 0.332
MSE: 0.166
time-series-forecasting-on-etth2-720-1PatchMixer
MAE: 0.426
MSE: 0.393
time-series-forecasting-on-etth2-720-2PatchMixer
MAE: 0.374
MSE: 0.217
time-series-forecasting-on-etth2-96-1PatchMixer
MAE: 0.3
MSE: 0.225
time-series-forecasting-on-etth2-96-2PatchMixer
MAE: 0.268
MSE: 0.119

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp