HPMixer: Hierarchical Patching for Multivariate Time Series Forecasting

Jung Min Choi, Vijaya Krishna Yalavarthi, Lars Schmidt-Thieme

TL;DR

HPMixer is a novel multivariate time series forecasting framework that cleanly decouples the learning of periodic patterns from residual dynamics. By combining an MLP-enhanced learnable cycle module with a Learnable Stationary Wavelet Transform (LSWT) and a two-level hierarchical patching mechanism, it achieves state-of-the-art accuracy while maintaining high practical training efficiency.

What Problem Does This Paper Address?

Long-term multivariate time series (MTS) forecasting is challenging because real-world data contains a complex mix of highly predictable periodic patterns (like daily or weekly cycles) and irregular residuals (such as long-term trends, sudden structural shifts, and noise).

While recent architectures excel at capturing explicit cycles, they often treat channels independently and struggle when periodic signals are weak or vary drastically across different variables. Conversely, purely residual-focused models can miss the strong predictive signals provided by explicit periodicity. HPMixer addresses this gap by cleanly separating periodicity and residual modeling into distinct, optimized branches, ensuring that complex inter-channel dependencies and multi-scale temporal dynamics are fully captured without interfering with each other.

Methods

HPMixer splits the forecasting task into two parallel branches:

  1. Periodicity Branch: This branch builds upon the recurrent cycle module from CycleNet but enhances it with a non-linear channel-wise MLP. This addition allows the model to refine periodic representations across different channels, making it far better at handling heterogeneous or weak periodicities.
  2. Residual Branch:
  3. Learnable Stationary Wavelet Transform (LSWT): Decomposes the residual signal into stable, shift-invariant frequency-domain representations. Unlike the standard Discrete Wavelet Transform (DWT), LSWT avoids downsampling, preserving temporal resolution and preventing information loss.
  4. Channel-Mixing Encoder: A Transformer-inspired block that explicitly captures cross-channel dependencies before fine-scale temporal processing.
  5. Hierarchical Non-Overlapping Patching: Instead of using computationally heavy overlapping patches, HPMixer introduces a two-level non-overlapping strategy (coarse and fine patching) to efficiently capture both localized short-range variations and long-range temporal context.

Finally, the features from the residual branch are reconstructed back to the time domain via an Inverse SWT (ISWT) and combined with the periodic branch's output to produce the final forecast.

An overview of the proposed model HPMixer architecture.

Datasets

The model was evaluated on seven standard, widely adopted MTS benchmarks:

  • ETT (ETTh1, ETTh2, ETTm1, ETTm2): Electricity Transformer Temperature datasets collected at hourly and 15-minute granularities.
  • Weather: 21 meteorological indicators (temperature, humidity, etc.) from a weather station in Germany.
  • Electricity (ECL): Hourly electricity consumption data for 321 clients.
  • Traffic: Hourly road occupancy rates measured by 862 sensors on San Francisco Bay Area freeways.

No new benchmarks were introduced in this paper.

Key Insights and Ideas

  • Heterogeneous Periodicity is Real: Autocorrelation (ACF) analysis reveals that different channels within the same dataset often exhibit vastly different periodic strengths. A uniform, rigid cycle module fails in these scenarios; adding a channel-mixing MLP provides the expressiveness needed to accommodate weak or irregular periodicities.
  • The Power of Shift-Invariance: Traditional wavelets suffer from downsampling artifacts where a tiny shift in the input signal completely changes the resulting coefficients. Utilizing a learnable LSWT ensures shift-invariance and allows the model to adaptively learn task-specific low-pass and high-pass filters for superior denoising.
  • Rethinking Non-Overlapping Patches: While recent literature favors overlapping patches to avoid boundary information loss, HPMixer demonstrates that a hierarchical non-overlapping approach drastically reduces computational redundancy while still capturing multi-scale dynamics effectively.

Key Results

  • State-of-the-Art Accuracy: HPMixer achieved the highest "Win Count" across the 7 datasets and 4 forecasting horizons (96, 192, 336, and 720 steps), securing 23 first-place scores for Mean Squared Error (MSE) and 21 for Mean Absolute Error (MAE) against top baselines like PatchTST, TimeMixer, and iTransformer.
  • Error Reduction: On the ETTm1 dataset, HPMixer improved the average MSE by 4.46% compared to SimpleTM and 3.96% compared to CycleNet.
  • Counterintuitive Efficiency: Despite having a higher parameter count and theoretical complexity (GFLOPs) due to its multi-branch design, HPMixer actually trained significantly faster (lower seconds per iteration) than SimpleTM in practical execution because its hierarchical patching and channel-mixing mechanisms are highly parallelizable.

Limitations and Future Work

  • Fixed Cycle Lengths: The model relies on a predetermined cycle length calculated via a prior autocorrelation function (ACF) analysis. This limits its adaptability to highly irregular or shifting periodicities over time.
  • High-Dimensional Scaling: Performance gains slightly diminished on massively high-dimensional datasets like Traffic (862 channels), suggesting that the current channel-mixing mechanism may struggle to scale to highly complex, large-scale cross-channel dependencies.
  • Future Directions: The authors plan to explore fully adaptive, learnable cycle lengths and more scalable cross-channel modeling frameworks to better handle ultra-high-dimensional environments.

Summary updated

BibTeX
@inproceedings{choi2026hpmixer,
  author = {Jung Min Choi and Vijaya Krishna Yalavarthi and Lars Schmidt-Thieme},
  title = {{HPMixer: Hierarchical Patching for Multivariate Time Series Forecasting}},
  booktitle = {PAKDD},
  year = {2026},
  doi = {10.1007/978-981-92-1465-5\_4},
}
Figure