HPMixer: Hierarchical Patching for Multivariate Time Series Forecasting
Organizations: ISMLL, University of Hildesheim
Abstract
In long-term multivariate time series forecasting, effectively capturing both periodic patterns and residual dynamics is essential. To address this within standard deep learning benchmark settings, we propose the Hierarchical Patching Mixer (HPMixer), which models periodicity and residuals in a decoupled yet complementary manner. The periodic component utilizes a learnable cycle module [7] enhanced with a nonlinear channel-wise MLP for greater expressiveness. The residual component is processed through a Learnable Stationary Wavelet Transform (LSWT) to extract stable, shift-invariant frequency-domain representations. Subsequently, a channel-mixing encoder models explicit inter-channel dependencies, while a two-level non-overlapping hierarchical patching mechanism captures coarse- and fine-scale residual variations. By integrating decoupled periodicity modeling with structured, multi-scale residual learning, HPMixer provides an effective framework. Extensive experiments on standard multivariate benchmarks demonstrate that HPMixer achieves competitive or state-of-the-art performance compared to recent baselines.
Figures & tables
| Model | ETTm1 | ETTh1 | Weather | ECL | ||||
|---|---|---|---|---|---|---|---|---|
| MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | |
| w/o MLP in Mixing Cycle Module | 0.365 | 0.388 | 0.442 | 0.438 | 0.248 | 0.275 | 0.166 | 0.262 |
| w/o Mixing Cycle Module | 0.406 | 0.414 | 0.437 | 0.434 | 0.247 | 0.277 | 0.184 | 0.278 |
| w/o trainable SWT | 0.417 | 0.421 | 0.426 | 0.431 | 0.247 | 0.277 | 0.162 | 0.258 |
| w/o SWT | 0.439 | 0.43 | 0.455 | 0.447 | 0.247 | 0.276 | 0.163 | 0.26 |
| One-level Patching | 0.39 | 0.402 | 0.439 | 0.44 | 0.247 | 0.276 | 0.164 | 0.262 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Statistics | Dataset Split | |
|---|---|---|---|
| ( ) | |||
| ETTh1 [ 21 ] | 7 | 17,420 | (8,545, 2,881, 2,881) |
| ETTh2 [ 21 ] | 7 | 17,420 | (8,545, 2,881, 2,881) |
| ETTm1 [ 21 ] | 7 | 69,680 | (34,465, 11,521, 11,521) |
| ETTm2 [ 21 ] | 7 | 69,680 | (34,465, 11,521, 11,521) |
| Weather [ 17 ] | 21 | 52,696 | (36,792, 5,271, 10,540) |
| Hyperparameter | Search Space / Values |
|---|---|
| Learning Rate | Float (Log-scale) |
| Dropout | Float |
| Encoder Layers ( ) | Integer |
| FC Dropout |
| Dataset | Model | MSE | Total Params | GFLOPs | Speed (s/iter) |
|---|---|---|---|---|---|
| Weather | HPMixer (Ours) | 0.154 | 172,172 | 0.1741 | 0.1364 |
| SimpleTM | 0.162 | 14,880 | 0.0099 | 0.2424 | |
| ETTm1 | HPMixer (Ours) | 0.305 | 5,324,504 | 0.9802 | 0.2488 |
| SimpleTM | 0.321 | 1,700,576 | 0.7611 | 0.4210 |
Multivariate Time Series Forecasting
Multivariate time series forecasting predicts future values across related variables by learning their temporal and cross-variable dependencies.
See all 289 papers