HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

xPatch: Dual-Stream Time Series Forecasting with Exponential Seasonal-Trend Decomposition

Artyom Stitsyuk Jaesik Choi

xPatch: Dual-Stream Time Series Forecasting with Exponential Seasonal-Trend Decomposition

Abstract

In recent years, the application of transformer-based models in time-series forecasting has received significant attention. While often demonstrating promising results, the transformer architecture encounters challenges in fully exploiting the temporal relations within time series data due to its attention mechanism. In this work, we design eXponential Patch (xPatch for short), a novel dual-stream architecture that utilizes exponential decomposition. Inspired by the classical exponential smoothing approaches, xPatch introduces the innovative seasonal-trend exponential decomposition module. Additionally, we propose a dual-flow architecture that consists of an MLP-based linear stream and a CNN-based non-linear stream. This model investigates the benefits of employing patching and channel-independence techniques within a non-transformer model. Finally, we develop a robust arctangent loss function and a sigmoid learning rate adjustment scheme, which prevent overfitting and boost forecasting performance. The code is available at the following repository: https://github.com/stitsyuk/xPatch.

Code Repositories

stitsyuk/xpatch
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
time-series-forecasting-on-electricity-192xPatch
MAE: 0.232
MSE: 0.140
time-series-forecasting-on-electricity-336xPatch
MAE: 0.249
MSE: 0.156
time-series-forecasting-on-electricity-720xPatch
MAE: 0.281
MSE: 0.190
time-series-forecasting-on-electricity-96xPatch
MAE: 0.217
MSE: 0.126
time-series-forecasting-on-etth1-192-1xPatch
MAE: 0.395
MSE: 0.376
time-series-forecasting-on-etth1-336-1xPatch
MAE: 0.415
MSE: 0.391
time-series-forecasting-on-etth1-720-1xPatch
MAE: 0.459
MSE: 0.442
time-series-forecasting-on-etth1-96-1xPatch
MAE: 0.379
MSE: 0.354
time-series-forecasting-on-etth2-192-1xPatch
MAE: 0.330
MSE: 0.275
time-series-forecasting-on-etth2-336-1xPatch
MAE: 0.360
MSE: 0.312
time-series-forecasting-on-etth2-720-1xPatch
MAE: 0.418
MSE: 0.384
time-series-forecasting-on-etth2-96-1xPatch
MAE: 0.297
MSE: 0.226
time-series-forecasting-on-ettm1-192-1xPatch
Accuracy: 0.355
MSE: 0.315
time-series-forecasting-on-ettm1-336-1xPatch
MAE: 0.376
MSE: 0.355
time-series-forecasting-on-ettm1-720-1xPatch
MAE: 0.411
MSE: 0.419
time-series-forecasting-on-ettm1-96-1xPatch
MAE: 0.330
MSE: 0.275
time-series-forecasting-on-ettm2-192-1xPatch
MAE: 0.280
MSE: 0.213
time-series-forecasting-on-ettm2-336-1xPatch
MAE: 0.315
MSE: 0.264
time-series-forecasting-on-ettm2-720-1xPatch
MAE: 0.363
MSE: 0.338
time-series-forecasting-on-ettm2-96-1xPatch
MAE: 0.240
MSE: 0.153
time-series-forecasting-on-exchange-192-1xPatch
MAE: 0.298
MSE: 0.178
time-series-forecasting-on-exchange-336-1xPatch
MAE: 0.418
MSE: 0.339
time-series-forecasting-on-exchange-720-1xPatch
MAE: 0.701
MSE: 0.867
time-series-forecasting-on-exchange-96-1xPatch
MAE: 0.197
MSE: 0.081
time-series-forecasting-on-illness-24-1xPatch
MAE: 0.638
MSE: 1.188
time-series-forecasting-on-illness-36-1xPatch
MAE: 0.653
MSE: 1.226
time-series-forecasting-on-illness-48-1xPatch
MAE: 0.686
MSE: 1.254
time-series-forecasting-on-illness-60-1xPatch
Accuracy: 0.773
MSE: 1.455
time-series-forecasting-on-solar-192-1xPatch
MAE: 0.216
MSE: 0.193
time-series-forecasting-on-solar-336-1xPatch
MAE: 0.224
MSE: 0.196
time-series-forecasting-on-solar-720-1xPatch
MAE: 0.219
MSE: 0.212
time-series-forecasting-on-solar-96-1xPatch
MAE: 0.197
MSE: 0.173
time-series-forecasting-on-traffic-192xPatch
MAE: 0.241
MSE: 0.377
time-series-forecasting-on-traffic-336xPatch
MAE: 0.243
MSE: 0.388
time-series-forecasting-on-traffic-720xPatch
MAE: 0.273
MSE: 0.437
time-series-forecasting-on-traffic-96xPatch
MAE: 0.233
MSE: 0.364
time-series-forecasting-on-weather-192xPatch
MAE: 0.227
MSE: 0.189
time-series-forecasting-on-weather-336xPatch
MAE: 0.260
MSE: 0.218
time-series-forecasting-on-weather-720xPatch
MAE: 0.315
MSE: 0.291
time-series-forecasting-on-weather-96xPatch
MAE: 0.185
MSE: 0.146

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
xPatch: Dual-Stream Time Series Forecasting with Exponential Seasonal-Trend Decomposition | Papers | HyperAI