PMDformer: Patch-Mean Decoupling Information Transformer for Long-term Forecasting

Ao Hu, Liangjian Wen, Jiang Duan, Yong Dai, Yan He, Dongkai Wang, Jun Wang, Yukun Zhang, Ruoxi Jiang, Zenglin Xu

The Challenge of Scale in Time-Series Forecasting

Long-term time series forecasting (LTSF) is notoriously difficult because real-world data is often "non-stationary"—its mean and variance shift over time. Modern Transformer-based models typically break sequences into "patches" to capture local patterns and long-range dependencies. However, this introduces a critical flaw: if Patch A has values fluctuating around 10 and Patch B fluctuates around 100, standard attention mechanisms might fail to recognize that they share the exact same rising "shape." The massive difference in scale (the mean) dominates the attention calculation, blinding the model to structural similarities.

Existing solutions, such as Z-score normalization (subtracting the mean and dividing by the standard deviation), often backfire. By dividing by the standard deviation, these methods distort the original amplitude of the signal, making it harder for the model to identify true shape similarities. Furthermore, modeling relationships between different variables (e.g., how temperature affects electricity demand) becomes noisy when the model tries to look too far back into the past.

Effect of Patch-Mean Decoupling on Attention Weights

Introducing PMDformer

To address these limitations, the authors propose PMDformer, an architecture built on three novel pillars designed to isolate shape from scale and efficiently model cross-variable relationships.

PMDformer Architecture Diagram

1. Patch-Mean Decoupling (PMD)

Instead of complex normalization, PMDformer simply subtracts the mean from each patch. This centers every patch at zero, exposing the "residual shape" without distorting its amplitude. The paper mathematically demonstrates that when patch means are large, the attention mechanism becomes biased toward scale rather than shape. Centering the data is the "Goldilocks" zone for preserving structural information.

2. Trend Restoration Attention (TRA)

Centering patches effectively removes the long-term trend. To fix this, the Trend Restoration Attention (TRA) module explicitly injects those subtracted means back into the "Value" pathway of the attention mechanism. This allows the model to calculate attention based on pure shape similarity (using the centered queries and keys) while still "remembering" the underlying trend when generating the final forecast.

3. Proximal Variable Attention (PVA)

To model interactions between different variables, PVA restricts the model’s focus to only the most recent (proximal) patch. This rests on the intuition that recent cross-variable correlations are the most predictive, while older correlations often introduce noise and lead to overfitting. By only looking at the most recent patch for variable interactions, PMDformer reduces computational complexity from $O(C^2N)$ to $O(C^2)$ and significantly improves memory efficiency compared to models like PatchTST or iTransformer.

Key Results and Performance

PMDformer was evaluated on 8 widely recognized real-world LTSF benchmarks, including Electricity (ECL), Traffic, Weather, Solar-Energy, and four ETT subsets (ETTh1, ETTh2, ETTm1, ETTm2).

The model outperformed 9 industry-standard baselines (including PatchTST, iTransformer, and TimeMixer) on 7 out of the 8 datasets.

  • Accuracy: It achieved an average 5.68% reduction in Mean Squared Error (MSE) compared to TimeBase and an 8.62% reduction compared to TQNet.
  • Stability: The model demonstrated highly consistent performance across different prediction horizons (ranging from 96 to 720 time steps).
  • Qualitative Fit: On synthetic data tests, the model successfully captured alternating pulse and sine waves with varying scales, whereas models without PMD produced "smoothed out" or inaccurate forecasts.

Limitations and Future Work

While PMDformer sets a new standard for LTSF, the authors identify a few areas for future exploration:

  • High-Dimensional Scaling: Testing the model on extremely high-dimensional multivariate data remains a future step to fully validate its memory efficiency.
  • Multimodal Integration: The current architecture is designed for pure numerical time series. Exploring how to integrate other data types (like text or images) could enable even more context-aware forecasting.
  • Parameter Sensitivity: While focusing on the single most recent patch ($k=1$) worked best for PVA in this study, the optimal "lookback" window for cross-variable attention might vary depending on specific industrial applications.

Summary updated

BibTeX
@inproceedings{hu2026pmdformer,
  author = {Ao Hu and Liangjian Wen and Jiang Duan and Yong Dai and YAN HE and Dongkai Wang and Jun Wang and Yukun Zhang and Ruoxi Jiang and Zenglin Xu},
  title = {{PMDformer: Patch-Mean Decoupling Information Transformer for Long-term Forecasting}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=rfJ41gK9Ct},
}
Figure